wallet

package
v0.0.0-...-8791696 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 28, 2021 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthorizedWallet

type AuthorizedWallet struct {
	// contains filtered or unexported fields
}

func NewAuthorizedWallet

func NewAuthorizedWallet(w lapi.Wallet) *AuthorizedWallet

func (*AuthorizedWallet) WalletDelete

func (w *AuthorizedWallet) WalletDelete(_ context.Context, _ address.Address) error

func (*AuthorizedWallet) WalletExport

func (w *AuthorizedWallet) WalletExport(_ context.Context, _ address.Address) (*types.KeyInfo, error)

func (*AuthorizedWallet) WalletHas

func (w *AuthorizedWallet) WalletHas(ctx context.Context, addr address.Address) (bool, error)

func (*AuthorizedWallet) WalletImport

func (w *AuthorizedWallet) WalletImport(_ context.Context, _ *types.KeyInfo) (address.Address, error)

func (*AuthorizedWallet) WalletList

func (w *AuthorizedWallet) WalletList(ctx context.Context) ([]address.Address, error)

func (*AuthorizedWallet) WalletNew

func (w *AuthorizedWallet) WalletNew(_ context.Context, _ types.KeyType) (address.Address, error)

func (*AuthorizedWallet) WalletSign

func (w *AuthorizedWallet) WalletSign(ctx context.Context, signer address.Address, toSign []byte, meta lapi.MsgMeta) (*crypto.Signature, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL