goeth

package
v0.3.3 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2022 License: GPL-3.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewEth1Client

func NewEth1Client(opts ClientOptions) (eth1.Client, error)

NewEth1Client creates a new instance

Types

type ClientOptions

type ClientOptions struct {
	Ctx                  context.Context
	Logger               *zap.Logger
	NodeAddr             string
	RegistryContractAddr string
	ContractABI          string
	ConnectionTimeout    time.Duration

	AbiVersion eth1.Version
}

ClientOptions are the options for the client

Jump to

Keyboard shortcuts

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