Thursday , 19 April 2018

Hundreds of Bitcoin Cash are stuck in Segwit addresses

When bitcoin forked leading to the creation of bitcoin cash, woeful tales of funds sent to the wrong chain abounded. Hundreds of thousands of dollars worth of BCH is languishing in segwit addresses. The funds were mistakenly sent there by users who have no easy way of differentiating segwit and non-segwit addresses. Retrieving the funds is difficult, but not entirely impossible, as’s Antoine Le Calvez has revealed.

Sending BCH to a BTC address on an exchange is a different matter. Without private keys, the customer is reliant on the goodwill and patience of the exchange to remedy the mishap. Some exchanges have done their best to help; some have shrugged it off as not being their problem; and then there’s Bittrex, who said they would consider looking into such cases, but there would be an admin fee of at least 0.1 BTC.

Uncovering the secret Segwit addresses

Sending BCH to a regular BTC address is unfortunate but not always fatal. But what happens when bitcoin cash is sent to a segwit bitcoin address? That’s when things get complicated. Legacy bitcoin addresses start with a 1, whereas segwit addresses generally start with a 3. (There are also segwit addresses that start with bc1, but we’ll ignore them for now.) The trouble is that while segwit addresses start with a 3, not all addresses that start with a 3 are segwit compatible. And there’s the rub.

It’s easy to send bitcoin cash to a 3-address without realizing that it’s actually a segwit address. Le Calvez claims that at least 478 BCH, worth over half a million dollars, is trapped in this manner due to the ambiguity of segwit addresses. There is some good news though for affected parties: at least one victim has successfully recovered 100 BCH that were thought to be lost.

Segwit or not Segwit?

Le Calvez cites the following address as having received a total of 100 BCH in error. This is borne out by examining the transaction data. Officially, those funds should be lost forever, but unofficially, it’s still possible to recover them. For those who are intrigued by such matters, the workaround is explained in detail by redditor btctroubador here under “More Problems”.

The simplified version goes as follows:

1. Contact the mining pool who found the block in which the fatal transaction occurred.

2. Ask them nicely to assist (offering a share of the spoils may help your case).

3. The miners must then mine the transaction but not broadcast it, to prevent the risk of someone else double spending the coins.

This solution isn’t foolproof, and relies on the honesty of the miners, who could just as easily retain the coins for themselves if they were feeling greedy. In the case of the 100 BCH sent to a segwit address, rode to the rescue and saved the day. Not all miners can be counted upon to act so benevolently however.

If the proposed new address format for bitcoin cash is introduced next year, such problems should be eliminated. Until then, when sending BCH to an unfamiliar address, double check before you hit that button. As for the remaining 400-odd BCH still stuck in segwit addresses, they seem destined to remain there unless the miners and the senders can work out a deal.

Leave a Reply

Your email address will not be published. Required fields are marked *