Price Impact & MEV
See how sandwich bots exploit your swaps, visualize slippage tolerance as a safety zone, and understand why MEV is the "invisible tax" on DeFi.
🥪 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.