Open Iridium-IO opened 3 years ago
Thanks for reporting @ImminentFate - I can reproduce this on Linux with:
$ printf "706174617465\n" | bech32 base16_
base16_1wpshgct5v5r5mxh0
$ printf "706174617465\r\n" | bech32 base16_
bech32: user error (Unable to detect input encoding. Neither Base16, Bech32 nor Base58.)
As a workaround, you can put your input in a file and save it with UNIX line endings (LF), instead of Windows line endings (CRLF).
Using the bech32 binary from
cardano-wallet v2021-06-11
Piping any address in either upper or lower case fails, including the test inputs on the readme page.
Attempted commands (with or without the underscore, doesn't change outcome):
I've also tried multiple examples provided around the forums for generating staking addresses from a wallet address with the same results.