# 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**](https://docs.haust.network/testnet/testnet-instructions) phase.

<figure><img src="https://3672846622-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fn5zh4fpSEkvKAmaszfnj%2Fuploads%2FC2VPyLd2ET2a0XP7wttw%2Fimage.png?alt=media&#x26;token=638cfbde-d941-4892-8306-083ffcecf4a5" 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="https://3672846622-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fn5zh4fpSEkvKAmaszfnj%2Fuploads%2FCj4uptuOTCbhCmRcqMll%2Fimage.png?alt=media&#x26;token=c6b84fab-22e8-4193-994d-3a1f7078d9bf" 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="https://3672846622-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fn5zh4fpSEkvKAmaszfnj%2Fuploads%2FsaYXemY5tYOm1VoahnpD%2Fimage.png?alt=media&#x26;token=40d7f8cc-323c-473d-aace-a09ae79dea6f" 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="https://3672846622-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fn5zh4fpSEkvKAmaszfnj%2Fuploads%2FPaukDEp6swR3zmimAOtu%2Fimage.png?alt=media&#x26;token=283130e8-96a2-4f3a-ba0f-fd865bfc9b42" 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="https://3672846622-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fn5zh4fpSEkvKAmaszfnj%2Fuploads%2FaDspwdLlO1Nrg3in71PS%2Fimage.png?alt=media&#x26;token=14b149e5-32c8-4447-9928-6e42b10264fd" alt=""><figcaption></figcaption></figure>

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

<figure><img src="https://3672846622-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fn5zh4fpSEkvKAmaszfnj%2Fuploads%2Fc5UA3DW80lUIVRiPGe1C%2Fimage.png?alt=media&#x26;token=90129b29-c4ab-42eb-8565-336da8e6a5ac" alt=""><figcaption></figcaption></figure>

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

<figure><img src="https://3672846622-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fn5zh4fpSEkvKAmaszfnj%2Fuploads%2FSpGXXekodTD12Oxkw3AV%2Fimage.png?alt=media&#x26;token=f90e807a-5c58-4494-9241-f8245e3b0f10" alt=""><figcaption></figcaption></figure>

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

<figure><img src="https://3672846622-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fn5zh4fpSEkvKAmaszfnj%2Fuploads%2FDV7kHWGLpy7IMM6LHEYU%2Fimage.png?alt=media&#x26;token=b10dbab3-ee0b-4c86-8541-0be9a7f23a4b" alt=""><figcaption></figcaption></figure>

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

<figure><img src="https://3672846622-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fn5zh4fpSEkvKAmaszfnj%2Fuploads%2Fwc779UeGkpfhVjzMZu1z%2Fimage.png?alt=media&#x26;token=05f1ce4b-6373-40b3-b639-2291e91d01af" 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="https://3672846622-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fn5zh4fpSEkvKAmaszfnj%2Fuploads%2FuMtlpLXZ2b2fe5QYBPXa%2Fimage.png?alt=media&#x26;token=f0941fa3-c278-45bc-bb14-27ef998f4722" alt=""><figcaption></figcaption></figure>

2. Choose the token you want to send.

<figure><img src="https://3672846622-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fn5zh4fpSEkvKAmaszfnj%2Fuploads%2FgU95yk5tzi1kVlH7C1sC%2Fimage.png?alt=media&#x26;token=42dc8718-e420-45cc-9559-df4ca7e0d782" alt=""><figcaption></figcaption></figure>

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

<figure><img src="https://3672846622-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fn5zh4fpSEkvKAmaszfnj%2Fuploads%2FYFGVbUJhWA8CRBXgtLDz%2Fimage.png?alt=media&#x26;token=cc83bcea-c4f0-4bcd-a58a-fb4f0cc74a15" alt=""><figcaption></figcaption></figure>

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

<figure><img src="https://3672846622-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fn5zh4fpSEkvKAmaszfnj%2Fuploads%2FULuboop9PDPrpozfdsNU%2Fimage.png?alt=media&#x26;token=db8b6383-f2cc-4f6d-b37a-261af48b344e" 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="https://3672846622-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fn5zh4fpSEkvKAmaszfnj%2Fuploads%2Ftf63e7a3H5yFjwuj63GR%2Fimage.png?alt=media&#x26;token=7802b393-7532-4fff-85f9-72e259fcc0da" 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="https://3672846622-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fn5zh4fpSEkvKAmaszfnj%2Fuploads%2Fm04gU1BNbOa5MDgsrXUa%2Fimage.png?alt=media&#x26;token=4accb0e7-d0b1-4a61-a762-4c15b20dd9a4" alt=""><figcaption></figcaption></figure>

3. Select both tokens of the pool.

<figure><img src="https://3672846622-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fn5zh4fpSEkvKAmaszfnj%2Fuploads%2FCLPgwAthRsFRTY046Q3b%2Fimage.png?alt=media&#x26;token=0d64554e-2d36-4253-aed7-5cc84c2ef22b" alt=""><figcaption></figcaption></figure>

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

<figure><img src="https://3672846622-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fn5zh4fpSEkvKAmaszfnj%2Fuploads%2FXNwr5iNlH2SS2DfQlqDA%2Fimage.png?alt=media&#x26;token=f8f767f4-f44b-446f-8eab-1b9a1033a755" 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="https://3672846622-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fn5zh4fpSEkvKAmaszfnj%2Fuploads%2FVSB4603m9jL0FaLwIJDP%2Fimage.png?alt=media&#x26;token=a912a269-ddb5-43b6-852d-5b7936d79f7e" alt=""><figcaption></figcaption></figure>

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

<figure><img src="https://3672846622-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fn5zh4fpSEkvKAmaszfnj%2Fuploads%2FSmeVLWWMdCppby63NGgI%2Fimage.png?alt=media&#x26;token=0365d864-9d71-447a-acbb-d4c72308b53c" 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="https://3672846622-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fn5zh4fpSEkvKAmaszfnj%2Fuploads%2FEwlyyAgvLVEiYIlQbtVT%2Fimage.png?alt=media&#x26;token=cc1626ec-a18c-4241-8c70-e081992de436" alt=""><figcaption></figcaption></figure>

8. The transaction will be submitted.

<figure><img src="https://3672846622-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fn5zh4fpSEkvKAmaszfnj%2Fuploads%2F0ZUXImDuvo09n1f8Fqfg%2Fimage.png?alt=media&#x26;token=9b62ef8d-a08f-460b-b581-4a54a77b5e5b" 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="https://3672846622-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fn5zh4fpSEkvKAmaszfnj%2Fuploads%2FWtuBAiWvVOzCrDARE8nN%2Fimage.png?alt=media&#x26;token=e8dd0eea-e69d-4fe3-aba5-50582952936b" 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.
