335 Commits

Author SHA1 Message Date
Brian Li
3af3379688 Update so cli.js test works
- Use websnark version that supports trusted setup
 - Fix cli.js
2021-04-25 23:24:08 -07:00
Brian Li
d946cf0808 Define clearly how to deploy the contracts
- Use `Deploy ERC20 Poof Cash` part of README to deploy the contracts
 - Remove build/ and contracts/ since they are generated
 - Rely on the existing trusted prover / verifier keys from Tornado trusted setup
 - Automatically change owner to zero address after deploying the ERC20Tornado contract
2021-04-25 19:58:46 -07:00
Brian Li
4d028922e6 Address audit comments
- operator -> owner
 - Add VerifierChanged events
2021-04-25 09:58:43 -07:00
Brian Li
bb71360374 Export some components as npm package 2021-04-18 21:58:30 -07:00
Brian Li
abdca319ed Update unit test on contracts for encryptedNote 2021-04-18 11:24:18 -07:00
Brian Li
2abf02f818 Add encryptedNote arg 2021-04-18 09:56:13 -07:00
Brian Li
0450c4aa1b Address audit comments
- Emit event when Tornado ownership changes
 - Disallow setting feeToSetter to 0 address
 - Disallow setting feeTo to 0 address
 - Use more SafeMath
 - Set MIN_PROTOCOL_FEE_DIVISOR to constant
 - Add additional unit tests
2021-04-17 21:09:03 -07:00
Brian Li
b19b1fe600 Update feeToSetter
- Don't modify the interface to processWithdraw
 - Add SafeMath and use it
 - Add tests for all the FeeManager methods
 - Update existing unit test for feeToSetter
2021-04-11 18:33:10 -07:00
Brian Li
29ea4f8f08 Redeploy 0-2 2021-04-04 19:54:07 -07:00
Brian Li
75d29f82dc Add build/ dir 2021-04-04 17:11:39 -07:00
Brian Li
168d16443d Redeploy. Mainnet and alfajores together 2021-04-04 14:16:04 -07:00
Brian Li
12dabce062 Update the CELO -1 contract 2021-04-03 22:49:44 -07:00
Brian Li
1ce81c5786 Add readme 2021-04-03 22:49:44 -07:00
Brian Li
41d91445a5 Add readme 2021-04-02 16:11:35 -07:00
Brian Li
a65e156e30 Deploy for mainnet 2021-04-02 15:56:50 -07:00
Brian Li
603dcdc426 Add feeToSetter 2021-04-02 15:50:15 -07:00
Brian Li
66a8fe5712 Fix mainnet contracts for the correct ERC20 address 2021-03-21 19:55:11 -07:00
Brian Li
0f8bc85c83 Deploy mainnet 2021-03-21 19:12:04 -07:00
Brian Li
2392fba1b7 Make final changes
- Update cli.js for the new relayer
 - Update .env example
 - Add migrated clients
2021-03-21 18:33:23 -07:00
Brian Li
f27140be02 Update README.md 2021-03-21 18:16:51 -07:00
Brian Li
82f7394412 Working deployment on alfajores 2021-03-13 20:31:15 -08:00
Roman Semenov
77af0c5bdd
Merge pull request #68 from Lucienest/patch-1
Update README.md
2020-12-31 13:12:46 +03:00
Lucien Nocelli
4f0a23426f
Update README.md
Fixed few syntactical errors.
2020-12-31 06:47:45 +00:00
poma
b438f8db7b
update audit links 2020-12-15 14:15:40 +03:00
Alexey Pertsev
d02ff4faa2
fix links 2020-12-12 12:26:12 +03:00
Roman Storm
1ad2158af1
revert websnark cli 2020-10-22 09:50:15 -07:00
Roman Storm
18e6a19800
fix cli.js issue 2020-10-21 22:13:06 -07:00
poma
17308c9670
fix tests for node12 2020-07-31 19:54:24 +03:00
Roman Storm
5c3648cedc
Merge pull request #53 from gnidan/fix-weird-test-error
Fix strange failure to run tests the first time
2020-06-09 12:42:45 -07:00
Roman Storm
a0ef1a526d
Merge pull request #55 from tornadocash/phase2
CLI and Phase2 updates
2020-06-09 12:39:27 -07:00
Roman Semenov
fddd79d9bd
Merge pull request #56 from tsunamidev/patch-1
Update minimal demo instructions
2020-05-26 17:54:44 +03:00
Alexey
09baf9761d Update docs 2020-05-22 13:50:12 +03:00
Alexey
ea1435b115 cli updates 2020-05-22 12:24:53 +03:00
Alexey
6d383235bb Merge branch 'master' into phase2 2020-05-22 11:40:15 +03:00
Alexey
f48861a4f2 revert websnark version 2020-05-22 11:39:34 +03:00
Tsunami
4408f39b5a
Update minimal demo instructions
Slight issues in commands.
2020-05-16 15:09:46 +01:00
Alexey
c7d912c2e7 cli compiance done 2020-05-15 13:59:38 +03:00
Alexey
4e120f26cb cli compliance WIP 2020-05-14 16:40:31 +03:00
Alexey
f90a898001 fix PRIVATE_KEY dependency 2020-05-14 12:52:47 +03:00
Alexey
03175a2277 docs update 2020-05-14 12:49:56 +03:00
g. nicholas d'andrea
7ceebf48d5 Generate Hasher artifact upon compile, not migrate
To fix intermittent `truffle test` failures, use Truffle's external
compiler system for generating a valid artifact for Hasher at
compile-time instead of in migrations/2_deploy_hasher.js.

- Define compileHelper.js script, which outputs temporary artifact
  data to `./build/Hasher.json`.

- Configure `external` compiler in truffle-config to run compileHelper
  and process result

- Remove usage of @truffle/artifactor in migration, since the artifact
  will now already exist
2020-04-29 02:07:54 -04:00
Alexey
a533ad9ffb Add explicit constrains for recepient, relayer and fee v2.1 2020-04-28 10:36:48 +03:00
poma
d4e6031982
fix cli 2020-04-17 21:54:27 +03:00
Alexey
2d9677831a fix cli 2020-04-15 16:14:05 +03:00
Alexey
f04ff2b6fd update infura keys 2020-04-14 12:22:15 +03:00
Alexey
55e50fee3e websnark update 2020-04-13 22:03:04 +03:00
Alexey
b0bca7fc36 fix solidity version 2020-04-13 22:02:21 +03:00
Alexey
54bb4c4b3c update links 2020-04-06 13:20:58 +03:00
Alexey
411098b589 pin snarkjs versions in dependencies 2020-04-06 13:11:42 +03:00
Alexey
c8adb6b200 update circomlib 2020-04-06 11:58:17 +03:00