Documentation ¶
Overview ¶
Package wallet manages simple wallet functionality That is -- creation of private & public keypairs, as well as addresses
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HashPubKey ¶
Types ¶
type Wallet ¶
type Wallet struct { PrivateKey ecdsa.PrivateKey PublicKey []byte }
func (Wallet) GetAddress ¶
type Wallets ¶
func NewWallets ¶
func (*Wallets) CreateWallet ¶
CreateWallet adds a Wallet to Wallets
func (*Wallets) GetAddresses ¶
GetAddresses returns an array of addresses stored in the wallet file
func (*Wallets) LoadFromFile ¶
Loads wallets from a file
Click to show internal directories.
Click to hide internal directories.