Closed merc1er closed 5 years ago
Okay so I dug deeper and I found out that the version bytes are incorrect for the BCH network in pywallet/network.py
.
See https://github.com/Bitcoin-ABC/bitcoin-abc/blob/master/src/chainparams.cpp
These are valid bitcoin cash addresses, though I don't recommend using this address format as it is not supported by most of the wallets. You can use this converter to convert between any of the 3 supported address types. Switch your application to CashAddr addresses, bitcoincash:
prefixed
Addresses generated using the Bitcoin Cash (BCH) network are not valid, while they are when using the Bitcoin Core (BTC) network.
Here is an example of returned addresses running the following code:
Returns:
Which are not valid Bitcoin addresses.