2 min read

What is MEV protection on Solana trading bots?

MEV protection routes a Solana trade privately so bots cannot sandwich it. How Jito bundles, tips and priority fees work, what BonkBot, Axiom and Trojan document, and how dydt presets expose MEV protect.

On a busy token, other bots can see your pending swap and trade around it: buying before you and selling after, so you get a worse price. That is a sandwich attack. MEV protection sends the trade privately, often as a Jito bundle with a tip, so it is not exposed. In dydt, MEV protect is a per-preset on/off setting alongside slippage, priority fee and tip fee, so you set it once for buys and again for sells.

How protection works

PieceRole
Private routingThe trade is not broadcast publicly, often a Jito bundle
Tip or bribePays validators to include the bundle; a higher tip can help it land
Priority feePays for faster inclusion on the normal path
SlippageThe limit on how much worse a price you accept; see what slippage is

Read what a Jito bundle is.

What tools document

ToolDocumented behaviour
BonkBotProtection on by default; off is a low-latency route with higher risk; docs recommend keeping it on
AxiomOff and Reduced modes; Reduced uses Jito but some risk remains; higher bribe improves safety without being fully effective
TrojanProtection hides your transaction and routes to trusted validators; off may be faster but less protected
dydtMEV protect toggle per trade preset, with tip fee in SOL and an optional auto fee up to a maximum you set

Setting it in dydt

  1. Open the trading presets for the side (buy or sell).
  2. Set slippage as low as still fills.
  3. Set priority fee and tip fee in SOL, or enable auto fee and a maximum.
  4. Switch MEV protect on for volatile pools.
  5. Save and trade with the preset.

Trade-offs

Protection can cost a little speed and a tip. It reduces sandwich risk and does nothing against rugs. Settings guides: BonkBot, Axiom, Trojan.

Questions

What is MEV protection in a trading bot?

Sending your trade privately, often as a Jito bundle with a tip, so other bots cannot sandwich it.

Does protection fully prevent sandwiches?

Not always. Axiom's docs say a higher bribe improves safety but is not 100% effective.

How do I enable it in dydt?

Turn on MEV protect in the buy or sell trading preset.

Does dydt have auto fee?

Yes, with a maximum auto fee you choose.

Does MEV protection stop rugs?

No. It only reduces sandwich risk.

Does it cost extra?

A tip, which is paid in SOL on top of network fees.

More guides

All 88 →