> ## Documentation Index
> Fetch the complete documentation index at: https://rivrdex.io/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Providing liquidity

> Deposit a token pair into a pool to enable trading and earn a proportional share of the 0.3% LP fee on every swap.

Liquidity providers (LPs) deposit pairs of tokens into pools. These deposits are what allow other users to swap — every trade draws from and returns to these reserves. In exchange, LPs earn a share of the fees generated by every swap in their pool.

## Why provide liquidity?

Every swap on RivrDEX incurs a **0.35% fee**, and **0.3%** of it is distributed to LPs in proportion to their share of the pool. The more trading volume a pool sees, the more fees its LPs earn.

<Note>
  Liquidity also earns **rewards points** — a \$100 position earns 50 points a day (capped at 150/day) in the [RivrDEX Rewards](/docs/rewards/earning-points#liquidity-rewards) program, on top of the fee share.
</Note>

<Info>
  Fee earnings accumulate automatically inside the pool. You receive them when you withdraw your liquidity — not as a separate claim.
</Info>

## LP tokens

When you deposit into a pool, RivrDEX mints **LP tokens** and sends them to your wallet. LP tokens represent your share of that pool.

* Your share of the pool grows as fees accumulate.
* To withdraw your liquidity and claim your fees, you must redeem (burn) your LP tokens.
* LP tokens are transferable — whoever holds them can redeem the underlying assets.

<Warning>
  Do not send LP tokens to an address you do not control. Whoever holds the LP tokens can redeem the underlying liquidity.
</Warning>

## Adding liquidity

<Steps>
  <Step title="Go to Pools">
    Open [app.rivrdex.io](https://app.rivrdex.io) and navigate to **Pools**.
  </Step>

  <Step title="Select a pool">
    Find the token pair you want to provide liquidity for and click **Add Liquidity**. If the pair doesn't exist yet, see [Creating a new pair](/docs/features/creating-pairs).
  </Step>

  <Step title="Enter deposit amounts">
    Enter the amount of one token. The interface automatically calculates the required amount of the second token based on the current pool ratio. Both tokens must be deposited at the current ratio.
  </Step>

  <Step title="Review and confirm">
    Review the share of the pool you'll receive and the LP tokens you'll be minted. Click **Confirm deposit** and approve the transaction in your wallet.
  </Step>

  <Step title="Receive LP tokens">
    Once confirmed, LP tokens appear in your wallet. Your position is now live and earning a share of swap fees.
  </Step>
</Steps>

## Removing liquidity

<Steps>
  <Step title="Go to Pools">
    Open [app.rivrdex.io](https://app.rivrdex.io) and navigate to **Pools**.
  </Step>

  <Step title="Select your position">
    Under **Your positions**, find the pool you want to exit and click **Remove Liquidity**.
  </Step>

  <Step title="Choose how much to withdraw">
    Use the slider or enter a percentage to select how much of your position to remove. You can withdraw all or a partial amount.
  </Step>

  <Step title="Review the output">
    The interface shows how much of each token you'll receive, including your share of accumulated fees. Review the amounts.
  </Step>

  <Step title="Confirm withdrawal">
    Click **Confirm withdrawal** and approve in your wallet. Your tokens — original deposit plus earned fees — are returned to your wallet, and the corresponding LP tokens are burned.
  </Step>
</Steps>

## Impermanent loss

When you deposit into a pool, the pool rebalances as prices change. If the price of one token moves significantly relative to the other, the value of your position may be lower than if you had simply held both tokens outside the pool.

This difference is called **impermanent loss**. It's "impermanent" because it only locks in when you withdraw — if prices return to where they were when you deposited, the loss disappears.

Fees earned can offset impermanent loss, but this is not guaranteed — especially in high-volatility pairs with low trading volume.

<Note>
  For a deeper explanation of impermanent loss, including worked examples, see the [FAQ](/docs/resources/faq).
</Note>
