> For the complete documentation index, see [llms.txt](https://hodless.gitbook.io/product-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://hodless.gitbook.io/product-docs/token-trading/buy-sell-tokens.md).

# Buy/Sell Tokens

{% embed url="<https://youtu.be/heC31CdwTQQ>" %}
Video Tutorial: Buy, Sell or Transfer Tokens
{% endembed %}

***

The **Buy/Sell** feature provides an easy and simple way to Buy/Sell a token in just a few clicks, without the need to use third-party services, register accounts on various platforms, etc.

Our short video tutorial on how to buy/sell or transfer tokens:

### How to Buy/Sell a token

1. To **buy/sell a token**, navigate to the main menu and follow the prompts provided in the bot:

<figure><img src="https://1584883750-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMFbER2mVyKdohcY1mFOU%2Fuploads%2Fc8d3F7fnuZpm9Bjk15lN%2Fbuy%20sell.png?alt=media&amp;token=66846bfe-5104-4400-b139-2b3bdc318ee2" alt=""><figcaption><p>Main Menu</p></figcaption></figure>

2. In the main menu, clic&#x6B;**`🌟Buy/Sell`**
3. Click the corresponding **`👛Buy`** or **`🌟Sell`** buttons:

<figure><img src="https://1584883750-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMFbER2mVyKdohcY1mFOU%2Fuploads%2FUygxaE77wq09iLbLuVol%2Fbuy%20sell.png?alt=media&amp;token=7dd49b06-56c1-40ff-b505-89602af848a0" alt=""><figcaption><p>Buy or Sell </p></figcaption></figure>

4. Select your Buy or Sell parameters:

<details>

<summary><mark style="color:green;">Buy</mark> Parameters</summary>

![](https://1584883750-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMFbER2mVyKdohcY1mFOU%2Fuploads%2FjdbRfYn4jddSBZlsPpth%2FBuy%20Settings.png?alt=media\&token=54aa6ab7-b0de-49bd-967a-e1a139aa3f27)

* **Buy Settings (always enabled)**\
  1\. `🟢`[`MEV protection`](#anti-mev-protection.-what-is-it-how-does-it-work) - additional protection measures which protects users against MEV-bots/sandwich attacks.\
  2\. `🟢 Fail protection` - attempts to replicate the transaction prior to broadcasting it to the network. This feature is aimed at avoiding wasting gas on transactions that will potential fail on the <br>
* **Gas:**\
  1\. `Auto` - allow the bot to set gas settings automatically based on current network gas prices. This setting takes into account the current network gas prices as well as an additional **gas delta** to minimize the chance for a transaction to fail on the network\
  2\. `Custom` - select a custom min/max gas threshold<br>
* **Slippage:**\
  1\. `Auto` - slippage is set automatically to minimize the chance for a transaction to fail on the network\
  2\. Custom: % - select a custom slippage value\
  3\. `5%, 10%, 15%, 20%`  - a predefined slippage value<br>
* **BNB/ETH to spend:**\
  1\. `MAX` - select the buy amount for the maximum amount of your wallet balance\
  2\. `0.1, 0.3, 0.5, 0.7, 1 BNB/ETH` - select a predefined amount of your wallet balance to spend\
  3\. `Custom %` **-** select a custom amount of your wallet balance to spend value<br>
* **Choose Wallet:** select the desired wallet to use<br>

</details>

<details>

<summary><mark style="color:red;">Sell</mark> Parameters</summary>

![](https://1584883750-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMFbER2mVyKdohcY1mFOU%2Fuploads%2FM9GFK7N6v5aq2Z2LyJrR%2FSell%20Settings.png?alt=media\&token=156f6cf3-9adb-4733-b4f9-0972f7635f5e)

* **Buy Settings (always enabled)**\
  1\. `🟢`[`MEV protection`](#anti-mev-protection.-what-is-it-how-does-it-work) - additional protection measures which protects users against MEV-bots/sandwich attacks. \
  2\. `🟢Fail protection` - attempts to replicate the transaction prior to broadcasting it to the network. This feature is aimed at avoiding wasting gas on transactions that will potential fail on the&#x20;
* **Gas:**\
  1\. `Auto` - allow the bot to set gas settings automatically based on current network gas prices. This setting takes into account the current network gas prices as well as an additional **gas delta** to minimize the chance for a transaction to fail on the network\
  2\. `Custom` - select a custom min/max gas threshold
* **Slippage:**\
  1\. `Auto` - slippage is set automatically\
  2\. Custom: % - select a custom slippage value\
  3\. `5%, 10%, 15%, 20%`  - select a predefined slippage value
* **Amount of tokens to Sell**\
  1\. `10%, 15%, 25%, 50%, 75%, 100%` - a predefined amount of tokens to sell\
  2\. `Custom` **-** select a custom amount of tokens to sell
* **Choose Wallet:** select the desired wallet to use

</details>

5. Next, enter the contract address of the token that you wish to buy/sell:

<figure><img src="https://1584883750-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMFbER2mVyKdohcY1mFOU%2Fuploads%2FGljKzp0dhPHWiKAHuqLG%2FInput%20token%20address.png?alt=media&amp;token=23208fea-bdfd-4381-8cca-9c793adccf12" alt=""><figcaption></figcaption></figure>

6. Click **`🤝Confirm`** to confirm your transaction:

<figure><img src="https://1584883750-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMFbER2mVyKdohcY1mFOU%2Fuploads%2FpUyxRXmcoDAKutOhwid8%2FConfirm.png?alt=media&amp;token=21e101a0-7e04-49c6-8e0a-b9abab24e883" alt=""><figcaption></figcaption></figure>

7. A corresponding message will then be displayed with the TX hash for your buy/sell:

<figure><img src="https://1584883750-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMFbER2mVyKdohcY1mFOU%2Fuploads%2FAViqb29bIbuBwgEMLIae%2FBuy%20successful.png?alt=media&amp;token=c3fd6be0-94ac-41cb-96ba-b4437e609efd" alt=""><figcaption></figcaption></figure>

8. Enter the **`/start`** command in your Hodless Bot after a successful Buy/Sell transaction to update your wallet balances interface.

### Token Buy/Sell FAQ

<details>

<summary>'<code>No information available on this address</code>' <mark style="color:purple;">error when pasting a contract</mark></summary>

![](https://1584883750-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMFbER2mVyKdohcY1mFOU%2Fuploads%2Fi1T4jCfZmg988ureyhxO%2FChain.png?alt=media\&token=4ee2fc4f-1195-4a06-9b43-550db6124bc0)\
\
This error occurs when the chain of the pasted contract is different than the chain that you have selected in the main menu:

![](https://1584883750-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMFbER2mVyKdohcY1mFOU%2Fuploads%2FplMqHp9oxNwI8JfAWTw1%2FChain.png?alt=media\&token=c221f1c3-0074-4d12-97f0-f9ba586e149e)

When setting up a buy/sell, make sure that the network selected in the main menu correlates with the network for the pasted contract address.

</details>

<details>

<summary><mark style="color:purple;">Anti-MEV protection. What is it? How does it Work</mark></summary>

**MEV protection** (Anti-MEV) is a protection feature which aims to protect user's transactions against MEV-bots and sandwich attacks:

![](https://1584883750-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMFbER2mVyKdohcY1mFOU%2Fuploads%2FPCh1wPC5HkEMmRaZ4XCw%2FMEV%20protection.png?alt=media\&token=bd8cb206-11a4-4ee7-a1d4-659606e36ac5)\
\
By keeping transactions private, they are not visible to MEV-bots until they are mined on the blockchain, thus mitigating sandwich attacks and MEV-bot attacks.\
\
Anti-MEV is **always enabled** for Hodless bot Buy/Sell transactions to provide all users with additional protection.

</details>

<details>

<summary><mark style="color:purple;">Fail Protection. What is it? How does it work?</mark></summary>

**Fail protection** is automated system which attempts to estimates gas fees based on current blockchain conditions when sending a transaction.&#x20;

![](https://1584883750-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMFbER2mVyKdohcY1mFOU%2Fuploads%2FpJNN9cV4qya7dzR5p82a%2FFail%20protection.png?alt=media\&token=991b907d-d2ed-4eed-b71a-83bec81a692c)\
\
This features is aimed at ensuring that gas is not wasted on transactions that would otherwise be likely to fail.\
\
Fail protection is **always enabled** for Hodless bot Buy/Sell transactions.

</details>
