Documentation ¶
Index ¶
- func CreateWallet(ctx context.Context, name string, passphrase []byte, 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, passphrase []byte, store e2wtypes.Store, encryptor e2wtypes.Encryptor, seed []byte) (e2wtypes.Wallet, error)
CreateWallet creates a wallet with the given name from a seed and stores it in the provided store.
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.