# Liquidity

Meridian Swap, being an AMM DEX,  relies on Liquidity Providers creating a pool of tokens where users can swap one token for the another. Each pool consists of two different tokens and it is called a Liquidity Pool Pair.

By adding liquidity, Liquidity Providers put an equal value of two tokens to make LP tokens, in return for this service, these providers recieve trading fees for their share of that LP trading pair.

### How To Get Started

### Add Liquidity

1. Start by heading to Meridian Swap and click on "Connect".

<figure><img src="https://2791058162-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FznH0wmdBqe8s23j9vKpZ%2Fuploads%2FPV22CbjLHE8mbkv28Vyx%2Fmeridian%20swap%201.png?alt=media&#x26;token=e2fcd5ee-b4b6-4b48-8536-8620a4932a47" alt=""><figcaption></figcaption></figure>

2. A prompt will be displayed in which you would need to connect your wallet (Metamask wallet is Recommended).

<figure><img src="https://2791058162-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FznH0wmdBqe8s23j9vKpZ%2Fuploads%2FFrHn0U9W0LcYeV1z12E3%2Fmeridian%20swap%202.png?alt=media&#x26;token=85a43046-f776-4f61-8c9c-e8f6c4bf933b" alt=""><figcaption><p>wallet</p></figcaption></figure>

3. Head over to "Liquidity".

<figure><img src="https://2791058162-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FznH0wmdBqe8s23j9vKpZ%2Fuploads%2FmlrsWjfryWXZo62jf9HX%2Fliquidity%201.png?alt=media&#x26;token=76aa2b3e-c675-476e-8d1c-ad69e71d4b0d" alt=""><figcaption></figcaption></figure>

4. At the Liquidity Section, a list of pools in which you've supplied liquidity will be shown, to supply liquidity, click the **"Add Liquidity".**

<figure><img src="https://2791058162-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FznH0wmdBqe8s23j9vKpZ%2Fuploads%2FDeAIPumTApPQMItYyr0C%2Fliquidity%202.png?alt=media&#x26;token=8989c668-3316-4b1b-ac86-15fd43f8703a" alt=""><figcaption></figcaption></figure>

5. After clicking **"Add Liquidity"**, click on **"Select A Currency"** a display page with a list of assets will be shown so you can choose the assets you wish to provide liquidity.

<figure><img src="https://2791058162-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FznH0wmdBqe8s23j9vKpZ%2Fuploads%2FZnpC9DsABvizmkJOkMqK%2Fliquidity%203.png?alt=media&#x26;token=49c971fd-e47d-4dc6-a7b7-215aec60f557" alt=""><figcaption></figcaption></figure>

6. A list of tokens will be shown from the dropdown.

{% hint style="info" %}
If the token you wish to provide liquidity is not on the list, you can search for it using its contract address and add it to the list.
{% endhint %}

<figure><img src="https://2791058162-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FznH0wmdBqe8s23j9vKpZ%2Fuploads%2FVzHolJYMCHfkxkQPE9Ez%2Fliquidity%204.png?alt=media&#x26;token=493ffe7c-6171-43b3-a183-8218aac5ed04" alt=""><figcaption></figcaption></figure>

7. After selecting the first and second token, choose the number of tokens you wish to provide liquidity. You can also click on **"MAX"** to max out. The other token amount will automatically adjust to the same value in USD.

{% hint style="info" %}
The amount of tokens being supplied as liquidity are of equal value (in a 50:50 ratio)
{% endhint %}

<figure><img src="https://2791058162-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FznH0wmdBqe8s23j9vKpZ%2Fuploads%2FhCiRXef0IjUlck4uNVvr%2Fliduiditry%205.png?alt=media&#x26;token=96e1bf78-d613-4c12-88e1-f15cbfe7c7b2" alt=""><figcaption><p>Liquidity</p></figcaption></figure>

8. After choosing the amount to supply, click on "Enable" to authorize the supply of the pair.

<figure><img src="https://2791058162-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FznH0wmdBqe8s23j9vKpZ%2Fuploads%2FBWQbVHeTVtSkmtu4h6gs%2Fliquidity%206.png?alt=media&#x26;token=1ba451d5-0c2e-43e9-814e-65e2fac4a254" alt=""><figcaption><p>Liquidity</p></figcaption></figure>

9. After enabling the pair, a transaction prompt will be issued by your wallet, in which you have to approve and sign the transaction.

<figure><img src="https://2791058162-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FznH0wmdBqe8s23j9vKpZ%2Fuploads%2FWs1eLqKafhDKWlkmsjI0%2Fliquidity%207.png?alt=media&#x26;token=649b0c5d-5258-4b4e-8a98-5472c26f2193" alt=""><figcaption></figcaption></figure>

10. After enabling both tokens to be provided as liquidity, procced to supply liquidity by clicking **"Supply".**

{% hint style="info" %}
Before proceeding to supply the pair, a prompt will be displayed below the "Supply" button providing information of the pool you're providing liquidity in as well as your % share in the pool.&#x20;
{% endhint %}

<figure><img src="https://2791058162-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FznH0wmdBqe8s23j9vKpZ%2Fuploads%2F3kpaOmcF9WnWmPlvHP6R%2Fliquidity%208.png?alt=media&#x26;token=a6951065-afe1-4559-8f31-beed453eae1b" alt=""><figcaption></figcaption></figure>

11. A confirmation window will then be shown, make sure the values are correct before proceeding, if correct, proceed by clicking **"Confirm Supply"**.

<figure><img src="https://2791058162-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FznH0wmdBqe8s23j9vKpZ%2Fuploads%2F0ky2gCtxmrnlxLa3TWnr%2Fliquidity%209.png?alt=media&#x26;token=5a0fe3cc-f0d6-4d21-b827-375f76fce1f7" alt=""><figcaption></figcaption></figure>

12. Once you've clicked on confirm supply, a transaction prompt is brought by your wallet, sign the transaction by clicking ''**Confirm**". &#x20;

{% hint style="info" %}
Make sure you have gas (Native Token), else the transaction won't go through
{% endhint %}

<figure><img src="https://2791058162-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FznH0wmdBqe8s23j9vKpZ%2Fuploads%2FWXjSYzvyxNM8lPHigsXF%2Fliquidity%2010.png?alt=media&#x26;token=1f912f97-73cb-49a7-af03-f3d2d5345896" alt=""><figcaption></figcaption></figure>

13. Once you've confirmed the transaction, Click on "Close". You can also choose to add the LP tokens to your Metamask.

<figure><img src="https://2791058162-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FznH0wmdBqe8s23j9vKpZ%2Fuploads%2FjvV3tI3XBjsv4rR7gtTf%2Fliquidity%2012.png?alt=media&#x26;token=f8b970bc-147c-4c3f-9fbd-96aac488f269" alt=""><figcaption></figcaption></figure>

14. Congratulations, you have now deposited liquidity and will now start earning trading fees! You can now see your deposited LP tokens displayed on your Liquidity dashboard.

<figure><img src="https://2791058162-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FznH0wmdBqe8s23j9vKpZ%2Fuploads%2F8Xn3iSyfN2lzmLxPZJq4%2Fliquidity%2013.png?alt=media&#x26;token=03be7fff-65e0-40b6-8898-afae149366c3" alt=""><figcaption></figcaption></figure>
