Documentation ¶
Overview ¶
Package nd is a non-deterministic wallet, where each key is created from random bytes.
Package nd is a non-deterministic wallet, where each key is created from random bytes.
Index ¶
- func CreateWallet(ctx context.Context, name string, store e2wtypes.Store, ...) (e2wtypes.Wallet, error)
- func DeserializeWallet(ctx context.Context, data []byte, store e2wtypes.Store, ...) (e2wtypes.Wallet, error)
- func Import(ctx context.Context, encryptedData []byte, passphrase []byte, ...) (e2wtypes.Wallet, error)
- func OpenWallet(ctx context.Context, name string, store e2wtypes.Store, ...) (e2wtypes.Wallet, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateWallet ¶
func CreateWallet(ctx context.Context, name string, store e2wtypes.Store, encryptor e2wtypes.Encryptor) (e2wtypes.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 DeserializeWallet ¶
func DeserializeWallet(ctx context.Context, data []byte, store e2wtypes.Store, encryptor e2wtypes.Encryptor, ) ( e2wtypes.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.