btcposbal2csv
btcposbal2csv copied to clipboard
btcposbal2csv.py doesn't extract segwit
btcposbal2csv.py doesn't extract segwit addresses, for example:
Public Address bc1 P2WPKH: bc1qetrqrygl7t0fn6hrdmuug3rrp8vjmum8fd8rsk Public Address bc1 P2WSH: bc1q26swzzjmqgwvcjxplktpyj9xpkzpv8kgs7t545ku6s7v6fl0xt3slnx8k9
Yes, currently it does not support segwit address extraction. I'm not planning to add support at the moment. I would accept PR with the support.
There is open PR in bitcoin-core for txout dump (https://github.com/bitcoin/bitcoin/pull/18689), if this is merged, it would be ideal solution and made this library obsolete.
Hi, I've added support for bech32 addresses in a repository located here: https://github.com/who-biz/chipsposbal2csv.
It has been modified to generate addresses with a different network byte, but the changes are easily portable if @Jolly-Pirate is still looking for a solution.
That repo is now compatible with P2WPKH & P2WSH txs
PR'ed changes for BTC network.