Documentation ¶
Index ¶
- type Config
- type Wallet
- func (w *Wallet) Algo() string
- func (w *Wallet) Chain() string
- func (w *Wallet) Cleanup() error
- func (w *Wallet) Name() string
- func (w *Wallet) PubKey() crypto.PublicKey
- func (w *Wallet) Reload(details registry.EthereumWalletDetails) error
- func (w *Wallet) Sign(data []byte) ([]byte, error)
- func (w *Wallet) Version() (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Level encoding.LogLevel `long:"log-level"` ClefAddress string `long:"clef-address" description:"Clef address of running Clef instance. Clef wallet is used if defined"` }
func NewDefaultConfig ¶
func NewDefaultConfig() Config
NewDefaultConfig creates an instance of the package specific configuration, given a pointer to a logger instance to be used for logging within the package.
Click to show internal directories.
Click to hide internal directories.