Back to simulator
MEV protection guide

MEV Bot on Solana vs XRPL: Jito Bundles and TxnReserve compared

Solana is the most active MEV ecosystem in crypto. This guide explains how an MEV bot sandwiches your swap on Solana, how Jito-Solana bundles and tips defend against it, and how the protection differs from XRPL's proposed TxnReserve mechanism.

What is an MEV bot on Solana?

An MEV bot on Solana is an automated searcher that scans pending transactions and DEX activity for profitable ordering opportunities: sandwiching AMM swaps, back-running large trades, and arbitraging price differences across pools. Because Solana produces a new block roughly every 400ms and validators can reorder transactions within a slot, MEV extraction happens on a much tighter loop than on XRPL or EVM chains.

The most common attack on retail traders is the same one XRPL AMMs face — a sandwich attack: the bot buys the same token you're about to buy, waits for your swap to push the price higher, then sells into your slippage. The difference is where the bot lives and how it wins the race.

How Jito-Solana changes the MEV game

Jito-Solana is a modified validator client with a block engine and a bundle primitive. A bundle is a set of transactions that must execute atomically and in-order in a single slot. Searchers submit bundles privately to the Jito block engine and attach a tip (paid to a tip account) to compete for inclusion.

Two things Jito changes for you
  • Private submission path. If your swap is submitted via a Jito bundle by your wallet or aggregator, MEV bots watching the public mempool cannot see it in time to front-run.
  • Atomic ordering. Inside a bundle, no searcher transaction can be inserted between your buy and any follow-up step. Sandwich attempts either lose the auction or revert.

The tradeoff is the tip. Under contention, the tip can grow non-trivial for large trades, and if your bundle isn't selected the transaction still lands through the normal path — potentially exposed again.

How XRPL TxnReserve compares

XRPL doesn't have a public mempool the way Solana or Ethereum do — transactions reach validators through the peer-to-peer network and settle in the next ledger. TxnReserve, a proposal by David Schwartz, lets you pay at least 2× the normal fee to reserve a slot in a future ledger.

When your slot is reserved, any transaction that first appeared on the network after yours cannot execute before it. That's a deterministic guarantee — not an auction — so an attacker cannot outbid you the way they can outbid a Jito tip.

Side-by-side: Jito Bundle vs TxnReserve

Property Solana Jito Bundle XRPL TxnReserve
Guarantee typeProbabilistic (auction)Deterministic (reserved slot)
Cost modelVariable tip to block engineFixed ≥ 2× base fee
Mempool exposurePrivate path, if bundle winsNo public mempool by design
Failure modeBundle skipped → normal path, may be sandwichedSlot honored, fee is spent regardless
Best forLarge swaps where tip << expected lossAny swap where MEV risk > 2× base fee
StatusLive on mainnet-betaProposed by David Schwartz

Which mechanism defends better?

Under low-contention conditions a Jito bundle is highly effective — the block engine simply won't schedule an interleaving buy. Under high contention (hot token launches, oracle updates), searchers escalate tips and can occasionally win against retail bundles, so protection becomes probabilistic.

TxnReserve is deterministic: the slot is yours the moment the fee is paid. But it's still a proposal, and it costs at least 2× base fee even for small trades where the MEV risk is negligible.

Use the slippage simulator and switch between the XRPL and Solana toggles to see the numeric difference with your own trade size and pool depth.

FAQ

What is an MEV bot on Solana?

An MEV bot on Solana is an automated searcher program that monitors pending transactions and DEX liquidity to extract Maximum Extractable Value. On Solana, these bots often sandwich AMM swaps, back-run large trades, and arbitrage price differences across pools within the same 400ms slot.

How does a sandwich bot work on Solana?

A Solana sandwich bot spots your pending swap, buys the same token just before your transaction to push the price up, lets your trade execute at the worse price, then sells immediately after to capture your slippage as profit. The entire attack can happen inside a single Solana slot.

How to avoid MEV bots on Solana?

The most reliable way to avoid MEV bots on Solana is to route your swap through a wallet or aggregator that submits it as a Jito bundle. Jito bundles are sent privately to a block builder and executed atomically, so searchers cannot see or front-run your transaction. You can also use private RPC endpoints or split large trades into smaller sizes.

What is Jito MEV on Solana?

Jito MEV on Solana is a bundle-based transaction ordering system run by Jito Labs. Searchers and traders attach tips to bundles that are submitted privately to Jito's block engine. Validators earn the tip by including the bundle in-order, which protects retail swaps from public-mempool sandwich bots.

Are Solana MEV bots profitable?

Yes. Solana MEV bots are highly profitable because the chain produces blocks roughly every 400ms and handles large DEX volume. Sandwich bots, arbitrage bots, and liquidation bots compete for tips and inclusion, with some hot-token launches generating hundreds of SOL per day in extracted value.

How much do MEV bots make on Solana?

MEV bot earnings on Solana vary widely with market activity. During quiet periods a single bot may earn a few SOL per day. During volatile token launches, NFT drops, or oracle updates, top searchers can extract tens or hundreds of SOL in a few hours from sandwich attacks and arbitrage.

How to detect MEV bots on Solana?

You can detect MEV bots on Solana by comparing the expected execution price of your swap with the actual price you received. Large unexpected slippage, repeated front-run buys in the same slot, or transactions that sell immediately after your buy are signs of sandwich bot activity. Tools like Jito's block explorer and SolanaFM can help inspect bundle ordering.

Are all Solana wallets protected against MEV bots?

No. Protection depends on whether your wallet or aggregator submits your swap via Jito bundles or a private RPC. A raw sendTransaction call still hits the public path where MEV searchers watch.

What is a good Jito tip for a retail swap?

For sub-$1k swaps the tip is usually a few thousand lamports. For hot launches, tips have historically reached fractions of a SOL. Aggregators set this dynamically based on the expected MEV of your trade.

Does XRPL already have MEV bots?

MEV on XRPL is limited today because there's no public mempool and AMM activity is smaller than Solana's. As XRPL AMM volume grows, TxnReserve is the proposed defense before searchers become a systemic issue.

Can I combine both?

Not directly — they're separate chains. But if you route the same trade through XRPL vs Solana bridges, the simulator on the home page shows how the expected outcome differs under each protection model.

Try the Solana Jito Bundle simulator

Open the simulator, switch to Solana, and toggle the Jito Bundle protection to see how a sandwich bot would affect your swap.