Documentation ¶
Index ¶
- func FromWIF(WIF string) (*btcutil.WIF, error)
- func NewPublicKeyFromWIF(wif btcutil.WIF, net *chaincfg.Params, compressed bool) (*btcutil.AddressPubKey, error)
- func NewWIF(net *chaincfg.Params) (*btcutil.WIF, error)
- func Reee(net *chaincfg.Params)
- func WIFToBech32(wif *btcutil.WIF, hrp string) string
- func WIFToSegwit(wif *btcutil.WIF, net *chaincfg.Params) (*btcutil.AddressScriptHash, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewPublicKeyFromWIF ¶
func NewPublicKeyFromWIF(wif btcutil.WIF, net *chaincfg.Params, compressed bool) (*btcutil.AddressPubKey, error)
create a new public key from a WIF private key
func WIFToBech32 ¶
convert a WIF private key to a Bech32 address (Viacoin only, untested on other coins)
func WIFToSegwit ¶
convert a WIF private key to a segwit address
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.