ethereum

package
v0.0.48 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExtractContracts

func ExtractContracts(containerName, sourceDir, destinationDir string, verbose bool) error

func GenerateAddressAndPrivateKey added in v0.0.47

func GenerateAddressAndPrivateKey() (address string, privateKey string)

Types

type Account added in v0.0.47

type Account struct {
	Address    string `json:"address"`
	PrivateKey string `json:"privateKey"`
}

type CompiledContract added in v0.0.45

type CompiledContract struct {
	ABI      interface{} `json:"abi"`
	Bytecode string      `json:"bin"`
}

func ReadTruffleCompiledContract added in v0.0.47

func ReadTruffleCompiledContract(filePath string) (*CompiledContract, error)

type CompiledContracts added in v0.0.45

type CompiledContracts struct {
	Contracts map[string]*CompiledContract `json:"contracts"`
}

func ReadCombinedABIJSON added in v0.0.45

func ReadCombinedABIJSON(filePath string) (*CompiledContracts, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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