addrs

package
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 11, 2017 License: MIT Imports: 6 Imported by: 0

Documentation

Index

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 Base58Check(val, prefix []byte) string

func DecodeZcashAddr

func DecodeZcashAddr(addr string) ([]byte, error)

func EncodeBitcoinPubkey

func EncodeBitcoinPubkey(k *btcec.PublicKey) string

func EncodeEthereumPubkey

func EncodeEthereumPubkey(k *btcec.PublicKey) string

func EncodeZcashPubkey

func EncodeZcashPubkey(k *btcec.PublicKey) string

func HashSha256Ripe160

func HashSha256Ripe160(data []byte) []byte

func KeyHashSha256Ripe160

func KeyHashSha256Ripe160(ecpk *btcec.PublicKey) []byte

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL