mirror of
https://github.com/btcsuite/btcd.git
synced 2024-11-19 18:00:11 +01:00
5cd3533e2b
In this commit, we move `btcutil` as well as its sub-module, the `psbt` package into the `btcd` repo itself. |
||
---|---|---|
.. | ||
bech32_test.go | ||
bech32.go | ||
doc.go | ||
error.go | ||
example_test.go | ||
README.md | ||
version.go |
bech32
Package bech32 provides a Go implementation of the bech32 format specified in BIP 173.
Test vectors from BIP 173 are added to ensure compatibility with the BIP.
Installation and Updating
$ go get -u github.com/btcsuite/btcd/btcutil/bech32
Examples
- Bech32 decode Example Demonstrates how to decode a bech32 encoded string.
- Bech32 encode Example Demonstrates how to encode data into a bech32 string.
License
Package bech32 is licensed under the copyfree ISC License.