Drew Stone, a developer working on Edgeware, returned 2000 ETH ($500,000) to its rightful owner after the funds were mistakenly sent to the wrong smart contract on the Ethereum Mainnet.
Almost half a million dollars lost their way on the Ethereum Mainnet
The crypto industry has had a reputation problem since its inception, and the fact that it has been rife with theft, hacks, and all kinds of other security breaches and manipulation doesn’t help.
Drew Stone did something that went against this narrative. Edgeware developer Stone returned almost $500,000 worth of ether to its rightful owner. According to his Twitter feed, he did it by using an esoteric system designed by Ethereum developers.
Stone explained that he noticed a user had sent 2000 ETH to the Edgeware Lockdrop Ropsten contract. The transaction, however, happened on the Ethereum Mainnet instead of the Polkadot ecosystem. Data from Etherscan showed that the transaction was made on June 1 at 6:00 pm UTC.
After noticing the suspicious transaction, Drew found that the key used to create the transaction on Ropsten had never transacted on the Mainnet. This allowed him to create a Lockdrop Recovery contract at the same address. He explained that the specific way Ethereum addresses are computed allowed him to do this.
It just so happens that the key used to create such a transaction on Ropsten had never once transacted on Mainnet. This allowed me to create a Lockdrop Recovery contract at the same address as the above due to how Ethereum contract addresses are computed.
— Drew (@drew___stone) June 4, 2019
An honest mistake could have cost the user 2000 ETH
A recovery contract was instantiated with the sole goal of letting the owner of the 2000 ETH recover this cryptocurrency, Stone said in a tweet, adding that it was a very stressful ordeal. Nevertheless, he said he successfully returned the funds to its rightful owner and has even shared the recovery repo on his GitHub page.
The contract he shared allows developers…