ethereum

package
v0.0.0-...-471bb1c Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2022 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CopyWalletFileToVolume

func CopyWalletFileToVolume(ctx context.Context, walletFilePath, volumeName string) error

func CreateWalletFile

func CreateWalletFile(outputDirectory, prefix, password string) (*secp256k1.KeyPair, string, error)

func ExtractContracts

func ExtractContracts(ctx context.Context, containerName, sourceDir, destinationDir string) error

func GenerateAddressAndPrivateKey

func GenerateAddressAndPrivateKey() (address string, privateKey string)

func ReadContractJSON

func ReadContractJSON(filePath string) (*ethtypes.CompiledContracts, error)

func ReadFireFlyContract

func ReadFireFlyContract(ctx context.Context, s *types.Stack) (*ethtypes.CompiledContract, error)

func ReadSolcCompiledContract

func ReadSolcCompiledContract(filePath string) (*ethtypes.CompiledContracts, error)

func ReadTruffleCompiledContract

func ReadTruffleCompiledContract(filePath string) (*ethtypes.CompiledContracts, error)

Types

type Account

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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