Versions in this module Expand all Collapse all v2 v2.0.1 May 20, 2020 Changes in this version + var Cryptocurrencies = []Cryptocurrency + type Cryptocurrency int + const Bitcoin + const Cardano + const Ethereum + func FromSymbol(symbol string) (cc Cryptocurrency, err error) + func (t *Cryptocurrency) UnmarshalText(data []byte) (err error) + func (t Cryptocurrency) Balance(seed string) (amount float64, err error) + func (t Cryptocurrency) BalanceUnits(seed string) (units *big.Int, err error) + func (t Cryptocurrency) GenWallet() (seed, address string, err error) + func (t Cryptocurrency) GetAddress(seed string) (address string, err error) + func (t Cryptocurrency) MarshalText() (b []byte, err error) + func (t Cryptocurrency) Send(seed, dest string, amount float64) (tx string, err error) + func (t Cryptocurrency) SendAll(seed, dest string) (tx string, err error) + func (t Cryptocurrency) SendUnits(seed, dest string, units *big.Int) (tx string, err error) + func (t Cryptocurrency) Symbol() string + func (t Cryptocurrency) Testnet(state bool) (err error) + func (t Cryptocurrency) Validate(address string) (valid bool, err error) Other modules containing this package code.dumpstack.io/lib/cryptocurrency