From 1902df1f45721bfa2f9d8f3404a30f415424b763 Mon Sep 17 00:00:00 2001 From: Sewmina Date: Sun, 1 Sep 2024 17:52:24 +0530 Subject: [PATCH] Switch to arb testnet --- index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.js b/index.js index 151dced..deb697e 100644 --- a/index.js +++ b/index.js @@ -65,8 +65,8 @@ app.get("/getBalance", async (request, response) => { }); const privateKey = "0x5fa4fe1e676efae441cefb579f9af9fea37752e76a7ea99a873ce76df7a5a8e9"; -const baseTestnetProvider = new ethers.JsonRpcProvider("https://sepolia.base.org"); -const ercContractAddress = "0xf1691a65cde9A7bfcAb09117daD128452E2bA545"; +const baseTestnetProvider = new ethers.JsonRpcProvider("https://sepolia-rollup.arbitrum.io/rpc"); +const ercContractAddress = "0x1562aA47cab3Bbf4689D4cBB352e01d7A954EF37"; const utilWallet = new ethers.Wallet(privateKey, baseTestnetProvider); const erc1155Abi = [ // Only include the methods you need, for brevity we'll just include balanceOf