walletmanager

package
v0.0.0-...-99b2de1 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2024 License: MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckBalance

func CheckBalance(walletGroup string, client *ethclient.Client)

func CreateWallets

func CreateWallets()

func FundWallets

func FundWallets(walletGroup string, ethAmount float64, client *ethclient.Client, FundingWallet string, privateKey *ecdsa.PrivateKey)

func WithdrawFunds

func WithdrawFunds(walletGroup string, client *ethclient.Client, fundingWallet string)

Types

type EtherscanResponse

type EtherscanResponse struct {
	Status  string `json:"status"`
	Message string `json:"message"`
	Result  string `json:"result"`
}

type Wallet

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

Jump to

Keyboard shortcuts

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