# Solana Automatic Sell Tutorial

## Preparation

1. A computer or a mobile phone
2. Solana Wallet ([Phantom Wallet Installation Tutorial](https://docs.gtokentool.com/en/solana/phantom-wallet-installation-tutorial))
3. The private key of the wallet to be batched
4. Tokens required for batch transactions
5. Some SOL is used to pay for transaction GAS

## Precautions

1. The robot is in single-route mode: that is, the SOL pool can only be traded with SOL. The USDC pool can only be traded with USDC.
2. The robot supports all kinds of pools.
3. The price of newly launched projects is unstable, and it is often necessary to increase the slippage point in order to successfully trade.
4. Most of the reasons for transaction failures are: insufficient balance (check if the parameters are filled in incorrectly), transaction expiration (slow node speed), failure to follow the process (for example, starting the transaction without checking the pool), low mining fee (you can increase the mining fee).
5. Your private key will not be stored on the platform, all operations are performed based on the front-end, please feel free to use it. If you are more worried, you can use the new wallet operation.

## Solana Automatic Sell Operation Process

### 1. Connect Wallet

Go to the Solana automatic sell page: <https://sol.gtokentool.com/market/AutoSell>, click "<mark style="color:red;">`Select Wallet`</mark>" in the upper right corner and select network.

<figure><img src="/files/DFv4zNlqF6S4wmBMNMoa" alt=""><figcaption></figcaption></figure>

### 2. Enter the currency to be traded in batches

Search for tokens by entering the token address and select the target token.

<figure><img src="/files/d7iDk4AjUi9mjvb38PBV" alt=""><figcaption></figcaption></figure>

Then select the corresponding base token.

<figure><img src="/files/jOE4tDAhNcNPXrPn5x79" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/IbAtgpJgbSQ3PIpmUhuM" alt=""><figcaption></figcaption></figure>

### 3. View Trading Pool ID

After selecting the token, slide to the log at the bottom of the screen to view the current transaction pool ID and the current price. Click "<mark style="color:red;">`Clear Log`</mark>" to clear the log information. If you want to confirm the transaction pool ID again after clearing the log, click the "<mark style="color:red;">`Check Pool`</mark>" button.

<figure><img src="/files/VyIaYwe5piqOoeJBMsra" alt=""><figcaption></figcaption></figure>

### 4. Setting Related Configuration Parameters

**Mode**: Buy First And Sell Later; Only Sell Not Buy.

**Amount**: There are four ways to choose from.

* **All**: Buy all tokens at once, ignoring the price and slippage.
* **Random**: Randomly buy tokens according to the set amount range.
* **Fixed**: Buy according to a fixed amount of SOL.
* **Random Percentage:** Randomly buy tokens according to the set percentage range.

**Sell Amount (%):** The percentage of the selling amount.

**Price Changes(%):** Set the selling price. <mark style="color:purple;">Buy First And Sell:</mark> If the price change percentage is 2% and the purchase price is 100, then it will be sold at a price of 102. <mark style="color:purple;">Only Sell Not Buy:</mark> If the price change percentage is 2% and the current price is 100, the selling price will be 102, and all wallets will sell at 102. <mark style="color:purple;">If this price is not reached within the set selling time, it will be sold at the price at the time when the selling time arrives.</mark>

**Execution Interval**: The execution interval between each buy or sell, in seconds.

**Slippage**: The maximum acceptable wear and tear cost for each transaction. For newly launched tokens, the slippage will be higher.

**Native PUMP:** Enable this option when the PUMP cannot check the pool.

**Automatic Selection DEX:** When you know the DEX, you can manually select the DEX. When you don't know the DEX, you can turn on this option. <mark style="color:purple;">If the manual selection of DEX fails to trade, please switch to automatically select DEX and trade again.</mark>

**Gas**: Determines your transaction speed to a certain extent. The more gas you pay, the faster the transaction speed will be in principle.

* **Default**: additional expenditure of 500,000 gas, about 0.000175 SOL.
* **Fast**: additional expenditure of 1000,000 gas, about 0.00035 SOL.
* **Other**: You can enter your own custom gas fee.

{% hint style="warning" %}
If our nodes do not meet the requirements for the threads you need, please purchase a private node.\
If you click "Stop" and the thread does not stop, click a few more times to stop it. If you select sell all, it will stop automatically.
{% endhint %}

<mark style="background-color:blue;">**Buy First And Sell Later Mode parameter display:**</mark>

<figure><img src="/files/Ieg44zwZ3gSuEemtyrE9" alt=""><figcaption></figcaption></figure>

<mark style="background-color:blue;">**Only Sell Not Buy Mode parameters display:**</mark>

<figure><img src="/files/FWPNul1cCUteB6BmRI7I" alt=""><figcaption></figcaption></figure>

### 5. Import Wallets

Click "<mark style="color:red;">`Import Wallet`</mark>" to import wallet, then click "<mark style="color:red;">`Refresh Wallet`</mark>" to refresh the wallet balance. You can also check token balance by clicking "<mark style="color:red;">`Query Token Balance`</mark>". If you do not want to use a wallet, you can click the "<mark style="color:red;">`Delete`</mark>" button to delete the wallet. Click "<mark style="color:red;">`Selling`</mark>" to sell all the target tokens in the wallet. Fill in the <mark style="color:red;">`Price Changes`</mark> and <mark style="color:red;">`Sell Time`</mark>. <mark style="color:purple;">If it has been set above, you may not set it again. In this case, all wallets will uniformly adopt the parameters set above. You can also set the parameters for each wallet individually.</mark>

<figure><img src="/files/QJCAUI48DD5pIb1BSWqH" alt=""><figcaption></figcaption></figure>

### 6. Start Batch Trading

Transaction logs can be viewed in real time.

<figure><img src="/files/hD5l0HVHCsy7o4HsyVxB" alt=""><figcaption></figcaption></figure>

After the transaction is successful, you can copy the hash value and view the transaction record on the [blockchain explorer](https://solscan.io/).

<figure><img src="/files/sYbTOoG4fVxk4gycIbDH" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/qIpMaTQbZmjtvvl11mcB" alt=""><figcaption></figcaption></figure>

If you have any questions or are unclear, please join the official Telegram group: <https://t.me/GToken_EN>


---

# 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://docs.gtokentool.com/en/solana/solana-automatic-sell.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.
