A simple yet powerful command-line (CLI) tool to check the native token balance (e.g., ETH) of multiple wallet addresses. Ideal for developers and airdrop farmers managing several wallets.
- Reads wallet addresses from a
wallets.txtfile. - Connects to any EVM-compatible network via a configurable RPC URL.
- Displays a clean, color-coded list of balances in the terminal.
-
Clone & Install:
git clone <your-repo-url> cd <your-repo-name> npm install ethers dotenv chalk
-
Create
wallets.txt:- Create a file named
wallets.txtin the same folder. - Add your wallet addresses to this file, with one address per line.
- Create a file named
-
Configure
.envfile:- Create a file named
.envand add your RPC URL:RPC_URL="YOUR_INFURA_OR_ALCHEMY_RPC_URL"
- Create a file named
-
Run the checker:
node balance-checker.js