Setup Edit the .env file and set: the desired block range an etherscan API key (optional) an ETH RPC (your own node will make computation faster) Install packages: npm i Run node index.js