# Auto Sniping

Auto Sniping automatically purchases a newly launched token the moment liquidity is added to its trading pair.

{% hint style="info" %}
To auto snipe a new token launch, you need to obtain the contract address before liquidity is added to the token pair. Follow the [Banana SOL Deployer channel](https://t.me/bananadeployerSOL), to find newly deployed contracts for sniping. Keep in mind that most token deployments are scams—do your own research to find the best tokens to snipe.&#x20;
{% endhint %}

<table data-header-hidden><thead><tr><th valign="top"></th><th></th></tr></thead><tbody><tr><td valign="top"><h3>How to Set up an Auto Snipe</h3><ol><li>Select the Auto Sniper button in start menu or paste a token contract address that isn't live yet. This will open the auto snipe menu.</li><li>Enter the recommended or higher MEV Tip to maximize your chances of inclusion in the first block.</li><li>Set the snipe duration for how long the bot should wait for liquidity to be added.</li><li>Enable Auto Snipe and wait for "Auto snipe is running" message. </li></ol><p>You can disable your pending snipe by selecting "Enable Auto Snipe" again. <br><br></p><p><br></p></td><td><img src="/files/3FTs67qs5JtCoNs11DJT" alt="" data-size="original"></td></tr></tbody></table>

{% hint style="info" %}
**Important:** Review the auto snipe settings below (e.g., "Active h," "Auto Spend") and adjust them for your snipe.
{% endhint %}

### Auto Sniping Menu

{% tabs %}
{% tab title="Settings" %}
{% hint style="info" %}
Default values for "Auto Spend," "Auto Snipe Gas," "Anti-MEV," "MEV Tip," and "Slippage" are imported from your "[Snipe Presets](https://banana-gun.gitbook.io/banana-gun-solana/advanced-features/pages/YH9duSZ5M1LlLrkWTCkv#id-3.-snipe-presets)" menu. When you customize these values in the "Auto Snipe" menu, your changes will automatically update in "Snipe Presets" as well.
{% endhint %}

<figure><img src="/files/Hc7v0GQjpbDxonOFmqDk" alt=""><figcaption><p>Auto Snipe Settings Menu</p></figcaption></figure>

1. **Wallet Change:** Choose wallet(s) for trades. You can use multiple wallets at once. If none are selected, your default wallet will be used.
2. **Auto Snipe Gas:** Set the gas fee used for the snipe.
3. **Enable Auto Snipe:** Turn on/off snipe.&#x20;
4. **Auto Spend:** Set the SOL amount to spend for the snipe.
5. **Anti-MEV:** Turns MEV (sandwich attack) or Anti-MEV + Public protection on or off.
6. **Mev Tip:** Set a tip to prioritize your transaction when Anti-MEV is enabled.
7. **Bundle Fees:** When enabled, transactions include a separate priority fee and tip. When disabled, the tip value is used as the priority fee if sent through staked nodes.
8. **Slippage:** Set the maximum price change (0–99%) you'll accept. 100% means unlimited slippage.
9. **Active:** The duration the snipe remains active.
10. **Min Liquidity:** The minimum amount of pooled SOL required to trigger the snipe.
11. **Max Liquidity:** The maximum amount of pooled SOL required to trigger the snipe.
12. **Min Token Liquidity:** The minimum amount of pooled tokens required to trigger the snipe.
13. **Max Token Liquidity:** The maximum amount of pooled tokens required to trigger the snipe.
14. **MinToken:** The minimum number of tokens you receive. You can set a custom amount or leave it on auto.
15. **Click to Refresh:** Updates the token information (price, market cap).
    {% endtab %}

{% tab title="How to Change Settings" %}

<figure><img src="/files/JYzZvMcVl1T8dC6iNqsS" alt="" width="344"><figcaption><p>Changing Slippage and Snipe Length</p></figcaption></figure>

1. Click the "Pending Snipes" button in the start menu.&#x20;
2. In the "Pending Snipes" menu, select "Edit."
3. Choose the setting you want to change.
4. Enter a new value in the text box or toggle a button.
5. Your preset will update, and the new value will appear (e.g., "Slippage" set to 10%).
   {% endtab %}
   {% endtabs %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://banana-gun.gitbook.io/banana-gun-solana/advanced-features/auto-sniping.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
