Giter VIP home page Giter VIP logo

tornado-nova's Introduction

Tornado Pool Build Status

This an experimental version of tornado.cash that allows to deposit arbitrary amounts and make internal(shielded) transfers.

Other facts about this version:

  1. It uses L2 (xdai). Xdai has a ETH(mainnet)<>WETH(xdai) bridge that will be used under hood.
  2. Contracts will be upgradable by tornado-cash governance! xdai bridge supports transferring messages from L1 to L2 and vise versa, so community can always upgrade tornado-pool to a new version in case of an issue.
  3. Since it's a beta version, deposits are limited by 1ETH. Governance can always increase the limit.
  4. Withdrawal amount from pool to L1 has to be larger than 0.05 ETH to prevent spam attack on the bridge.
  5. The code was audited by Igor Gulamov from Zeropool.

This project was presented on LisCon 2021. Slides

Usage

yarn
yarn download
yarn build
yarn test

Deploy

Check config.js for actual values.

With salt = 0x0000000000000000000000000000000000000000000000000000000047941987 addresses must be:

  1. L1Unwrapper - 0x3F615bA21Bc6Cc5D4a6D798c5950cc5c42937fbd
  2. TornadoPool - 0x0CDD3705aF7979fBe80A64288Ebf8A9Fe1151cE1

Check addresses with current config:

yarn compile
node -e 'require("./src/0_generateAddresses").generateWithLog()'

Deploy L1Unwrapper:

npx hardhat run scripts/deployL1Unwrapper.js --network mainnet

Deploy TornadoPool Upgrade:

npx hardhat run scripts/deployTornadoUpgrade.js --network xdai

tornado-nova's People

Contributors

0xzick avatar 3q-coder avatar pertsev avatar poma avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.