---
description: >-
  Guide to add USDT-MDX on mDEX & LP tokens inside Autofarm Vaults using
  TokenPocket Crypto Wallet
---

# Provide Liquidity + Vaults with TokenPocket

![TokenPocket (Discover dapps)](https://3932166790-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MO1RxykGr3EXoTdlpd_%2F-MTRAKY9MmR8aTwLHIhn%2F-MTRCFRNFgfI1Rf8orvD%2FTokenPocket%20Discover%20Dapps.jpg?alt=media\&token=9ad334f1-5971-400d-86dd-ece142e80806)

1\) Head over to TokenPocket's Discover tab & select HECO's AMM DEX – [mDEX](https://ht.mdex.com/#/swap).

![mDEX Swap UI](https://3932166790-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MO1RxykGr3EXoTdlpd_%2F-MTRAKY9MmR8aTwLHIhn%2F-MTRCWkMYi5f7HvJIDCu%2Fmdex%20Swap%20UI.jpg?alt=media\&token=2a4878fd-399d-4637-9568-6b31361bbf63)

2\) Select the relevant tokens to swap on mDEX (in this case, we're swapping USDT for some MDX tokens).\
\
If it's your first time interacting with the DEX, you will need to approve spending of USDT, afterwards, you can swap accordingly. (Remember that you need $HT Tokens for gas)

{% hint style="info" %}
Click on the gear icon (bottom right-hand corner) and ensure slippage is at 0.5% to get better swap rates & avoid being front-runned by bots.
{% endhint %}

![Swap Confirmation](https://3932166790-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MO1RxykGr3EXoTdlpd_%2F-MTRAKY9MmR8aTwLHIhn%2F-MTRCsgsyZr8TFcQGTJw%2FSwap%20Confirmation.jpg?alt=media\&token=bf58d193-0dde-4e73-a144-0de79120ac8b)

3\) You'll receive a pop-up to confirm the details of your swap before being redirected to confirm your transaction within TokenPocket.

![Add Liquidity](https://3932166790-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MO1RxykGr3EXoTdlpd_%2F-MTRAKY9MmR8aTwLHIhn%2F-MTRDf9ZkOlFmh9I8m_x%2FAdd%20Liquidity%20\(1\).jpg?alt=media\&token=fce2bd95-2c18-418c-bc93-ae84bb11af5a)

4\) After swapping, click on the Pool tab and then the "Add Liquidity" button.

![Adding USDT-MDX Liquidity](https://3932166790-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MO1RxykGr3EXoTdlpd_%2F-MTRAKY9MmR8aTwLHIhn%2F-MTRDBVla-28Jm1ArQ3P%2FAdd%20Liquidity.jpg?alt=media\&token=0a6f070b-5fac-4f16-9fcc-c17f23a5e508)

5\) Key in the number of tokens you would like to supply as liquidity, scroll down and click on the "Supply" button.

![LP Confirmation](https://3932166790-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MO1RxykGr3EXoTdlpd_%2F-MTRAKY9MmR8aTwLHIhn%2F-MTRDvFztyY2KugFxBw0%2FLP%20Confirmation.jpg?alt=media\&token=410284d1-274e-483b-8a68-c2962fcc5b55)

6\) You'll receive a breakdown of the LP tokens that you are supplying along with the relevant information. Scroll down & click on "Confirm Supply" once you've ready. Once you've supplied liquidity, you should see an equivalent amount of LP in your wallet. Click the < button and head over to [Autofarm](https://autofarm.network/) platform.

![Autofarm HECO Vaults](https://3932166790-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MO1RxykGr3EXoTdlpd_%2F-MTRAKY9MmR8aTwLHIhn%2F-MTREIS153oqSFrxnSI3%2FAutofarm%20HECO%20Vaults.jpg?alt=media\&token=94efc726-d23c-4c03-be5c-9071d158519f)

7\) You should see your corresponding amount of LP tokens in the balance of the respective vault (in this case, the USDT-MDX LP Vault).&#x20;

![USDT-MDX Vault](https://3932166790-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MO1RxykGr3EXoTdlpd_%2F-MTRAKY9MmR8aTwLHIhn%2F-MTREVmHtpdE6MYAS7Ed%2FUSDT-MDX%20LP%201.jpg?alt=media\&token=aeb68214-607e-473f-898b-a36dd0178452)

8\) Select the amount of LP tokens you wish to deposit & click on the "Deposit" button to deposit the LP tokens into the vault. (If it's your first time interacting with that particular vault, you will need to approve spending of your tokens)

![USDT-MDX Vault](https://3932166790-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MO1RxykGr3EXoTdlpd_%2F-MTRAKY9MmR8aTwLHIhn%2F-MTREgwS90ZNMd9POkzg%2FUSDT-MDX%20LP%202.jpg?alt=media\&token=cc49afc1-ad71-43ce-a868-1d11e0385292)

9\) After depositing successfully, you should see your LP tokens reflected under the Deposit section alongside details such as the USD value of it and the % with respect to the total value locked in the vault.

10\) If at any point in time you wish to withdraw your LP tokens from the vault, simply click the "Withdraw" button.

![](https://3932166790-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MO1RxykGr3EXoTdlpd_%2F-MTRAKY9MmR8aTwLHIhn%2F-MTREv_SSpikUm_4fKgC%2FDownload%20TokenPocket.jpg?alt=media\&token=a39590df-a4bb-46d6-97ea-aefeb719f1d0)

