Bitcoin Forum
September 29, 2025, 11:12:52 PM *
News: Latest Bitcoin Core release: 29.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1]
1  Alternate cryptocurrencies / Service Discussion (Altcoins) / Re: [WARNING] Do not deposit to Tornado Cash. Attack on contract. 1 ETH bounty. on: March 05, 2024, 01:14:38 AM
Update: the issue mentioned in this thread no longer seems to be happening. At least not on my side.
2  Alternate cryptocurrencies / Service Discussion (Altcoins) / Re: [WARNING] Do not deposit to Tornado Cash. Attack on contract. 1 ETH bounty. on: November 22, 2023, 09:29:05 PM
Update: I created a pull request. See https://github.com/tornadocash-community/tornado-classic-ui/pull/2
3  Alternate cryptocurrencies / Service Discussion (Altcoins) / Re: [WARNING] Do not deposit to Tornado Cash. Attack on contract. 1 ETH bounty. on: November 02, 2023, 08:17:38 PM
Hello,
I am also struggling to withdraw my depost of 1ETH, I don't really understand where to put that code?
Do I need to download and deploy the github repository ? If yes please can you guide me on what is the easiest way to do this? using github actions? or AWS?
Thank you for your help


Hello, I was just able to withdraw and so here is a detailed guide on how to do it. This assumes you have a working RPC endpoint.

1. Build your own UI

* Run the following commands:

Code:
git clone https://github.com/tornadocash-community/tornado-classic-ui
cd tornado-classic-ui/
nvm use
yarn
cp .env.example .env
yarn generate
yarn start

2. Reproduce the error locally

* On your browser, open `http://localhost:3000`
* Add your custom RPC endpoint
* Try to withdraw
* You get "Failed to fetch all deposit events from contract" in the UI
* You get "Missing deposit event for deposit #51577" in the console

3. Add the aforementioned fix to your UI code

* Stop the `yarn start` command you ran earlier
* Open `store/application.js` with a text editor
* Go to line `678`
* Insert the following code in that line:

Code:


    // start custom code
    // https://bitcointalk.org/index.php?topic=5412746.0
    const index = eventsData.events.findIndex((e) => e.leafIndex === 51576)

    eventsData.events.splice(index + 1, 0, {
      timestamp: '1661850816',
      commitment: '0x0327e815deb9e90c88860561147d661905b28853fd996f0add1769b00226d0d4',
      leafIndex: 51577,
      blockNumber: 15439539,
      transactionHash: '0xd20351a0e2a9a3f40cb1f55236b30185184587b05551e5e4399c4dbf7aa3ca95'
    })
    // end



* Save and close

4. Withdraw

* Run the following commands:

Code:
yarn generate
yarn start

* On your browser, open `http://localhost:3000`
* Try to withdraw
* Success !
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!