Title: bitcoin-bash-tools now partially supports BIP-0032 Post by: grondilu on August 24, 2021, 06:06:04 PM One of the oldest bitcoin libraries just had a make-over!
https://github.com/grondilu/bitcoin-bash-tools I'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. Title: Re: bitcoin-bash-tools now partially supports BIP-0032 Post by: pooya87 on August 25, 2021, 03:29:09 AM You seem to be missing BIP350[1] which is the new encoding mode for Bech32 encoding that must be used for any SegWit address with witness version >=1.
[1] https://github.com/bitcoin/bips/blob/master/bip-0350.mediawiki Title: Re: bitcoin-bash-tools now partially supports BIP-0032 Post by: grondilu on August 25, 2021, 06:22:37 AM You seem to be missing BIP350[1] which is the new encoding mode for Bech32 encoding that must be used for any SegWit address with witness version >=1. [1] https://github.com/bitcoin/bips/blob/master/bip-0350.mediawiki Indeed. I added it to the TODO list. Thanks. |