Documentation ¶
Index ¶
- func GenerateKeyInfoFromPriKey(priKey, keyFormat string) (*types.KeyInfo, error)
- func GenerateMnemonic(walletDB datastore.WalletDB, mType hd.MnemonicType, passwordKey []byte) error
- func GeneratePrivateKeyFromMnemonicIndex(walletDB datastore.WalletDB, mnemonic string, index int64, passwordKey []byte) ([]key.Key, error)
- func GetPrivateKey(walletDB datastore.WalletDB, addr string, passwordKey []byte) (key.Key, error)
- func ImportMnemonic(walletDB datastore.WalletDB, mnemonic string, passwordKey []byte) error
- func ImportPrivateKey(walletDB datastore.WalletDB, priKey, keyFormat string, passwordKey []byte) error
- func LoadMnemonic(walletDB datastore.WalletDB, passwordKey []byte) (string, error)
- func LoadPrivateKeys(walletDB datastore.WalletDB, passwordKey []byte) ([]key.Key, error)
- func UpdateMnemonic(walletDB datastore.WalletDB, oldPasswordKey, newPasswordKey []byte) error
- func UpdatePrivateKey(walletDB datastore.WalletDB, oldPasswordKey, newPasswordKey []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateMnemonic ¶
func GetPrivateKey ¶
func ImportMnemonic ¶
func ImportPrivateKey ¶
func LoadMnemonic ¶
func LoadPrivateKeys ¶
func UpdateMnemonic ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.