fix test and readme

This commit is contained in:
poma 2021-10-29 18:37:09 +01:00
parent 94dfad9cd2
commit f468de9a0a
No known key found for this signature in database
GPG Key ID: BA20CB01FE165657
2 changed files with 3 additions and 3 deletions

View File

@ -21,7 +21,7 @@ jobs:
- run: npx ganache-cli > /dev/null &
- run: npm run migrate:dev
- run: yarn test
- run: node cli.js test
- run: node src/cli.js test
- run: yarn lint
- name: Telegram Failure Notification
uses: appleboy/telegram-action@0.0.7

View File

@ -4,9 +4,9 @@ Tornado Cash is a non-custodial Ethereum and ERC20 privacy solution based on zkS
To make a deposit user generates a secret and sends its hash (called a commitment) along with the deposit amount to the Tornado smart contract. The contract accepts the deposit and adds the commitment to its list of deposits.
Later, the user decides to make a withdrawal. To do that, the user should provide a proof that he or she possesses a secret to an unspent commitment from the smart contracts list of deposits. zkSnark technology allows that to happen without revealing which exact deposit corresponds to this secret. The smart contract will check the proof, and transfer deposited funds to the address specified for withdrawal. An external observer will be unable to determine which deposit this withdrawal came from.
Later, the user decides to make a withdrawal. To do that, the user should provide a proof that he or she possesses a secret to an unspent commitment from the smart contracts list of deposits. zkSnark technology allows that to happen without revealing which exact deposit corresponds to this secret. The smart contract will check the proof and transfer deposited funds to the address specified for withdrawal. An external observer will be unable to determine which deposit this withdrawal came from.
You can read more about it in [this medium article](https://medium.com/@tornado.cash/introducing-private-transactions-on-ethereum-now-42ee915babe0)
You can read more about it in [this Medium article](https://medium.com/@tornado.cash/introducing-private-transactions-on-ethereum-now-42ee915babe0)
## Specs