# Providing Liquidity

To provide and manage the pool liquidity, follow the steps below.

### Adding liquidity

* Go to Fathom [DApp](https://dapp.fathom.fi/#/swap/pool).
* Connect your Web3 wallet (such as [MetaMask](https://metamask.io/)) and make sure your network is set to the intended chain (i.e., [XDC](https://chainlist.org/chain/50)).

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

***

* There are 2 options for the next action:
  * Creation of Pair - If there is no such token pair yet (you can validate it on the [charts page](https://dapp.fathom.fi/#/charts)), you can click on the "**Create a pair**" button and fill in the amounts of the initial liquidity in the pool.

<div data-full-width="true"><figure><img src="/files/AmCYVYMQvi8R79Noa7xj" alt=""><figcaption></figcaption></figure></div>

* Adding liquidity to existing Pair - If the pair already exists, you can click the "**Add Liquidity**" button, enter the balance of one of the tokens, and the balance of the second one will be automatically calculated based on the current ratio in the pool.

<div data-full-width="true"><figure><img src="/files/gYzPMj0DmRluNUNoyhEP" alt=""><figcaption></figcaption></figure></div>

***

<div data-full-width="true"><figure><img src="/files/MIak9DZFZ0TCqd8cJ9zY" alt=""><figcaption></figcaption></figure></div>

* Click "**Supply**"
  * You may be required to approve the tokens transfer before the actual transfer (depending on your previous approvals).
  * Sign and send the transaction in your Wallet.
  * Wait for the transaction to be processed.
  * Once the transaction has gone through, you'll see your position in "**Your Liquidity"** has either changed, or appeared.

### Removing Liquidity

* Click "Manage" button.

<figure><img src="/files/2LTM4apfuTsldrIeQmIP" alt=""><figcaption></figcaption></figure>

* Clock "Remove" button.

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

* You can remove tokens in percentage to your total share of the pool, or use exact amounts by clicking on "Detailed" button

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

* Click "**Remove**"
  * You may be required to approve the lp token transfer before the actual transfer (depending on your previous approvals).
  * Sign and send the transaction in your Wallet.
  * Wait for the transaction to be processed.
  * Once the transaction has gone through, you'll see your position in "**Your Liquidity"** has either changed, or disappeared.


---

# 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.fathom.fi/dex/user-guides/providing-liquidity.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.
