# Liquidity Providing (Add/ Remove)

{% embed url="<https://www.loom.com/share/9880711f0315443ebab3419ce08c0aeb?sid=63555c7e-4eed-4af4-987b-aa3d0847a44a>" %}

{% tabs %}
{% tab title="Adding LP" %}

1. **Access Liquidity Section**

* On the left-hand side, select DeFi Trading.
* At the top, click Add Liquidity.

2. **Choose Token Pair**

* Select the two tokens you want to provide liquidity for (e.g. ETH / USDC).
* Enter the amount for one side — the system auto-calculates the matching pair amount.

3. **Review Details**

* Check pool share, estimated fees, and service fee.
* Singularity will route through integrated DEX liquidity (Uniswap, Curve, etc.) while preserving privacy.

4. **Confirm Transaction**

* Click Proceed.
* Approve the tokens if required.
* Confirm in your connected wallet.

5. **Wait for Processing**

* Liquidity provisioning uses zero-knowledge proofs, so it may take slightly longer than a normal DEX.

✅ Done!

Your LP tokens are created privately and your position will appear in LP Positions.
{% endtab %}

{% tab title="Remove LP " %}

1. **Access LP Positions**

* On the left-hand side, select DeFi Trading.
* At the top, click Add Liquidity → then go to LP Positions.
* Click Select to view your active positions.
* Choose the position you want to manage.

2. **Collect Fees (Optional)**

* If you only want to take fees and keep the LP open:
  * Click Collect Fees → confirm in your wallet.
* Skip this if you want to fully close the position.

3. **Remove Liquidity**

* Select the open position.
* Click Proceed.
* Confirm the steps in your connected wallet.

4. **Wait for Processing**

* Transactions use zero-knowledge proofs, so it may take slightly longer.

**✅ Done!**

Your assets and any collected fees are returned to your wallet privately.
{% endtab %}

{% tab title="Collecting Fees" %}

1. **Open LP Positions**

* On the left-hand side, select DeFi Trading.
* Click LP Positions to view your active positions.
* Click Select on the position you want to manage.

2. **Check Unclaimed Fees**

* You’ll see details of the position including your share and unclaimed fees.

3. **Collect Fees**

* Click Collect Fees.
* Confirm the transaction in your connected wallet.

4. **Processing**

* Since Singularity uses zero-knowledge proofs, the confirmation may take slightly longer than a normal DEX.

✅ Done!

Your unclaimed fees are transferred to your wallet, and the LP position stays open.
{% endtab %}
{% endtabs %}


---

# 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://singularityzk.gitbook.io/singularity/how-to-get-started/on-chain-actions/liquidity-providing-add-remove.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.
