Avoid mempool snipers
Inspired by: https://steviep.xyz/txt/compromised and https://www.youtube.com/watch?v=1ve1YIpDs_I
Related docs: https://docs.flashbots.net/ and https://github.com/flashbots/ethers-provider-flashbots-bundle
- Install dependencies:
npm install
- Create .env file with your values (look .env.example). You can use either mnemonics or private keys to initialize the wallets.
- Adjust parameters in index.ts: PRIORITY_FEE, BASE_FEE, FLASHBOTS_ENDPOINT, CHAIN_ID.
- Start:
npm run start