> For the complete documentation index, see [llms.txt](https://docs.flashx.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.flashx.ai/1-click-trading-instant-buy.md).

# 1-Click Trading (Instant Buy)

## 1. 1-Click Trading - Miniapp version

The **1-Click Trading** feature allows users to purchase tokens with **one click**, providing a seamless trading experience. There’s no need to manually adjust **slippage** or configure **transaction details**—simply confirm and buy instantly.

### How to Use Instant Buy

1. **Tap "Buy Presets"** – This will open the **Instant Buy Settings** window.
2. **Set "Fund Each Buy"** – Define the amount you want to allocate per trade. Ensure your wallet has sufficient funds in the **native token** of the chain you’re purchasing on.
3. **Adjust Additional Settings (Optional)**
   * **Priority Fee** – Increase this if you want faster transaction processing.
   * **Slippage Limit** – Set the maximum slippage tolerance for the trade.
4. **Tap "Apply"** to save your settings and execute purchases instantly.

<figure><img src="/files/KWP1nbDlKadXDKBuqGV4" alt="" width="375"><figcaption></figcaption></figure>

### Instant Buy Setting

* **Fund Each Buy:** This is the amount allocated for **each individual trade**. Set this based on your **budget** and **trading strategy**.
* **Priority Fee:** The **priority fee** ensures your transaction is **processed faster** by paying a higher fee to the blockchain network. Adjusting this can help during times of **high network congestion**.
* **Slippage Limit:** Slippage refers to the **difference** between the expected price and the actual execution price. By setting a **maximum slippage percentage**, you allow FlashX to optimize the best price while ensuring your trade **executes efficiently**.

<figure><img src="/files/phEBLTVioPbiNYi6y5Mj" alt="" width="375"><figcaption></figcaption></figure>

## 2. 1-Click Trading - Extension version

### **How to Access Instant Buy**

**Detecting Tokens**: When FlashX detects a **token’s smart contract** on **X (Twitter)**, it will highlight the token symbol, allowing you to click and buy the token immediately using the **Instant Buy** feature.

### **How Instant Buy Works**

* **Quick Token Purchase**: Instant Buy allows you to buy a token quickly by clicking on the token symbol once it’s detected on **X (Twitter)**. You can set the amount of each buy, making it easier to execute trades immediately.
* **Using Funds from Vault**: Funds for purchasing tokens will be used from your **Vault wallet** on the **respective blockchain** of the token you wish to buy.
  * **Important**: Ensure that you have enough **native tokens** (e.g., Solana for Solana-based tokens, ETH for Ethereum-based tokens) in your **Vault wallet** to make the purchase.

### **Instant Buy Settings**

**Open FlashX** and **click on the dropdown icon** at the top of the screen to access the **Instant Buy** settings.

<figure><img src="/files/KLhAcyFB8TwJJOU8442o" alt="" width="375"><figcaption></figcaption></figure>

1. **Total Fund**:
   * This is the **total amount of funds** allocated for **Instant Buy** transactions.
   * **Note**: The total fund will be **reset** each time you click **"Save Changes"**. Ensure that you update your fund allocation if needed.
2. **Fund Each Buy**:
   * This is the **amount of funds** used for each **individual trade**. You can set this amount based on your preference.
3. **Priority Fee**:
   * **Priority fees** ensure that your transaction is processed faster. This fee is paid to the blockchain network with each trade to prioritize your transaction over others.
4. **Slippage**:
   * Set the **maximum slippage** percentage for each trade. FlashX will optimize the best slippage possible within your set limit to help execute the trade efficiently.

<figure><img src="/files/XqPL7ZidJwiAEJFkc9UZ" alt="" width="375"><figcaption></figcaption></figure>

### **Auto Sell Settings**

**Auto Sell** allows you to automatically sell tokens based on market movements. You can set **Stop Loss** and **Take Profit** to help manage your trades.

1. **Stop Loss**:
   * If the token price **decreases** by a certain percentage, it will automatically trigger a **sell** to minimize losses. Set your desired percentage to activate the sell.
2. **Take Profit**:
   * If the token price **increases** by a set percentage, it will trigger a **sell** to lock in profits. Set your desired percentage to trigger the sale.
