ethereum

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2023 License: AGPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Ethereum

type Ethereum struct {
	From            string `yaml:"from"`
	Keystore        string `yaml:"keystore"`
	Password        string `yaml:"password"`
	RPC             any    `yaml:"rpc"`
	Timeout         int    `yaml:"timeout"`
	GracefulTimeout int    `yaml:"gracefulTimeout"`
	MaxBlocksBehind int    `yaml:"maxBlocksBehind"`
}

func (*Ethereum) ConfigureEthereumClient

func (c *Ethereum) ConfigureEthereumClient(signer ethereum.Signer, logger log.Logger) (*geth.Client, error)

func (*Ethereum) ConfigureRPCClient

func (c *Ethereum) ConfigureRPCClient(logger log.Logger) (*rpc.Client, error)

func (*Ethereum) ConfigureSigner

func (c *Ethereum) ConfigureSigner() (ethereum.Signer, error)

Jump to

Keyboard shortcuts

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