eth

package
v0.0.0-...-4abd30d Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetMainnetGenesisBlock

func GetMainnetGenesisBlock() *core.Genesis

func GetTestnetGenesisBlock

func GetTestnetGenesisBlock() *core.Genesis

func InitializeKeystore

func InitializeKeystore(datadir string, accountJSON string, accountPass string) (*keystore.KeyStore, error)

InitializeKeystore imports, creates or opens the keystore and unlock the first account If no account is found in the keystore, one is created.

Types

type NetworkConfiguration

type NetworkConfiguration struct {
	NetworkID               uint64
	NetworkName             string
	ContractAddress         common.Address
	MultisigContractAddress common.Address
}

NetworkConfiguration defines the Ethereum network specific configuration needed by the bridge

func GetEthNetworkConfiguration

func GetEthNetworkConfiguration(networkname string) (networkconfig NetworkConfiguration, err error)

GetEthNetworkConfiguration returns the EthNetworkConAfiguration for a specific network

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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