Documentation ¶
Index ¶
- func Decode58(address string) string
- func Encode58(str string) string
- func Encode58CheckSum(str string) string
- func FromBigInt(bigInt *big.Int) string
- func GenerateSecret() string
- func H160ToP2PKH(h160 string, testnet bool) string
- func H160ToP2SH(h160 string, testnet bool) string
- func Hash160(sec string) string
- func ToBigInt(ridiculouslyLargeNumber string) *big.Int
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Decode58 ¶
Decode58 will decode an address into the corresponding 20 byte hexadecimal representation of the hashed SEC.
func Encode58CheckSum ¶
Encode58CheckSum will include the checksum to a base58 encoded string
func FromBigInt ¶
FromBigInt will return the 0x encoded of the provided bigInt
func GenerateSecret ¶
func GenerateSecret() string
GenerateSecret will create a deterministic number
func H160ToP2PKH ¶
H160ToP2PKH: Converts a h160 to a p2pkh address
func H160ToP2SH ¶
H160ToP2SH Converts a h160 to a p2sh address
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.