-
Notifications
You must be signed in to change notification settings - Fork 498
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
Unable to derive public address for Bitcoin Cash ABC (BCH) #328
Comments
@richardkiss I see that BCH and XCH are missing in the _NETWORK_PREFIXES variable. I guess this part of code is not release to pypi package version 0.80. Can you validate? |
Try now. I get
Are XCH and BCH still using base58 or have they switched to bech32? |
Hi, Thank you for making this package. Bitcoin Cash uses a variant of bech32 called CashAddress. The specification can be found, for example, here: https://flowee.org/docs/spec/blockchain/encoding/cashaddr/ A Python implementation handling conversion between base58 and CashAddress can be found here: https://github.com/oskyk/cashaddress Using those resources as reference, implementing CashAddress in pycoin should be fairly straightforward. Thanks again, and looking forward towards using your package in my future projects! |
@richardkiss Not working for both mainnet (BCH) and testnet (XCH).
The text was updated successfully, but these errors were encountered: