One of the oldest bitcoin libraries just had a make-over!
https://github.com/grondilu/bitcoin-bash-toolsI've tried to make the code cleaner (fewer abuses of sed for instance) but I also added support for
bech32 and a preliminary support for
bip-0032. So far only master key generation is implemented but arguably that is the most difficult part. Child key derivation should be coming soon.
I also separated the code in several files, each file being useful on his own I think. Base58 and bech32 for instance are encoding schemes that could conceivably be used for bitcoin non-related tasks. I may switch back to a single file if some feedback suggests it'd be better.
There is also an additional requirement with jq (
https://stedolan.github.io/jq/) to process JSON. I know I wanted as few dependencies on external programs as possible but this one is very nice and useful. Again if some feedback suggests I should remove it, I will.