Versions in this module Expand all Collapse all v1 v1.7.0 Mar 25, 2021 Changes in this version + type EthKeyStore interface + Accounts func() []common.Address + AddPath func(keystorePath string) error + Paths func() []string + PersonalSignFn func(account common.Address, password string) (PersonalSignFn, error) + PrivateKey func(account common.Address, password string) (*ecdsa.PrivateKey, error) + RemovePath func(keystorePath string) + SignerFn func(chainID uint64, account common.Address, password string) (SignerFn, error) + UnsetKey func(account common.Address, password string) + func New(paths ...string) (EthKeyStore, error) + type KeyCache interface + PersonalSignFn func(account common.Address, password string) (PersonalSignFn, error) + PrivateKey func(account common.Address, password string) (*ecdsa.PrivateKey, error) + SetPath func(account common.Address, path string) (existing bool) + SetPrivateKey func(account common.Address, pk *ecdsa.PrivateKey) + SignerFn func(chainID uint64, account common.Address, password string) (SignerFn, error) + UnsetKey func(account common.Address, password string) + UnsetPath func(account common.Address) + func NewKeyCache() KeyCache + type PersonalSignFn func(account common.Address, data []byte) (sig []byte, err error) + func PrivateKeyPersonalSignFn(privKey *ecdsa.PrivateKey) (PersonalSignFn, error) + type SignerFn = bind.SignerFn + type WalletSpec struct + Address string + ID string + Path string + Version int + func (spec *WalletSpec) AddressFromHex() common.Address