From 8d742a8a94aef98ac24c67c2e8fce4503de69457 Mon Sep 17 00:00:00 2001 From: shrpne Date: Tue, 28 Nov 2023 12:07:52 +0000 Subject: [PATCH] update bsc node --- .env.master | 2 +- assets/variables.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.env.master b/.env.master index 815114d4..9373ac78 100644 --- a/.env.master +++ b/.env.master @@ -15,7 +15,7 @@ APP_EXPLORER_STATIC_HOST=https://explorer-static.minter.network APP_HUB_API_URL=https://hub-api.minter.network/ APP_ETHEREUM_API_URL=https://rpc.ankr.com/eth #APP_BSC_API_URL=https://bsc-dataseed.binance.org/ -APP_BSC_API_URL=https://bscrpc.com/ +APP_BSC_API_URL=https://rpc.ankr.com/bsc APP_MEGACHAIN_API_URL= APP_HUB_ETHEREUM_CONTRACT_ADDRESS=0x897c27Fa372AA730D4C75B1243E7EA38879194E2 APP_HUB_BSC_CONTRACT_ADDRESS=0xF5b0ed82a0b3e11567081694cC66c3df133f7C8F diff --git a/assets/variables.js b/assets/variables.js index 4239f70b..4aeca683 100644 --- a/assets/variables.js +++ b/assets/variables.js @@ -37,7 +37,7 @@ export const HUB_API_URL = process.env.APP_HUB_API_URL; export const ETHEREUM_API_URL = process.env.APP_ETHEREUM_API_URL; export const BSC_API_URL = process.env.APP_BSC_API_URL; export const MEGACHAIN_API_URL = process.env.APP_MEGACHAIN_API_URL; -export const ETHEREUM_CHAIN_ID = NETWORK === MAINNET ? 1 : 3; +export const ETHEREUM_CHAIN_ID = NETWORK === MAINNET ? 1 : 11155111; export const BSC_CHAIN_ID = NETWORK === MAINNET ? 56 : 97; export const MEGACHAIN_CHAIN_ID = NETWORK === MAINNET ? 0 : 3333; export const ETHERSCAN_API_URL = NETWORK === MAINNET ? 'https://api.etherscan.io/api/' : 'https://api-sepolia.etherscan.io/api/';