Commit Graph

69 Commits

Author SHA1 Message Date
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
Ayanami 5064b379f5
Update BinanceSmartChain Events 2022-02-05 19:15:54 +09:00
Ayanami b0c64136d2
Add Goerli Events 2022-02-05 18:47:53 +09:00
Ayanami f0fddccc43
Add Polygon Events 2022-02-05 18:45:18 +09:00
Ayanami bcb8fb8414
Add Arbitrum Events 2022-02-05 14:20:22 +09:00
Ayanami 50a207aeb7
Add Optimism Events 2022-02-05 14:18:28 +09:00
Ayanami c7195812eb
Add Avalanche Events 2022-02-05 14:06:00 +09:00
Ayanami 44ee6d700c
Add GnosisChain Events 2022-02-05 12:52:21 +09:00
Ayanami 394d487cb8
Change xDai to GnosisChain 2022-02-05 12:50:51 +09:00
Ayanami 00ca8a07f7
Fix Optimism network support
Correct chainId for Optimism network
2022-02-05 11:11:59 +09:00
Ayanami 04623a23e6
Fixed web3 overflow bug for non-geth rpc nodes 2022-02-05 10:33:25 +09:00
Ayanami 62451ec5ce
Add mode not to submit signed tx to local node 2022-02-05 03:53:11 +09:00
Ayanami a9c6a24204
Support Onion RPC nodes 2022-02-04 10:12:21 +09:00
Roman Storm 7e62cb2000
Merge pull request #27 from 0xAyanami/develop
(WIP) Patch with BigNumber & Update cache file
2022-01-28 10:55:00 -08:00
Ayanami 6ea19850dc
Fix send & printBalance using BigNumber 2022-01-27 21:35:55 +09:00
Roman Storm 542c7c7980
Merge pull request #26 from 0xAyanami/develop
Patch bugs with ERC20 support
2022-01-27 01:27:02 -08:00
Ayanami 7398ac9bbc
Don't use await for encodeABI() since it is not a promise 2022-01-27 15:17:19 +09:00
Ayanami 940f3e8194
Remove duplicated definition 2022-01-27 14:56:46 +09:00
Ayanami 4bea523346
Remove duplicated definition 2022-01-27 14:50:49 +09:00
Ayanami e9ff6d1488
Define netSymbol in advance 2022-01-26 23:42:12 +09:00
Ayanami 15fe31445a
Add some error messages 2022-01-26 23:11:05 +09:00
Ayanami 8b63de6392
Fix send command 2022-01-26 22:24:58 +09:00
Ayanami 00f68385e3
Fixed bug on ERC20 support 2022-01-26 22:22:50 +09:00
Ayanami 66e781ea83
Minor console bug fix 2022-01-26 21:21:28 +09:00
Roman Storm e0f0a03d19
Merge pull request #21 from 0xAyanami/develop
Fix bug & Show remote ip from console
2022-01-25 22:16:45 -08:00
Ayanami bceb74b9b3
Read address from private key for querying balance 2022-01-24 21:50:58 +09:00
Ayanami 710054547a
Fix bug & Show remote ip from console 2022-01-24 20:39:40 +09:00
Roman Storm 80a810e727
Merge pull request #20 from 0xAyanami/develop
Bug fixes & Minor updates
2022-01-23 09:53:24 -08:00
Ayanami a4c511c86f
Support sending ETH and ERC20 2022-01-23 21:33:47 +09:00
Ayanami 90a34da5b8
Add Optimistic network support & update README.md 2022-01-23 18:42:08 +09:00
Ayanami e865eb9af8
Support EIP-1559 transaction for Polygon & Avalanche
Most of the transaction on those chains have same maxFeePerGas and maxPriorityFeePerGas value
2022-01-23 16:26:24 +09:00
Ayanami 93fafe0178
Minor changes
+ If the function needs to check native coin, use netSymbol instead
+ Unused variables removed
+ Support Private Key with '0x' as well
2022-01-23 15:52:59 +09:00
Ayanami 16cc0b3e61
Update fetchEvents to write files per chunks 2022-01-23 12:56:09 +09:00
Roman Storm 4b13d53cab
Merge pull request #16 from 0xAyanami/develop
EIP-1559 & Tor Socks5 Proxy & BSC network support
2022-01-20 14:12:13 -08:00
Ayanami 5e79fec40d
Fixed backup note bug 2022-01-14 22:16:10 +09:00
Ayanami a08c6dbfb9
Update README.md
* Update infura api key same as Metamask ( which is considered as public, register & limit free )
2021-12-19 18:28:56 +09:00
Ayanami 610200b610
Minor updates
* Use socks5h to use DNS through proxy

* fix withdrawal transaction gaslimit

* change default priority gas fee value to match with a8e504054e/src/TxManager.js (L18)

* fix typo

* Use estimateGas

* default goerli network gasprice to 1 gwei

* Add other networks
2021-12-12 15:19:49 +09:00