> For the complete documentation index, see [llms.txt](https://docs.smithii.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.smithii.io/products/dev-bots/pump-fun-bots/anti-mev-volume-bot.md).

# Anti-MEV Volume Bot

Generate buy-and-sell volume on a Pump.fun or PumpSwap token with a bot whose trades are built to resist MEV and sandwich attacks.

The Anti-MEV Volume Bot runs a series of **buy and sell cycles** on a Pump.fun token in the background. Each buy-sell pair is called a "bundle". The goal is visible volume and on-chain activity on DexScreener, Birdeye and Pump.fun itself, while keeping MEV bots from profiting from those trades.

It is for token teams who want clean volume without giving money away to sandwich bots.

There are two versions, **Pump.fun Anti-MEV** and **PumpSwap Anti-MEV**. They work the same way for you (same form, same limits, same fee). The only difference is the token phase each one is for (see the comparison below).

{% hint style="info" %}
The bot **doesn't protect trades you make by hand** or trades from other users. It protects the trades the bot itself makes. It is also not the same as the general [Volume Bot on Solana](/products/dev-bots/market-maker.md): here each cycle is a buy-sell pair designed to be protected.
{% endhint %}

### The problem it addresses

* **MEV** (maximal extractable value): profit made by bots that see your pending transactions and get in ahead of them.
* **Sandwich attack**: a bot sees you are about to buy, buys right before you (pushing the price up), lets your buy go through at the higher price and sells right after, keeping the difference. With a separate buy and sell, each one can be sandwiched, and the project's money ends up with the bot.
* **How the bot handles it**: it is designed to send the buy and the sell of each cycle together, as one bundle, so other bots have no room to slip a trade in between. This part runs on Smithii's bot service, not in your browser.

## Open the tool

* [Open Pump.fun Anti-MEV on Solana](https://tools.smithii.io/pump-anti-mev/solana)
* [Open PumpSwap Anti-MEV on Solana](https://tools.smithii.io/pumpswap-anti-mev/solana)

## How it works

1. Paste the **token address** (the mint). The tool shows the name and symbol if it finds them.
2. Choose the mode with the tabs:
   * **Wallet Volume Bundle**: trades with your own connected wallet.
   * **Private Key Volume Bundle**: trades with several wallets whose private keys you import.
3. Set how many bundles, how much SOL per bundle and the time between bundles (details below).
4. Check the figures at the bottom: "Estimated Volume", "Spend / Bundle", "Trading Capital" and "Total Fees".
5. Click **Start Bot**. If no wallet is connected, the button says "Connect Wallet".
6. Follow the run in the tracking panel, with **live logs** and **history** tabs. A run can be pending, running, completed, failed or "attention required".

## Features and options

### Wallet Volume Bundle (connected wallet)

* You sign **two transactions**: first the Smithii fee (0.1 SOL), then a **deposit** of the operating SOL the bot needs to buy and sell.
* Smithii checks the deposit on-chain before starting, and only then the bot starts.
* Your wallet needs at least: SOL per bundle × number of bundles (in random mode, the maximum of the range) + 0.1 SOL fee + 0.005 SOL reserve. If it isn't enough, the tool tells you before charging anything.
* **Parameters** (choose with the "Fixed / Random" selector under "Volume Bundle Parameters"):
  * **Fixed**: a fixed amount per bundle (default 0.1 SOL) and a fixed delay between bundles (default 1 second).
  * **Random**: an amount between a minimum and a maximum (default 0.1 and 1 SOL) and a delay between a minimum and a maximum (default 20 and 80 seconds).

### Private Key Volume Bundle (imported wallets)

* Paste or import **up to 20 wallets** (one field per wallet, or bulk import: one key per line, or separated by commas, semicolons, tabs or spaces; duplicates and invalid lines are dropped).
* Each wallet has its own buy amount in SOL (minimum 0.001, maximum 1,000 per wallet; 50% and MAX shortcuts are available).
* You sign **only one transaction** with the connected wallet: the 0.1 SOL fee. Each imported wallet funds its own trades, so it needs amount × bundles + 0.005 SOL reserve.
* **Randomize Buy Amounts for each Private Key**: applies a random ±20% variation to each wallet's amount, so two wallets with the same amount don't look identical.
* The delay between bundles is a random range in seconds (default 20 to 80).

### Common parameters

* **Volume Bundle Times**: number of buy-sell cycles. Minimum 1, maximum 10,000, default 100. In private key mode, **each wallet** runs that number of cycles.
* **Delay**: 0 to 86,400 seconds (24 h).
* **Amount per bundle**: minimum 0.001 SOL, maximum 1,000 SOL.

### Figures shown by the tool

* **Estimated Volume** = 2 × amount × bundles × number of wallets (each cycle is one buy and one sell). With the defaults (0.1 SOL × 100), that is 20 SOL of volume.
* **Trading Capital** = amount × bundles. With the defaults, 10 SOL. It is your own capital; whatever isn't used is **returned when the run ends**.
* **Total Fees** = the Smithii fee.

## Pump.fun Anti-MEV vs PumpSwap Anti-MEV

|                      | Pump.fun Anti-MEV                             | PumpSwap Anti-MEV                                                  |
| -------------------- | --------------------------------------------- | ------------------------------------------------------------------ |
| Token phase          | Token **still on the Pump.fun bonding curve** | Token that has **graduated and migrated** to the PumpSwap AMM pool |
| Form, limits and fee | Same                                          | Same                                                               |
| Where the bot trades | Against the bonding curve                     | Against the PumpSwap pool                                          |

* Use the first while the token is on the curve and switch to the second when the token graduates.
* The tool **doesn't check the token's phase** or warn you if you pick the wrong version. Choosing the right one is up to you.
* The two run separately: the history and active runs of each one don't mix.

## Limits

| Setting               | Limit                                        |
| --------------------- | -------------------------------------------- |
| Bundles per run       | 1 to 10,000 (per wallet in private key mode) |
| Amount per bundle     | 0.001 to 1,000 SOL                           |
| Delay between bundles | 0 to 86,400 seconds                          |
| Imported wallets      | Up to 20                                     |
| Reserve per wallet    | 0.005 SOL                                    |

## Fees

| Action                       | Smithii fee |
| ---------------------------- | ----------- |
| One run of Pump.fun Anti-MEV | 0.1 SOL     |
| One run of PumpSwap Anti-MEV | 0.1 SOL     |

The fee is **fixed per run**: it doesn't depend on the number of bundles or wallets. It is charged once, before starting, from the connected wallet.

The operating SOL (amount × bundles) is **not a fee**: it is the capital the bot buys and sells with. What isn't used is returned, but every cycle pays real network and trading fees, so you **don't get 100% back**.

Network gas is paid separately. Fees were checked on 2026-10-26 and can change: the tool shows the exact amount before you sign.

## Good to know

* **Private key mode**: use it **only with new, disposable wallets** funded with just the amount needed. Never paste the key of your main wallet or of any wallet holding other funds.
* **Connected wallet mode**: the operating SOL is deposited in a **Smithii service wallet** for the duration of the run. You don't control that SOL directly until the run ends and the remainder is returned.
* If you close the tab while a run is starting, the browser remembers the paid run and **resumes** it when you come back. While a paid run is pending recovery, you can't start another one with different settings.
* It generates real volume: every buy-sell pair pays network and trading fees and can move the price. It isn't free or neutral.
* Results depend on liquidity and timing. Trending is not guaranteed.

## FAQ

### Does it protect my own buys and sells?

No. It protects the trades the bot makes while generating volume.

### What is the difference between Pump.fun Anti-MEV and PumpSwap Anti-MEV?

The first is for tokens still on the bonding curve; the second, for tokens already migrated to PumpSwap.

### How much does it cost?

0.1 SOL per run, whatever the number of bundles. On top of that, the SOL you deposit to trade (unused SOL is returned) and gas.

### Can I use several wallets?

Yes, up to 20, by importing their private keys. Use disposable wallets.

### How many bundles can I run?

From 1 to 10,000 per run (per wallet in private key mode).

### Do I get all my SOL back?

Not all of it: unused SOL is returned, but part is spent on fees.

## Related

* [Volume Bot on Solana](/products/dev-bots/market-maker.md)
* [Pump.fun Micro Trading](/products/dev-bots/pump-fun-bots/micro-trading-bot.md)
* [Pump.fun Buy Holders](/products/dev-bots/pump-fun-bots/buy-holders.md)
* [Bundler on Solana](/products/dev-bots/pump-fun-bots/pump-bundler.md)
* Blog: [How to Use an Anti-MEV volume bot on Pump.fun](https://smithii.io/en/volume-bot-anti-mev-pump-fun/)
* Blog: [Differences between Pumpfun and PumpSwap](https://smithii.io/en/differences-pumpfun-pumpswap/)
