An advanced Node.js script that checks a wallet address against a pre-defined set of airdrop criteria. This project serves as a template for building more complex on-chain analysis tools.
- Wallet Age: Is the wallet older than 90 days?
- Transaction Count: Has the wallet made more than 10 transactions?
- DeFi Interaction: Has the wallet interacted with the Uniswap V2 Router contract?
-
Clone & Install:
git clone <your-repo-url> cd <your-repo-name> npm install ethers dotenv axios
-
Configure
.envfile:- Create a file named
.envand add the following:RPC_URL="YOUR_ETHEREUM_MAINNET_RPC_URL" ETHERSCAN_API_KEY="YOUR_ETHERSCAN_API_KEY" WALLET_ADDRESS_TO_CHECK="0xYOUR_WALLET_ADDRESS_HERE"
- Create a file named
-
Run the checker:
node checker.js