goeth

package
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2021 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
	ShareEncryptionKeyProvider eth1.ShareEncryptionKeyProvider
}

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