ethereum

package
v1.8.2 Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2022 License: MIT Imports: 24 Imported by: 0

Documentation

Overview

Package ethereum contains implementation of ethereum chain interface.

Index

Constants

View Source
const (
	BondedECDSAKeepFactoryContractName = "BondedECDSAKeepFactory"
	TBTCSystemContractName             = "TBTCSystem"
)

Definitions of contract names.

Variables

This section is empty.

Functions

func Connect

func Connect(
	ctx context.Context,
	accountKey *keystore.Key,
	config *ethereum.Config,
) (chain.Handle, error)

Connect performs initialization for communication with Ethereum blockchain based on provided config.

func Offline added in v1.8.0

func Offline(
	accountKey *keystore.Key,
	config *ethereum.Config,
) chain.OfflineHandle

Offline returns a chain.Handle for an offline Ethereum client. Use Connect to get a chain handle that can perform online actions.

Types

This section is empty.

Jump to

Keyboard shortcuts

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