cardano

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

Documentation

Index

Constants

View Source
const MAX_OUTPUT_SIZE = 4096

Variables

This section is empty.

Functions

func Balance

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

Balance of the wallet (not address!)

func BalanceLovelace

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

BalanceLovelace returns the balance of the wallet (not address!) in lovelace

func GenWallet

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

GenWallet for Cardano

func GetAddress

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

GetAddress for the wallet

func Send

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

func SendAll

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

func SendLovelace

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

func Validate added in v1.5.1

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