Versions in this module Expand all Collapse all v0 v0.7.2 Apr 16, 2020 v0.7.1 Apr 9, 2020 Changes in this version + const DEFAULT_WALLET_NAME + const WALLET_ACCOUNT_INDEX_PREFIX + const WALLET_ACCOUNT_NUMBER + const WALLET_ACCOUNT_PREFIX + const WALLET_EXTRA_PREFIX + const WALLET_INIT_DATA + const WALLET_INIT_PREFIX + const WALLET_NAME_PREFIX + const WALLET_NEXT_ACCOUNT_INDEX_PREFIX + const WALLET_SCRYPT_PREFIX + const WALLET_VERSION + const WALLET_VERSION_PREFIX + func GetAccountIndexKey(index uint32) []byte + func GetAccountKey(address string) []byte + func GetNextAccountIndexKey() []byte + func GetWalletAccountNumberKey() []byte + func GetWalletExtraKey() []byte + func GetWalletInitKey() []byte + func GetWalletNameKey() []byte + func GetWalletScryptKey() []byte + func GetWalletVersionKey() []byte + type WalletStore struct + WalletExtra string + WalletName string + WalletScrypt *keypair.ScryptParam + WalletVersion string + func NewWalletStore(path string) (*WalletStore, error) + func (this *WalletStore) AddAccountData(accData *account.AccountData) (bool, error) + func (this *WalletStore) GetAccountAddress(index uint32) (string, error) + func (this *WalletStore) GetAccountByAddress(address string, passwd []byte) (*account.Account, error) + func (this *WalletStore) GetAccountDataByAddress(address string) (*account.AccountData, error) + func (this *WalletStore) GetAccountDataByIndex(index uint32) (*account.AccountData, error) + func (this *WalletStore) GetAccountNumber() (uint32, error) + func (this *WalletStore) GetNextAccountIndex() uint32 + func (this *WalletStore) IsAccountExist(address string) (bool, error) + func (this *WalletStore) NewAccountData(typeCode keypair.KeyType, curveCode byte, sigScheme s.SignatureScheme, ...) (*account.AccountData, error)