Documentation
¶
Index ¶
- func AddressSha256(account string, seed string) string
- func AddressToPub(account string) string
- func GenerateAddress() string
- func GetEnv(key, fallback string) string
- func PKSha256(pubkey string, seed string) string
- func RawToBigInt(raw string) (*big.Int, error)
- func RawToNano(raw string, truncate bool) (float64, error)
- func ValidateAddress(account string) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddressSha256 ¶
AddressSha256 - Hashes an address excluding prefix
func AddressToPub ¶
func GenerateAddress ¶
func GenerateAddress() string
func RawToBigInt ¶
Raw to Big - converts raw amount to a big.Int
func ValidateAddress ¶
ValidateAddress - Returns true if a nano address is valid
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.