From 610200b6105b6c9045a9b67e995f2c93d64ba1fc Mon Sep 17 00:00:00 2001 From: Ayanami Date: Sun, 12 Dec 2021 15:19:49 +0900 Subject: [PATCH] Minor updates * Use socks5h to use DNS through proxy * fix withdrawal transaction gaslimit * change default priority gas fee value to match with https://github.com/tornadocash/tx-manager/blob/a8e504054e42efb67ba1745452fba257caaaa2a6/src/TxManager.js#L18 * fix typo * Use estimateGas * default goerli network gasprice to 1 gwei * Add other networks --- cli.js | 58 +++++++++++++++++++++++++++-------------- config.js | 78 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 116 insertions(+), 20 deletions(-) diff --git a/cli.js b/cli.js index 2b8dc14..3c34685 100755 --- a/cli.js +++ b/cli.js @@ -54,24 +54,42 @@ async function printERC20Balance({ address, name, tokenAddress }) { console.log(`${name}`,(await erc20.methods.name().call()),`Token Balance is`,toDecimals(balance, decimals, (balance.length + decimals)).toString().replace(/\B(?