Documentation ¶
Index ¶
- func CreateWallet(name string, passphrase []byte, store wtypes.Store, encryptor wtypes.Encryptor) (wtypes.Wallet, error)
- func CreateWalletFromSeed(name string, walletIndex uint64, passphrase []byte, store wtypes.Store, ...) (wtypes.Wallet, error)
- func DeserializeWallet(data []byte, store wtypes.Store, encryptor wtypes.Encryptor) (wtypes.Wallet, error)
- func Import(encryptedData []byte, passphrase []byte, store wtypes.Store, ...) (wtypes.Wallet, error)
- func OpenWallet(name string, store wtypes.Store, encryptor wtypes.Encryptor) (wtypes.Wallet, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateWallet ¶
func CreateWallet(name string, passphrase []byte, store wtypes.Store, encryptor wtypes.Encryptor) (wtypes.Wallet, error)
CreateWallet creates a new wallet with the given name and stores it in the provided store. This will error if the wallet already exists.
func CreateWalletFromSeed ¶
func CreateWalletFromSeed(name string, walletIndex uint64, passphrase []byte, store wtypes.Store, encryptor wtypes.Encryptor, seed []byte) (wtypes.Wallet, error)
CreateWalletFromSeed creates a wallet with the given name from a seed and stores it in the provided store.
func DeserializeWallet ¶
func DeserializeWallet(data []byte, store wtypes.Store, encryptor wtypes.Encryptor) (wtypes.Wallet, error)
DeserializeWallet deserializes a wallet from its byte-level representation
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.