Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
img
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

The bech32(1) Utility

Encode and decode Bech32 strings, ₿ Bitcoin “Bravo Charlie Addresses”, Bech32 .onion addresses...

Wait, did I say .onion addresses? Yes, I think that it’s a good idea to add Bech32’s error-correcting code.

This utility’s actual encoding and decoding is done by sipa’s Bech32 reference code, here included in tree.

For details, RTFM. Yes, it has a manpage. Software is unworthy of release if it does not have a proper manpage.

It has been tested on FreeBSD, my main platform, and on Linux. [Unfortunately, I may have slightly mussed the BSD building while preparing for publication; this should soon be fixed. The build system generally is still wonky. This is an early release, with most attention paid to the source code and manpage!]

License: AVL v0.0.1 with Bitcoin consensus clause. I would prefer to disclaim copyright, and and release things to the public domain (the public domain is not a license, “CC0” people). However, this is not an ideal world.

Please direct usage discussion to the forum thread, and bugs or concrete technical matters to the issue tracker.

Installation

FreeBSD:

make && make check

...then, make install as root (via sudo or otherwise). Other BSDs are probably similar.

Linux:

make -f Makefile.linux && \
	make -f Makefile.linux check && \
	sudo make -f Makefile.linux install

About

Encode and decode Bech32 strings and Bitcoin Segwit addresses

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published