Versions in this module Expand all Collapse all v1 v1.1.0 Apr 1, 2022 Changes in this version + func DecryptKeyfile(keyfile, password string) (*ecdsa.PrivateKey, error) + func EtherToWei(amount int64) *big.Int v1.0.0 Sep 16, 2021 Changes in this version + func DecryptPrivateKey(keyfile, password string) (*ecdsa.PrivateKey, error) + func IsValidAddress(address string, checksummed bool) bool + func ResolveKeyfilePath(keydir string) (string, error) + type TxBuild struct + func (b *TxBuild) Sender() common.Address + func (b *TxBuild) Transfer(ctx context.Context, to string, value *big.Int) (common.Hash, error) + type TxBuilder interface + Sender func() common.Address + Transfer func(ctx context.Context, to string, value *big.Int) (common.Hash, error) + func NewTxBuilder(provider string, privateKey *ecdsa.PrivateKey, chainID *big.Int) TxBuilder