From 1f1cc3c7e9067bde444441f62c1bc506dd442e32 Mon Sep 17 00:00:00 2001 From: void-57 Date: Thu, 8 Jan 2026 23:54:36 +0530 Subject: [PATCH] refactor: Remove example usage code for balance fetching in bscOperator.js --- scripts/bscOperator.js | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/scripts/bscOperator.js b/scripts/bscOperator.js index 4e9a892..0e60594 100644 --- a/scripts/bscOperator.js +++ b/scripts/bscOperator.js @@ -424,19 +424,6 @@ } }); - // Example usage: - // Ensure MetaMask is connected and BSC network is selected in MetaMask - const address = "0xYourAddressHere"; // Replace with your actual address - (async () => { - try { - const usdtBalance = await getTokenBalance(address, "USDT"); - const bnbBalance = await getTokenBalance(address, "BNB"); - console.log("USDT Balance:", usdtBalance); - console.log("BNB Balance:", bnbBalance); - } catch (error) { - console.error("Error fetching balances:", error.message); - } - })(); const estimateGas = (bscOperator.estimateGas = async ({ privateKey,