Documentation
¶
Index ¶
- Constants
- Variables
- func CashAddrDecode(hrp, addr string) (byte, []byte, error)
- func CashAddrEncode(hrp string, vers byte, buf []byte) (string, error)
- func Decode(bechString string) (string, []byte, int, error)
- func Encode(hrp string, data []byte, spec int) string
- func SegwitAddrDecode(hrp, addr string) (byte, []byte, error)
- func SegwitAddrEncode(hrp string, witver byte, witprog []byte) (string, error)
- func SegwitAddrEncodeNoCheck(hrp string, witver byte, witprog []byte) (string, error)
Constants ¶
View Source
const ( Bech32 = 1 Bech32m = 2 CashAddr = 3 Failed = -1 )
Variables ¶
Functions ¶
func CashAddrEncode ¶ added in v0.1.4
func SegwitAddrDecode ¶
SegwitAddrDecode decode a segwit address.
func SegwitAddrEncode ¶
SegwitAddrEncode encode a segwit address.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.