goeth

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2023 License: GPL-3.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewEth1Client

func NewEth1Client(logger *zap.Logger, opts ClientOptions) (eth1.Client, error)

NewEth1Client creates a new instance

Types

type ClientOptions

type ClientOptions struct {
	Ctx                  context.Context
	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