Versions in this module Expand all Collapse all v1 v1.0.1 Sep 10, 2023 v1.0.0 Jul 24, 2023 Changes in this version + const CHAINPATH_PREFIX_CHANGE + const CHAINPATH_PREFIX_DEPOSIT + const CHAINPATH_PREFIX_SWEEP + const CHAINPATH_PREFIX_SWEEP_DRY + func AddrFromPubKeyBytes(coin string, pubKeyBytes []byte) string + func CalcHash(buf []byte, hasher hash.Hash) []byte + func CalcHash160(buf []byte) []byte + func CalcHash256(buf []byte) []byte + func CalcSha512(buf []byte) []byte + func ComputeAddress(coin string, pubKeyHex string, chainHex string, path string, index int32) string + func ComputeAddressForPrivKey(coin string, privKey string) string + func ComputeMastersFromSeed(seed string) (string, string, string, string) + func ComputePrivateKey(mprivHex string, chainHex string, path string, index int32) string + func ComputeTxId(rawTxHex string) string + func ComputeWIF(coin string, privKey string, compress bool) string + func DerivePrivateKey(privKeyBytes []byte, chain []byte, i uint32, prime bool) ([]byte, []byte) + func DerivePrivateKeyForPath(privKeyBytes []byte, chain []byte, path string) []byte + func DerivePublicKey(pubKeyBytes []byte, chain []byte, i uint32) ([]byte, []byte) + func DerivePublicKeyForPath(pubKeyBytes []byte, chain []byte, path string) []byte + func HexDecode(str string) []byte + func HexEncode(b []byte) string + func I64(key []byte, data []byte) ([]byte, []byte) + func PubKeyBytesFromPrivKeyBytes(privKeyBytes []byte, compress bool) (pubKeyBytes []byte) + func ReverseBytes(buf []byte) []byte + func SignMessage(privKey string, message string, compress bool) string + func WIFFromPrivKeyBytes(coin string, privKeyBytes []byte, compress bool) string