e3220b8a9e
Add instructions for default RPC usage
2023-05-16 15:43:37 +03:00
5dd1b14c1b
Fix RPC link checking: it must starts with protocol (like ws or https), not includes, because because in this case, RPC sites that have these characters in name or in domain don't work correctly
2023-05-16 11:10:03 +03:00
2e20c1fbb6
Use default RPC while withdraw, if no RPC is provided
2023-05-15 14:35:17 +03:00
cf359cad00
Remove non-existent token instance addresses, like 100 000 USDC on ETH mainnet
2023-05-14 10:49:33 +03:00
2186801877
Add to GasPriceOracle choice of the same RPC as in the Web3 current instance
2023-05-14 00:15:32 +03:00
8a31e9873d
Move all the tokens for each network in the config into a separate sub-object, as in classic-ui, so that it is possible to iterate over them
2023-05-14 00:08:18 +03:00
38783848b5
Fix GasPriceOracle: provide to its constructor valid RPC, which user defined in startup parameters - now gas for goerli calculates correctly
2023-05-12 23:12:22 +03:00
16d9efa60c
Fix commander arguments parser issue: now all parameters with hyphen processed correctly
2023-05-11 12:04:42 +03:00
f000d0af36
Actualize README: change links, update RPC links
2023-05-10 19:05:15 +03:00
910643ab5e
Add --private-key command argument so that users shouldn't have to save the private key in the clear in .env file
2023-05-10 18:49:59 +03:00
e9fcc51dae
Delete duplicate code in generateMerkleProof function - add computeDepositEventsTree call instead of a separate mapping in loop
2023-05-09 19:21:49 +03:00
Theodike
b7929bd16c
Fix accidentally changed comment
2023-04-22 19:20:44 +03:00
Theodike
c9018546b9
Delete and reload corrupted event trees
2023-04-22 19:17:55 +03:00
Theodike
7e79c85bba
Add command to check deposit tree root validity
2023-04-22 19:16:28 +03:00
Theodike
899dc634c0
Update cache for all chains with zero events
2023-04-17 08:12:05 +03:00
Theodike
2151b8c562
Add zero event direct to target block
2023-04-14 23:19:33 +03:00
Theodike
28e831802f
Remove duplicate & unreachable code
2023-04-14 23:09:12 +03:00
Theodike
6115a09420
Adding zero events while syncing events tree
2023-04-14 23:07:02 +03:00
Theodike
bbdf0fbea3
Remove duplicate function updateCache
2023-04-14 20:06:39 +03:00
Theodike
85c5bdc13f
Apply prettier rules to cli.js
2023-04-14 20:02:05 +03:00
Theodike
90f9acd2ea
Set semicolon as true in prettier config, because in cli.js semicolons are used
2023-04-14 19:52:44 +03:00
gozzy
2f82f4b3da
gas speed param, fee printing & confirmation prompts
2023-03-26 09:20:32 +00:00
gozzy
4b4364e2fe
depreciate browser support
2023-03-23 03:47:37 +00:00
gozzy
f3ff636840
Merge pull request 'Update caches' ( #2 ) from Theodike/tornado-cli:master into master
...
Reviewed-on: https://development.tornadocash.community/tornadocash/tornado-cli/pulls/2
2023-03-20 19:09:38 +00:00
Theodike
ff79600e92
Update caches for popular chains
2023-03-20 20:59:17 +03:00
Theodike
7fbfa1a82b
Update caches for all chains
2023-03-01 21:15:32 +03:00
Theodike
b6c6fab87e
Remove broken leafs in XDAI 100 deposits tree
2023-03-01 13:15:01 +03:00
gozzy
cdee9c12fb
parseNote command
2023-02-19 00:01:25 +00:00
gozzy
b719843d50
update caches
2023-01-01 19:07:58 +01:00
gozzy
c422ce172c
remove yarn lockfile
2022-12-02 08:30:15 +00:00
gozzy
b67665283f
oracle legacy flag & improve fallback pricing
2022-12-02 08:16:35 +00:00
gozzy
997ad4fd09
refer to immutable dep ref & bump gas-price-oracle
2022-12-01 21:18:18 +00:00
gozzy
665e02166e
update relayer list & readme
2022-12-01 14:45:27 +00:00
gozzy
9797bc9461
improve gas fetching & fix socks import
2022-12-01 11:54:18 +00:00
gozzy
aa6a85f739
update lockfile
2022-12-01 00:54:45 +00:00
gozzy
1b25a95a1b
reroute censored dependencies
2022-09-02 16:23:54 +00:00
Danil Kovtonyuk
378ddf8b8b
update readme
2022-07-02 00:24:46 +10:00
Roman Storm
f86c74b9fc
Merge pull request #34 from 0xAyanami/develop
...
Support TheGraph & Replace to fixed-merkle-tree dependency
2022-02-26 15:37:47 -08:00
Ayanami
c185961a62
Add --onlyrpc mode
...
+ Add mode to disable remote ip connection and to disable thegraph api
+ Faster event sync for deposit
+ Update README guide for users
2022-02-27 07:57:48 +09:00
Ayanami
2854b7a12f
Support creating deposit notes offline
...
Co-authored-by: yoyoismee <yoyoismee@gmail.com>
2022-02-27 07:55:31 +09:00
Ayanami
378bab8fbe
Use TheGraph while syncing events
...
- support fallback to web3 when not available
- fixes #38
2022-02-27 07:32:35 +09:00
Ayanami
cf988cc033
Exclude private ip addresses from remote ip checks
2022-02-27 07:32:33 +09:00
Ayanami
894d4d3a96
Apply multicall for multiple contract calls
...
- lint cli.js
- fixed test networks with getGasPrice
- replace mainnet proxy to new one that supports relayer registry, fixes #39
- fixed rounding error with bignumber.js
2022-02-27 07:32:30 +09:00
Ayanami
d55ca374e4
Use merkle tree from npm & remove ./lib
...
Reference: 0c6e638852
- fixed yarn installation bug as well
2022-02-27 07:32:24 +09:00
Roman Storm
863474c203
Merge pull request #29 from 0xAyanami/develop
...
Various Bug Fix & Synced Events for Every supported chains
2022-02-07 07:05:30 -08:00
Ayanami
ba31dfa32d
Make remote IP detection optional
...
Some may could not access to tornado.cash without VPN
2022-02-06 07:49:21 +09:00
Ayanami
1f26d8cc2f
Remove comment saying that it is a demo client
2022-02-06 07:24:43 +09:00
Ayanami
ad327162c2
Update Ethereum Events
2022-02-05 21:28:08 +09:00
Ayanami
9e1eeae948
Simplify generateTransaction function
2022-02-05 21:17:18 +09:00
Ayanami
9ec34aa423
Fix token deposit & Fix EIP-1559 for goerli network
2022-02-05 20:08:17 +09:00