Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EthKeyStore ¶
type EthKeyStore interface { PrivateKey(account common.Address, password string) (key *ecdsa.PrivateKey, ok bool) SignerFn(account common.Address, password string) bind.SignerFn UnsetKey(account common.Address, password string) Accounts() []common.Address AddPath(keybase string) error RemovePath(keybase string) Paths() []string }
func New ¶
func New(paths ...string) (EthKeyStore, error)
type WalletSpec ¶
type WalletSpec struct { Address string `json:"address"` ID string `json:"id"` Version int `json:"version"` Path string `json:"-"` }
func (*WalletSpec) HexToAddress ¶
func (spec *WalletSpec) HexToAddress() common.Address
Click to show internal directories.
Click to hide internal directories.