Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GetPwdFunc ¶ added in v1.2.0
type GetPwdFunc func() string
type ILocalWallet ¶
type ILocalWallet interface { IWallet storage.IWalletLock }
func NewWallet ¶
func NewWallet(ks storage.KeyStore, mw storage.KeyMiddleware, verify strategy.ILocalStrategy, getPwd GetPwdFunc) ILocalWallet
type IWallet ¶
type IWallet interface { WalletNew(context.Context, core.KeyType) (core.Address, error) WalletHas(ctx context.Context, address core.Address) (bool, error) WalletList(ctx context.Context) ([]core.Address, error) WalletSign(ctx context.Context, signer core.Address, toSign []byte, meta core.MsgMeta) (*core.Signature, error) WalletExport(ctx context.Context, addr core.Address) (*core.KeyInfo, error) WalletImport(context.Context, *core.KeyInfo) (core.Address, error) WalletDelete(context.Context, core.Address) error }
IWallet remote wallet api
Click to show internal directories.
Click to hide internal directories.