ethereum

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2026 License: Apache-2.0 Imports: 15 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"`
	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