ethereum

package
v0.74.1 Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2024 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WaitForNetwork

func WaitForNetwork(ctx context.Context, chainID int, ethAddress string) error

Types

type EthereumMultisigClient added in v0.3.0

type EthereumMultisigClient struct {
	// contains filtered or unexported fields
}

func NewEthereumMultisigClient added in v0.3.0

func NewEthereumMultisigClient(ctx context.Context, params EthereumMultisigClientParameters) (*EthereumMultisigClient, error)

func (EthereumMultisigClient) InitMultisig added in v0.3.0

func (ec EthereumMultisigClient) InitMultisig(ctx context.Context, smartcontracts types.SmartContractsInfo, validators SignersList) error

type EthereumMultisigClientParameters added in v0.3.0

type EthereumMultisigClientParameters struct {
	ChainID            int
	EthereumAddress    string
	SmartcontractsInfo types.SmartContractsInfo

	VegaBinary string
	VegaHome   string
}

type KeyPair

type KeyPair struct {
	Address    string
	PrivateKey string
}

func DescribeKeyPair

func DescribeKeyPair(keyFilePath, password string) (*KeyPair, error)

type KeyStore added in v0.2.2

type KeyStore struct {
	FilePath         string
	PasswordFilePath string
	KeyPair          KeyPair
}

func ImportPrivateKeyIntoKeystore added in v0.2.2

func ImportPrivateKeyIntoKeystore(privateKeyHex, passwordFilePath string, keystorePath string) (*KeyStore, error)

type Signer added in v0.2.2

type Signer struct {
	HomeAddress        string
	WalletPassFilePath string
	ClefRPCAddress     string
	KeyPair            KeyPair
}

type SignersList added in v0.2.2

type SignersList []Signer

func (SignersList) EthPrivateKeys added in v0.2.2

func (l SignersList) EthPrivateKeys() []string

Jump to

Keyboard shortcuts

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