- Specify supported version bounds for
optparse-applicative
.
- Strip whitespaces from bech32 stdin to satisfy Windows
echo
command.
- Added
--version
switch for thebech32
command.
- Upgraded CI to build with Cabal 3.4.0.0 and GHC 8.10.4.
- Update version constraints for GHC 9.0.1.
-
Added
bech32
command-line for easy conversions in the console.Usage: bech32 [PREFIX] Convert to and from bech32 strings. Data are read from standard input. Available options: -h,--help Show this help text PREFIX An optional human-readable prefix (e.g. 'addr'). - When provided, the input text is decoded from various encoding formats and re-encoded to bech32 using the given prefix. - When omitted, the input text is decoded from bech32 to base16. Supported encoding formats: Base16, Bech32 & Base58. Examples: To Bech32: $ bech32 base16_ <<< 706174617465 base16_1wpshgct5v5r5mxh0 $ bech32 base58_ <<< Ae2tdPwUPEYy base58_1p58rejhd9592uusa8pzj2 $ bech32 new_prefix <<< old_prefix1wpshgcg2s33x3 new_prefix1wpshgcgeak9mv From Bech32: $ bech32 <<< base16_1wpshgct5v5r5mxh0 706174617465
- Added support for the
bech32-th
extension library.
-
Exposed functions
dataPartFromWords
anddataPartToWords
within public interface. -
Exposed the
Word5
type within the public interface. -
Exposed the
CharPosition
type within the public interface.
- Improved module documentation, adding basic examples to help beginner users quickly get up to speed.
- Initial release pulled from https://github.com/input-output-hk/cardano-wallet