Crate wif

Crate wif 

Source
Expand description

WIF encoder and Decoder written in rust lang, guided by https://en.bitcoin.it/wiki/Wallet_import_format

Structs§

DecodedWif
EncodedWif

Functions§

decode
Takes wif and network type (“mainnet” or “testnet”) and convert to to private_key if plaintext(“hex format”)
encode
Encode private_key(in hex format) to a WIF (wallet import format)