This commit is contained in:
lzx
2025-08-07 19:04:53 +08:00
parent 0f3716c9d2
commit 4636ecd866
8 changed files with 3908 additions and 11 deletions

View File

@@ -19,7 +19,8 @@ function loadConfig() {
class App {
constructor(){
const config = loadConfig();
this.ethNodeUrl = config.nodesUrl.ETH
this.ethNodeUrl = config.nodesUrl.ETH.url
this.ETH_API_KEY = config.nodesUrl.ETH.key
const usdterc20_abi = JSON.parse(fs.readFileSync(config.abiPath.usdt_erc20_abi, "utf-8"));
const usdcerc20_abi = JSON.parse(fs.readFileSync(config.abiPath.usdc_erc20_abi, "utf-8"));
const usdttrc20_abi = JSON.parse(fs.readFileSync(config.abiPath.usdt_trc20_abi, "utf-8"));