ethereum

package
v1.3.2 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CopyWalletFileToVolume added in v1.1.0

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

func CreateWalletFile added in v1.1.0

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

func ExtractContracts

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

func GenerateAddressAndPrivateKey added in v0.0.47

func GenerateAddressAndPrivateKey() (address string, privateKey string)

func ReadContractJSON added in v1.0.0

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

func ReadFireFlyContract added in v1.1.0

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

func ReadSolcCompiledContract added in v1.0.0

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

func ReadTruffleCompiledContract added in v0.0.47

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

Types

type Account added in v0.0.47

type Account struct {
	Address      string `json:"address"`
	PrivateKey   string `json:"privateKey"`
	PtmPublicKey string `json:"ptmPublicKey"` // Public key used for Tessera
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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