Documentation ¶
Index ¶
- type LedgerKeyInfo
- type LedgerWallet
- func (lw *LedgerWallet) Get() api.Wallet
- func (lw LedgerWallet) WalletDelete(ctx context.Context, k address.Address) error
- func (lw LedgerWallet) WalletExport(ctx context.Context, k address.Address) (*types.KeyInfo, error)
- func (lw LedgerWallet) WalletHas(ctx context.Context, k address.Address) (bool, error)
- func (lw LedgerWallet) WalletImport(ctx context.Context, kinfo *types.KeyInfo) (address.Address, error)
- func (lw LedgerWallet) WalletList(ctx context.Context) ([]address.Address, error)
- func (lw LedgerWallet) WalletNew(ctx context.Context, t types.KeyType) (address.Address, error)
- func (lw LedgerWallet) WalletSign(ctx context.Context, signer address.Address, toSign []byte, meta api.MsgMeta) (*crypto.Signature, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LedgerKeyInfo ¶
type LedgerKeyInfo struct { Address address.Address Path []uint32 }
type LedgerWallet ¶
type LedgerWallet struct {
// contains filtered or unexported fields
}
func NewWallet ¶
func NewWallet(ds dtypes.MetadataDS) *LedgerWallet
func (*LedgerWallet) Get ¶
func (lw *LedgerWallet) Get() api.Wallet
func (LedgerWallet) WalletDelete ¶
func (lw LedgerWallet) WalletDelete(ctx context.Context, k address.Address) error
func (LedgerWallet) WalletExport ¶
func (LedgerWallet) WalletHas ¶
func (lw LedgerWallet) WalletHas(ctx context.Context, k address.Address) (bool, error)
func (LedgerWallet) WalletImport ¶
func (LedgerWallet) WalletList ¶
func (lw LedgerWallet) WalletList(ctx context.Context) ([]address.Address, error)
Click to show internal directories.
Click to hide internal directories.