bitcoin

package
v2.0.1 Latest Latest
Warning

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

Go to latest
Published: May 20, 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

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

func GenWallet

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

func GetAddress

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

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