Versions in this module Expand all Collapse all v0 v0.1.0 Jun 19, 2023 Changes in this version + func NewCreateAccountCmd(option common.Options) *cobra.Command + func NewDeleteAccountCmd(option common.Options) *cobra.Command + func NewGetAccountCmd(option common.Options) *cobra.Command + type Account struct + Address string + PrivateKey []byte + func NewAccount() (*Account, error) + func (account *Account) GenerateAndSignMessage(nonce uint64, args ...string) (string, error) + type AccountPrinter string + func (a AccountPrinter) GetByHeader(h string) string + type IWallet interface + DeleteAccounts func(...string) error + GetAccount func(string) (*Account, error) + ListAccounts func() ([]string, error) + StoreAccount func(*Account) error + type LocalWallet struct + func NewLocalWallet(home string) (LocalWallet, error) + func (localWallet *LocalWallet) DeleteAccounts(accAddrs ...string) error + func (localWallet *LocalWallet) GetAccount(accAddr string) (*Account, error) + func (localWallet *LocalWallet) ListAccounts() ([]string, error) + func (localWallet *LocalWallet) StoreAccount(account *Account) error