Documentation
¶
Index ¶
- Constants
- type Key
- type LocalWallet
- func (w *LocalWallet) Has(ctx context.Context, addr common.Address) (bool, error)
- func (w *LocalWallet) Import(ctx context.Context, ki *keystore.KeyInfo) (common.Address, error)
- func (w *LocalWallet) List(ctx context.Context) ([]*Key, error)
- func (w *LocalWallet) SignTransaction(ctx context.Context, addr common.Address, signer types.Signer, ...) (*types.Transaction, error)
- type Wallet
Constants ¶
View Source
const KNamePrefix = "wallet-"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LocalWallet ¶
type LocalWallet struct {
// contains filtered or unexported fields
}
func (*LocalWallet) SignTransaction ¶
func (w *LocalWallet) SignTransaction(ctx context.Context, addr common.Address, signer types.Signer, tx *types.Transaction) (*types.Transaction, error)
Click to show internal directories.
Click to hide internal directories.