-
Notifications
You must be signed in to change notification settings - Fork 200
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
btcposbal2csv.py doesn't extract segwit #15
Comments
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 (bitcoin/bitcoin#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. |
btcposbal2csv.py doesn't extract segwit addresses, for example:
Public Address bc1 P2WPKH: bc1qetrqrygl7t0fn6hrdmuug3rrp8vjmum8fd8rsk
Public Address bc1 P2WSH: bc1q26swzzjmqgwvcjxplktpyj9xpkzpv8kgs7t545ku6s7v6fl0xt3slnx8k9
The text was updated successfully, but these errors were encountered: