# DLMM pool

### 1. Getting started

Visit <https://ferra.ag/>, then connect your wallet

{% hint style="info" %}
Ferra supports multiple Sui wallets, including [Slush](https://slush.app/), [Suiet](https://suiet.app/), [OKX Wallet](https://web3.okx.com/), and more.

Make sure your wallet has sufficient SUI for gas fees.
{% endhint %}

### 2. Select a DLMM Liquidity Pool

* Navigate to `DLMM` section
* Choose the pair you’d like to provide liquidity to, then click on `Add Liquidity` nearby
* In this guide, we’ll use the `USDC - SUI` pair with a ***5% Base fee*** & ***20 Bin Steps*** as an example.

*<mark style="color:$info;">Learn more about</mark>* [*<mark style="color:$info;">Base fee</mark>* ](https://docs.ferra.ag/integration/dlmm/typescript-sdk/utilities-and-reference/bin-mathematics#what-are-bins)*<mark style="color:$info;">and</mark>* [*<mark style="color:$info;">Bin Step</mark>*](https://docs.ferra.ag/core-protocols/quickstart/core-concepts)*<mark style="color:$info;">.</mark>*

<figure><img src="https://4013375129-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGdf32D8CoGbu8zkzinPx%2Fuploads%2FoFVLuZ2zzGkbOsLzHHTt%2Fdlmmpool.png?alt=media&#x26;token=bf146496-a905-4366-b57b-f2e91fed7245" alt=""><figcaption></figcaption></figure>

### 3. Add Liquidity

* Click on `+ Add Position` tab in the `USDC - SUI` Pool Dashboard

<figure><img src="https://4013375129-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGdf32D8CoGbu8zkzinPx%2Fuploads%2F59oM295RO9DsFsqIUS6S%2Fusdcsui.png?alt=media&#x26;token=bb9da6a5-3ab0-4ee6-93ec-8587d6762097" alt=""><figcaption></figcaption></figure>

* Enter the amounts of USDC and/or SUI you want to deposit

<figure><img src="https://4013375129-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGdf32D8CoGbu8zkzinPx%2Fuploads%2F3jVKSplCY4LgefU2fvEn%2Fsuiu.png?alt=media&#x26;token=db44c949-a41b-42e9-9aca-0816822627e2" alt=""><figcaption></figcaption></figure>

4. ### Choose Your Liquidity Shape Strategy&#x20;

Select the Liquidity Shape strategy that aligns with your goals:

* **Spot**: Evenly distributes liquidity. Simple, low risk, and suitable for most markets
* **Curve**: Concentrates liquidity around current price—ideal for stable pairs or low-volatility assets
* **Bid-ask**: An inverse curve distribution, typically single-sided, perfect for DCA in/out strategies and capturing volatility during price swings

Each strategy has its own advantages & trade-offs.

Liquidity providers can freely adjust the Price parameters in `Set Price Range` section if needed.

<figure><img src="https://4013375129-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGdf32D8CoGbu8zkzinPx%2Fuploads%2FeRp6eAY5JMatG6UUHkIw%2Fadjust.png?alt=media&#x26;token=c61292c4-8a00-42b4-b937-03b8fe4f32d5" alt="" width="563"><figcaption></figcaption></figure>

### 5. Complete LP-ing

* After all set, click `Add liquidity`&#x20;
* Approve the transaction in your wallet
* Once confirmed:
  * You’ll see a `Transaction Completed` notification
  * You’ll receive an NFT in your wallet representing your liquidity position

### 6.  Manage your position

In `My Position` tab, LP-ers can:

* View your LP position details (total deposit, APR, liquidity amount, current position status)
* Monitor & harvest your unclaimed yields
* Add more liquidity
* Withdraw liquidity
* Lock liquidity (permanent or non-permanent)

<figure><img src="https://4013375129-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGdf32D8CoGbu8zkzinPx%2Fuploads%2FnvzMp8h390fNSnlqUzoS%2Fmanage.png?alt=media&#x26;token=be2f3c0d-7607-4577-a721-afbb73ef7cc8" alt=""><figcaption></figcaption></figure>

### 7. Add more Liquidity to an existing position

To add additional liquidity to your current position:

* Click `Add Liquidity` in `My Position` Tab
* Enter the amounts of both tokens or single-sided liquidity
* Select your preferred Liquidity Shape strategy & adjust price range parameters if needed.
* Click `Add Liquidity`, then approve the transaction in your wallet.

Your position will be updated automatically after confirmation.

<figure><img src="https://4013375129-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGdf32D8CoGbu8zkzinPx%2Fuploads%2Fe3DFL199s12SsItKScaN%2Fyah.png?alt=media&#x26;token=5ee1674d-fe31-4c82-9c0f-2b16f881af7d" alt=""><figcaption></figcaption></figure>

### 8. Withdraw Liquidity

* Click `Withdraw` in `My Position` Tab
* Drag the price range slider to select how much liquidity you’d like to pull out
* Click `Withdraw Liquidity`, then confirm the transaction in your wallet

After successful withdrawal, a certain amount of tokens that you’ve LP-ed will be returned to your wallet, and your position will be updated accordingly.

<figure><img src="https://4013375129-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGdf32D8CoGbu8zkzinPx%2Fuploads%2Fqc9HWUJcOwi3oiBDUDu6%2Fdraw.png?alt=media&#x26;token=604d6ed5-9540-4f49-85ab-1e5682e64481" alt=""><figcaption></figcaption></figure>
