Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetPublicKey ¶
GetPublicKey returns the public key associated with the given WIF in the 33-byte compressed format.
Types ¶
type PrivateKey ¶
func (*PrivateKey) FromByte ¶
func (p *PrivateKey) FromByte(raw []byte) (err error)
func (*PrivateKey) FromWif ¶
func (p *PrivateKey) FromWif(wif string) (err error)
Get a raw private key (32 bytes) from WIF.
func (*PrivateKey) ToByte ¶
func (p *PrivateKey) ToByte() []byte
func (*PrivateKey) ToPubKeyStr ¶
func (p *PrivateKey) ToPubKeyStr() string
func (*PrivateKey) ToWif ¶
func (p *PrivateKey) ToWif() string
Click to show internal directories.
Click to hide internal directories.