Flash Loan Crypto Arbitrage Bot

Job ID: 40037247

Budget: €5,000 – €10,000 EUR

I want a production-ready arbitrage bot that taps flash-loan liquidity, hunts price gaps, and executes fully automated trades across Uniswap, SushiSwap, and PancakeSwap.

Core logic
• The bot must pull a flash loan, scan the three DEXs in real time, identify profitable spreads, and close the cycle in a single transaction so the loan is repaid instantly.
• Continuous price monitoring should be efficient enough to react within a single block; profitability needs to be calculated net of gas and loan fees before any trade is signed.
• Once a spread clears the threshold I set, the trade fires automatically, reports its PnL, and logs Tx details to a dashboard or simple CLI.

Tech expectations
I am comfortable with either Solidity smart contracts or a TypeScript/JavaScript wrapper (ethers.js / web3.js) that calls the contract; pick the stack you are fastest with but architect it cleanly for mainnet deployment. For flash-loan liquidity, Aave v3 or a similar pool is fine—just keep it modular so I can swap providers.

Acceptance criteria
1. Smart contract passes a dry-run on a public testnet demonstrating loan → three-DEX swap → repayment in one atomic Tx.
2. Off-chain service (script or small server) streams prices, triggers the contract, and outputs profit and gas cost.
3. Clear README with setup, env vars, and commands to replicate the test and migrate to mainnet.

If you have previous on-chain arbitrage results, links to verified contracts or Tx hashes will speed up our conversation.