Documentation ¶
Index ¶
- func CopyConfig(config *seth.Config) (*seth.Config, error)
- func NewClientWithAddresses(t *testing.T, addressCount int, funding *big.Int) *seth.Client
- func NewClientWithEphemeralAddresses(t *testing.T, addressCount int) *seth.Client
- func NewPrivateKeyWithFunds(t *testing.T, c *seth.Client, funds *big.Int) string
- func TransferAllFundsBetweenKeyAndAddress(client *seth.Client, keyNum int, toAddress common.Address) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CopyConfig ¶
CopyConfig creates a deep copy of Seth config
func NewClientWithAddresses ¶
NewClientWithAddresses creates a new Seth client with the given number of addresses. Each address is funded with the given amount of native tokens.
func NewClientWithEphemeralAddresses ¶
NewClientWithEphemeralAddresses creates a new Seth client with the given number of addresses. Each address is funded with the calculated with the amount of ETH calculated by dividing the total balance of root key by the number of addresses (minus root key buffer amount).
func NewPrivateKeyWithFunds ¶
NewPrivateKeyWithFunds generates a new private key and funds it with the given amount of native tokens.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.