Skip to content

zyra-zia/tBTC-TornadoCash

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tBtc + TornadoCash

Submission for Protect Privacy Hackathon

Demo: https://tbtc-tornadocash.web.app/

You will also need to have some tBTC tokens to be able to use the app. tBTC can be minted using the dapp at https://dapp.test.tbtc.network/

Setup

  1. (Optional) The current contract addresses in ./src/config.js work with the tBTC contract deployed at TBTC_TOKEN_CONTRACT_ADDRESS = '0x70914770f2063e9968F7d1baB5bFF95ED47191f9'. If you need to update the tBTC token contract address (e.g. because you have tBTC minted from a different contract), you will also need to update the associated tornado contracts.

    Deploy tornado contracts for each denomination that you want to use, using the instructions at tornado-core

    1. Edit ./src/config.js and set TBTC_TOKEN_CONTRACT_ADDRESS to the new tBTC token address.
    2. Edit ./src/config.js and set the contract addresses for each denomination TORNADO_CONTRACT_ADDRESS_001, TORNADO_CONTRACT_ADDRESS_01 and TORNADO_CONTRACT_ADDRESS_1
  2. npm install

  3. npm start

  4. Open http://localhost:3000 to view it in the browser.

This project was bootstrapped with Create React App. Please read the documentation for Create React App for additional commands.

About

Private Bitcoin transactions using tBTC and TornadoCash

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages