# Testnet DEX Instructions

## 1. CONNECT WALLET

1. Open the [**Haust DEX**](https://dex.testnet.haust.app/) site and click the **Connect** button to link the wallet you previously used during the [**Testnet Erigon**](/testnet/testnet-instructions.md) phase.

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

2. The wallet balance and all tokens will be displayed by clicking on the connected wallet in the top right corner(*currently 5sec update time*).

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

3. You will also be able to view created pools and transaction history in the Activity tab (*coming soon*).

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

## 2. SWAP TOKENS

1. Click the **Select Token** button, choose a token and enter the amount you wish to swap.

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

2. After reviewing the transaction details and current rates, click **Approve** if necessary and confirm the transaction in Metamask.

<figure><img src="/files/06otgL7cUS1mdVjhcGjt" alt=""><figcaption></figcaption></figure>

3. Next, click the **Swap** button.

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

4. Review all the details carefully, then click **Confirm Swap** and approve the transaction in MetaMask.

<figure><img src="/files/6c2RZVfYJpDHRwvZcI7y" alt=""><figcaption></figcaption></figure>

5. You can display the token in Metamask by clicking the **Add** button.

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

6. After the transaction is complete, a notification will appear in the top right corner.

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

7. You can verify your balance in Metamask to confirm that the funds have been received and are displayed correctly.

## 3. SEND TOKENS

1. To transfer tokens using **Haust DEX**, click the **Send** button.

<figure><img src="/files/78lmMoRX5Yrj8s60WLLo" alt=""><figcaption></figcaption></figure>

2. Choose the token you want to send.

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

3. Enter the wallet address, specify the amount and click the **Send** button.

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

4. Review the transaction details, click the **Confirm** button and approve it in Metamask.

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

## 4. CREATE TOKEN POOLS

1. Click the **Pool** button located in the top left corner of the site.

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

2. If no pools have been created, the area will be empty. Click the **New Position** button to create a pool.

<figure><img src="/files/5mkb3a71qjg23dmwpAiC" alt=""><figcaption></figcaption></figure>

3. Select both tokens of the pool.

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

4. Choose the fee tier that best suits your pool.

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

5. Next, you can define the range using the minimum and maximum price or select the **Full Range** option.

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

6. Enter any of the amounts below and the other will be calculated automatically. Then, click [**Preview**](/testnet/preview.md).

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

7. Review all the details of the created pool, then click **Add** and confirm the action in Metamask.

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

8. The transaction will be submitted.

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

9. The pool will be created and added to the list of previously created pools, if any exist.

<figure><img src="/files/8M4r1TOZobZBCmhZSD8z" alt=""><figcaption></figcaption></figure>

## 5. COMPLETE HAUST DEX TESTNET BUG REPORT

1\. Please complete the [Google form](https://docs.google.com/forms/d/e/1FAIpQLSeiNMouPzj5qS0F53xRn02l5M_Xf8npi3w21wmpTg9iyCeN-A/viewform) and list all the issues you encountered.


---

# 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.haust.network/testnet/testnet-dex-instructions.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.
