ethereum

package
v1.5.3 Latest Latest
Warning

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

Go to latest
Published: May 16, 2020 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var InfuraAPIKey = os.Getenv("INFURA_API_KEY")
View Source
var Testnet = false

Functions

func Balance

func Balance(seed string) (amount float64, err error)

func BalanceWei

func BalanceWei(seed string) (amount *big.Int, err error)

func GenWallet

func GenWallet() (seed, address string, err error)

func GetAddress added in v1.4.0

func GetAddress(seed string) (address string, err error)

func Send

func Send(seed, destination string, amount float64) (tx string, err error)

func SendAll

func SendAll(seed, destination string) (tx string, err error)

func SendWei

func SendWei(seed, destination string, amount *big.Int) (tx string, err error)

func UnconfirmedBalanceWei

func UnconfirmedBalanceWei(seed string) (unconfirmed *big.Int, err error)

func Validate

func Validate(address string) (valid bool, err error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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