> For the complete documentation index, see [llms.txt](https://banana-gun.gitbook.io/banana-gun/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://banana-gun.gitbook.io/banana-gun/advanced-features/sniper.md).

# Sniper

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

{% hint style="warning" %}
**Important**: To 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 %}

### How to Set Up a Snipe

<table data-header-hidden><thead><tr><th valign="top"></th><th valign="top"></th></tr></thead><tbody><tr><td valign="top"><ol><li>Select <strong>Sniper</strong> from the start menu or paste a token contract address that isn't live yet. This will open the <strong>Snipe</strong> panel.</li><li>Enter the recommended or higher <strong>MEV Tip</strong> to maximize your chances of inclusion in the first block.</li><li>Set the snipe duration to control how long the bot waits for liquidity to be added.</li><li>Click <strong>Enable Snipe</strong> and wait for the <strong>Snipe is running</strong> message.</li></ol><ul><li>View and manage pending snipes from the <a href="#pending-snipes">Pending Snipes</a> panel or disable a snipe by clicking <strong>Enable Snipe</strong> again.</li></ul></td><td valign="top"><img src="https://2721983577-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbJwF8I0xl6xfT3mvMxHd%2Fuploads%2FbJoysZJn1K420C5M0qk3%2FSnipe%203.20.gif?alt=media&amp;token=e33f72df-648b-4b90-9d81-1f19e4436189" alt="" data-size="original"></td></tr></tbody></table>

{% hint style="info" %}
**Note:** Review the snipe settings below and adjust them as needed before enabling your snipe.
{% endhint %}

### Snipe

This panel appears after you set up your snipe. It displays your snipe settings and options.

{% hint style="info" %}
**Note:** The example below shows the SOL **Snipe** panel. Some settings differ on EVM chains.
{% endhint %}

{% tabs %}
{% tab title="Settings" %}

<figure><img src="https://2721983577-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbJwF8I0xl6xfT3mvMxHd%2Fuploads%2FotntjrBc0NkVdCseSJt8%2Fimage.png?alt=media&amp;token=30b77b3f-fa81-4d97-815b-70f330c6a57c" alt="" width="375"><figcaption></figcaption></figure>

{% hint style="info" %}
**Note:** On EVM chains, **Snipe Gas** is set in GWEI and the **Anti-MEV** option is not available.
{% endhint %}

1. **Wallet Change:** Select wallet(s) for trades. You can use multiple wallets at once. If none are selected, your default wallet will be used.
2. **Presets:** Select the preset to use (**Normal**, **Fast**, or **Insane**). Each preset uses different gas, MEV tip, and slippage settings.
3. **Enable Snipe:** Turns the snipe on or off.
4. **Spend:** Set the SOL amount to spend for the snipe.
5. **Anti-MEV:** Turns private transaction protection on or off to help prevent MEV (sandwich) attacks.
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're willing to accept. 100% allows 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. **Max Buy Tax:** Set the maximum buy tax allowed for the snipe to execute. If the tax is higher, the snipe remains pending.
16. **Allowed Dexes:** Select which DEXes the snipe can buy from.
17. **Currency:** Select the currency to use for buy orders.&#x20;
18. **Refresh:** Updates the token information (price, market cap).
    {% endtab %}

{% tab title="How to Update a Pending Snipe" %}
Update the settings of a pending snipe.

<figure><img src="https://2721983577-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbJwF8I0xl6xfT3mvMxHd%2Fuploads%2Fq4hrQfrQuD2HcmfafTUA%2Fsnipe%20settings.gif?alt=media&amp;token=68f0dea9-fa38-4191-9fdd-33027fb911b1" alt="" width="338"><figcaption></figcaption></figure>

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

### Pending Snipes

This panel appears when you select **Pending Snipes** from the start menu. It displays your pending snipes and options to manage them.

<figure><img src="https://2721983577-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbJwF8I0xl6xfT3mvMxHd%2Fuploads%2FZePn0AcH1iMqb45JxEtH%2Fimage.png?alt=media&amp;token=62aa46df-9e5d-49a8-be58-411ac2aee671" alt="" width="375"><figcaption></figcaption></figure>

1. **Pending Snipes:** Displays your pending snipe orders. Select the token name to view the snipe, **Edit** to edit it, or **Cancel** to cancel it.
2. **Chain:** Displays the selected chain. Click to select another chain or use the arrows to view pending snipes on other chains.
3. **Refresh:** Refreshes the list of pending snipes.
4. **Token:** Displays the token name. Select the token name to open its **Snipe** panel.
5. **Edit:** Opens the selected snipe settings so you can modify the pending snipe.
6. **Cancel:** Cancels the selected pending snipe.
7. **Cancel All Pending Snipes:** Cancels all pending snipes on the selected chain.
