1

A lot of users seem to be mistakenly sending Bitcoin Cash to Bitcoin addresses and vice versa. I understand Bitcoin Cash doesn't support SegWit and that if Bitcoin Cash is sent to a SegWit Bitcoin address then the Bitcoin Cash is not currently recoverable.

How can I check if a particular address is valid on Bitcoin Cash?

  • I'm voting to close this question as off-topic because it is not about bitcoin. – Anonymous Feb 6 at 22:51
  • @Anonymous, despite the name of the site, it is ok to ask questions about other cryptocurrencies (except Ethereum and Monero, since they have their own sites). Check the site Tour page. – Highly Irregular Feb 8 at 9:09
  • I’d like that rule to change due to substantially low quality questions, such as this one. – Anonymous Feb 8 at 9:10
  • @Anonymous that's something to argue in Meta, rather than going against the site description and trying to change questions to suit your personal opinion. Note that this question has had more upvotes than downvotes, so it appears others are finding it useful. – Highly Irregular Feb 8 at 9:12
  • I’m sure everything will be fine. – Anonymous Feb 8 at 9:12
3

You can't. Most segwit addresses are actually p2sh addresses that are wrapped around segwit. As it is impossible to determine what the redeem script of a p2sh will look like there is no way of telling them apart. In summary: If an address starts with a 3 it is impossible to know if its segwit, multisig or something else. If an address starts with a 1 it is safe to send to it, the private key to access the funds will be the same on both chains.

  • How about if you have the private key? Does that make a difference? – Highly Irregular Oct 24 '17 at 21:58
  • 2
    Yes, that does make a difference. If you have the private key you can generate a so called p2sh-p2wpkh address and compare with the address in question. If they are the same, this is a segwit address. If not it is either a p2sh that has been wrapped around a p2pkh which you can check for by generating the p2sh for your private key, or it is a multisig which you can only check if you know all involved keys, or it is some non-standard script which you have no way of checking. – blues Oct 25 '17 at 7:32
0

UPDATE

Bitcoin Cash wallets now use a different address format (called CashAddress, https://cashaddr.bitcoincash.org) in order to prevent loss of funds.

protected by Anonymous Feb 6 at 22:52

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.