e2103c46da
Merge pull request 'add sepolia and etc support, add docker to verify' (#4) from tornadosto/cli:tornadosto into master
Theo2025-06-19 14:45:41 +03:00
f02a205e05
add sepolia and etc support, add docker to verify
tornadosto2025-06-18 16:25:19 +08:00
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
Theo2025-04-03 16:25:45 -07:00
7ca62513c6
Fix graph sync problem that leads to corrupted merkle tree: now all events fetched explicitly and then deduplicated
Theo2025-03-27 15:43:32 -07:00
8ee077c1db
Add relayer autoselection in withdraw command, if user didn't specify it
Theo2025-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
Theo2025-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
Theo2025-03-20 20:16:49 +03:00
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
nanli777torn
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
Theo2023-09-23 11:10:21 -07:00
8f1bb32701
Update self-hosted Tornado packages versions to actual
Theo2023-09-12 20:38:13 -07:00
0b4e6e37d9
Normalize relayer URL before using & fix relayer status check
Theo2023-09-12 20:37:42 -07:00
5ad9b5ef05
Remove deprecated info about Anonymity Mining (ended in 2021)
Theo2023-09-07 14:29:17 -07:00
4231f5ab09
Change tornado-oracles version & add more info to withdrawal prompt
Theo2023-09-07 14:18:30 -07:00
f1f0d8be2d
Update tornado-oracles to calculate gas for bsc chain correctly
Theo2023-09-03 07:23:08 -07:00
eaa384397a
Add script to update events cache
Theo2023-05-16 16:39:10 +03:00
e3220b8a9e
Add instructions for default RPC usage
Theo2023-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
Theo2023-05-16 11:10:03 +03:00
2e20c1fbb6
Use default RPC while withdraw, if no RPC is provided
Theo2023-05-15 14:35:17 +03:00
cf359cad00
Remove non-existent token instance addresses, like 100 000 USDC on ETH mainnet
Theo2023-05-14 10:48:23 +03:00
2186801877
Add to GasPriceOracle choice of the same RPC as in the Web3 current instance
Theo2023-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
Theo2023-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
Theo2023-05-12 23:12:22 +03:00
16d9efa60c
Fix commander arguments parser issue: now all parameters with hyphen processed correctly
Theo2023-05-11 12:04:42 +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
Theo2023-05-10 18:49:59 +03:00
e9fcc51dae
Delete duplicate code in generateMerkleProof function - add computeDepositEventsTree call instead of a separate mapping in loop
Theo2023-05-09 19:21:49 +03:00