package
0.0.0-20211222091002-d67209b79eea
Repository: https://github.com/abmatrix/bitcoin-utxo.git
Documentation: pkg.go.dev

# Functions

Decode decodes bechString(Bech32/Bech32m) returns hrp(human-readable part), data(32bit data array) and spec (int) / or error.
Encode encodes hrp(human-readable part) and data(32bit data array), returns Bech32 / or error if hrp is uppercase, return uppercase Bech32.
SegwitAddrDecode decodes hrp(human-readable part) Segwit Address(string), returns version(int) and data(bytes array) / or error.
SegwitAddrEncode encodes hrp(human-readable part) , version(int) and data(bytes array), returns Segwit Address / or error.