🥪 Sandwich Attack Simulator

Submit a swap and watch a MEV bot detect it in the mempool, front-run to move the price, let your swap execute at a worse price, then back-run to pocket the difference.

📡 Mempool (Pending Transactions)
No pending transactions...
Your Price (No Attack)
-
Your Price (Attacked)
-
Extra Cost to You
-
Bot Profit
-

🛡️ Slippage Tolerance — The Safety Zone

Your slippage tolerance defines the maximum price you'll accept. See it visualized as a zone on the price curve — anything outside reverts your transaction.

Tradeoff: Low slippage tolerance = your tx may fail (revert) if price moves. High slippage = you'll always get filled, but bots can extract more value from you. 0.5-1% is typical for major pairs.