osagga / bitcore-node-cash

Extensible full node using Bitcore
https://bitcore.io/
Other
9 stars 2 forks source link

Support BCH addresses #7

Closed osagga closed 6 years ago

osagga commented 6 years ago

Currently the bitcore-node only understands BTC legacy addresses, but with this PR, the API should only handle the BCH specific address format for all the different networks (livenet, testnet and regtest)

For example: livenet(mainnet) address would be bitcoincash:qzc85arqpfasynxearalwsnnlf4e37arggua57v7x5 testnet address would be bchtest:pp05efv92sk55jzq369v9zjss8trjn5lusxu6grry9 regtest address would be bchreg:qzc85arqpfasynxearalwsnnlf4e37arggua57v7x5