When trading on DEXs like Uniswap, don't just hit Swap; there's a lot more to it. Newbies are most likely to fall victim to 'sandwich bots' (MEV Bots).
In simple terms, as soon as you submit a buy order, the bot detects it and immediately raises the price to buy in front of you. After you finish your purchase, it sells at a higher price to you, resulting in a loss of your coins in the process.
Practical defense tactics:
1. Set slippage reasonably: For mainstream coins, keep slippage low (below 0.5%); for lesser-known tokens, you have to set higher slippage. Don't set slippage too high just for quick transactions, as that only gives money to the bots.
2. Anti-sandwich tools: Use some RPC nodes with anti-MEV features or aggregators like CowSwap and 1inch, which have mechanisms to protect your trades from being sandwiched.
3. Clean up after trading: After trading lesser-known tokens, remember to revoke token approvals to prevent contracts from having backdoors.
DEXs are dark forests; make sure to take the right weapons before entering.
