> For the complete documentation index, see [llms.txt](https://d8x.gitbook.io/d8x/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://d8x.gitbook.io/d8x/contribute-and-earn/liquidity-providers.md).

# Liquidity Providers

<figure><picture><source srcset="/files/rYatpsiBvsR7OD3gRZTG" media="(prefers-color-scheme: dark)"><img src="/files/QHROIXf2vOsO5seZAes9" alt=""></picture><figcaption></figcaption></figure>

## What are liquidity providers?

Liquidity Providers can provide liquidity to the different [perpetual pools.](/d8x/contracts/berachain.md)

Liquidity providers [participate in the profit and loss of the AMM ](/d8x/perpetual-contracts-guide/liquidity-pools-and-liquidity-provision.md)of that pool. Profit and loss is paid in the pool token (for example USDC).&#x20;

## How can you provide liquidity?

Liquidity can be provided in different ways:

* [D8X frontends hosted by White-label partners](https://d8x.exchange/frontends) have a vault that allows liquidity provision
* The [D8X Futures Node SDK provides functions](/d8x/node-sdk/modules.md) to add and remove liquidity
* Smart contracts can also directly tap into the liquidity provision functions of D8X smart contracts

See [onboarding](/d8x/d8x-tl-dr/onboarding.md) on  how to get started.

When providing liquidity, you will be issued a corresponding amount of pool share tokens named after the pool token but prefixed with a *d* (such as dUSDC, dbUSD, ...). The pool share token is a liquid token that you can send to your frens or grandma, or there might even be a staking pool to give you some extra yield. If you want to exchange the pool *share* token (such as dUSDC) back into your liquidity provision token (such as USDC), you initiate the withdrawal in a first step. After a fixed cool down period (usually 24 hours), you can execute the withdrawal in a second transaction. Careful, once you initiate a withdrawal, you can no longer transfer the pool share token. When you execute the withdrawal after the cool down period, your pool share tokens are being burnt, and you get your share of liquidity provision tokens back.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://d8x.gitbook.io/d8x/contribute-and-earn/liquidity-providers.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
