Documentation ¶
Index ¶
- Variables
- func Base58Check(val, prefix []byte) string
- func DecodeZcashAddr(addr string) ([]byte, error)
- func EncodeBitcoinPubkey(k *btcec.PublicKey) string
- func EncodeEthereumPubkey(k *btcec.PublicKey) string
- func EncodeZcashPubkey(k *btcec.PublicKey) string
- func HashSha256Ripe160(data []byte) []byte
- func KeyHashSha256Ripe160(ecpk *btcec.PublicKey) []byte
Constants ¶
This section is empty.
Variables ¶
View Source
var BitcoinP2SHPrefix = []byte{5}
View Source
var BitcoinPrefix = []byte{0}
View Source
var BitcoinTestnetP2SHPrefix = []byte{0xc4}
View Source
var BitcoinTestnetPrefix = []byte{0x6f}
View Source
var ZcashP2SHPrefix = []byte{0x1c, 0xbd}
View Source
var ZcashPrefix = []byte{0x1c, 0xb8}
View Source
var ZcashTestnetP2SHPrefix = []byte{0x1c, 0xba}
View Source
var ZcashTestnetPrefix = []byte{0x1d, 0x25}
Functions ¶
func Base58Check ¶
func DecodeZcashAddr ¶
func EncodeBitcoinPubkey ¶
func EncodeEthereumPubkey ¶
func EncodeZcashPubkey ¶
func HashSha256Ripe160 ¶
func KeyHashSha256Ripe160 ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.