bitcoin

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: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Testnet = false

Functions

func Balance

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

func BalanceSatoshi added in v1.4.0

func BalanceSatoshi(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 RawBalance

func RawBalance(seed string) (confirmed, unconfirmed float64, 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 SendSatoshi added in v1.4.0

func SendSatoshi(seed, destination string, units *big.Int) (tx string, err error)

func Validate

func Validate(btc 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