sniper-bot to buy and sell tokens right after listing
- In project folder, create a .env file
- Add the following variables: PRIVATE_KEY= /YOUR_PRIVATE_KEY/ MAINNET_RPC_URL= /YOUR_WEBSOCKET_URL_TO_ETHEREUM_MAINNET/
- In the "sniper-bot.js" file, edit the "tokenToBuy" object, adding the symbol of the token you want to buy
- Set your target profit at the "isTimeToSell" method call (line 81), third parameter
- Run the bot few minutes before the token listing