The sandwich attack: how MEV bots trade around you, and how to stop feeding them
Maximal extractable value (MEV) is the profit someone can make by choosing the order of transactions in a block. Its most common form, the sandwich attack, buys right before your swap and sells right after it. This post walks through one sandwich with real numbers, shows why your slippage setting is the attacker's budget, and compares the defences that work today.