688f84f645
Massive CLI update to version 1.1.0:
...
1. Add relayer autoselection and command to get available registered relayer list
2. Add RPC and subgraph autoselection by chain ID for user-provided action
3. Fix bug in graph events fetching, now it cannot skip events in corner case
4. Rewrite half of CLI code, remove redundant functions, move global variables to specific object, add typings
5. Create tornado-cli.exe, deterministic and reproducible CLi executable build
6. Update config.json with working RPC and subgraphs for all chains
7. Update all events to actual state
2025-04-04 15:46:31 -07:00
2136515c37
Update cache
2025-04-03 16:25:08 -07:00
7ca62513c6
Fix graph sync problem that leads to corrupted merkle tree: now all events fetched explicitly and then deduplicated
2025-04-03 15:58:56 -07:00
8ee077c1db
Add relayer autoselection in withdraw command, if user didn't specify it
2025-03-27 11:10:16 -07:00
728624c92a
Add listRelayers command to CLI: now users can check all available relayers before withdrawal and select the best option
2025-03-21 12:10:44 -07:00
cf530416a0
Merge pull request '1. Modify the subgraph of config.js, delete unused chains, and add ensSubdomainKey to each chain' ( #3 ) from nanli777torn/tornado-cli:master into master
...
Reviewed-on: #3
2025-03-20 20:16:49 +03:00
nanli777torn
792961d821
1. Modify the subgraph of config.js, delete unused chains, and add ensSubdomainKey to each chain
...
2. Modify cli.js to support subgraph use
3. Add relayerslist to allow users to obtain relayers data
2025-03-12 02:50:29 +08:00
c0b9a98486
Remove unneccessary web-providers-http lib after fix errors in new web3.js version & fix websocket and ipc providers connection
2023-09-23 11:10:21 -07:00
8f1bb32701
Update self-hosted Tornado packages versions to actual
2023-09-12 20:38:13 -07:00
0b4e6e37d9
Normalize relayer URL before using & fix relayer status check
2023-09-12 20:37:42 -07:00
5ad9b5ef05
Remove deprecated info about Anonymity Mining (ended in 2021)
2023-09-07 14:29:17 -07:00
4231f5ab09
Change tornado-oracles version & add more info to withdrawal prompt
2023-09-07 14:18:30 -07:00
f1f0d8be2d
Update tornado-oracles to calculate gas for bsc chain correctly
2023-09-03 07:23:08 -07:00
e5ed7a7e12
Update cache
2023-08-27 12:13:47 -07:00
fcfa782cf1
Fix send function
2023-08-27 09:39:12 -07:00
fadd50e801
Use @tornado/tornado-oracles lib instead of many custom functions to calculate fees
2023-08-27 09:15:27 -07:00
58a3e9b7c6
Update cache for all chains & fix gas limit estimation
2023-07-23 06:16:24 -07:00
ac0ccbb787
Fix gas issues: add correct estimation for relayer withdrawal, add L1 fee fetching for Optimism, correct gas price estimation
2023-07-04 20:06:42 -07:00
7243803b21
Add correct fee estimation for relayer withdrawal transaction
2023-06-30 03:47:30 -07:00
e92046a7ec
Fix compliance, don't throw error if note isn't spent
2023-06-21 16:37:41 -07:00
78a357b164
Change IP lookup provider
2023-06-09 09:16:31 -07:00
518cb0fc77
Add Tornado Gnosis RPC
2023-05-31 05:14:02 -07:00
5cbc2a3914
Update events cache
2023-05-31 05:13:37 -07:00
0f70b58c78
Prettify 'compliance' command output: now deposit and withdrawal events load before compliance info printing
2023-05-19 22:04:53 +03:00
d93603ff1e
Fixate es5-ext version from npm
2023-05-19 22:03:44 +03:00
29c58b36af
Update es5-ext dependency link: now users don't need git to resolve this dependency
2023-05-17 17:55:57 +03:00
721500d1a9
Fixate node version in .nvmrc
2023-05-17 13:59:21 +03:00
618554b226
Resolve all Tornado-libs dependencies via gitea npm registry
2023-05-17 13:36:43 +03:00
56c1d0a3be
Update cache for all chains
2023-05-17 13:35:40 +03:00
b9b660f462
Update all cache witn new script
2023-05-16 23:20:57 +03:00
6ffca591b0
Add Avalanche Tornado RPC as default
2023-05-16 22:19:02 +03:00
44a8b82b00
Add withdrawal address validation according to this issue: https://development.tornadocash.community/tornadocash/tornado-cli/issues/6
2023-05-16 18:00:35 +03:00
1082b382c2
Fixate version of es5-ext, because in new version is malicious payload: https://github.com/medikoo/es5-ext/issues/116
2023-05-16 17:17:50 +03:00
eaa384397a
Add script to update events cache
2023-05-16 16:39:10 +03:00
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