eth

package
v0.54.1-nocontractcheck Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

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.

type Wallet

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

func NewWallet

func NewWallet(w wallet) *Wallet

func (*Wallet) Algo

func (w *Wallet) Algo() string

func (*Wallet) Chain

func (w *Wallet) Chain() string

func (*Wallet) Cleanup

func (w *Wallet) Cleanup() error

func (*Wallet) Name

func (w *Wallet) Name() string

func (*Wallet) PubKey

func (w *Wallet) PubKey() crypto.PublicKey

func (*Wallet) Reload

func (w *Wallet) Reload(details registry.EthereumWalletDetails) error

func (*Wallet) Sign

func (w *Wallet) Sign(data []byte) ([]byte, error)

func (*Wallet) Version

func (w *Wallet) Version() (string, error)

Directories

Path Synopsis
mocks
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.

Jump to

Keyboard shortcuts

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