For the complete documentation index, see llms.txt. This page is also available as Markdown.

How to Add/Remove Liquidity

Follow our guide below to deposit BEP-20 tokens in liquidity pools to earn trading fees on Grabity!

1. Connect your wallet.

2. Access the liquidity page by clicking on the [Liquidity] submenu under the [Trade] menu on the navigation bar.

3. Click on [Add Liquidity].

4. Select two tokens to provide liquidity.

  • If you're the first liquidity provider, you will have to set the initial ratio (price) of the pool. Be sure to set the ratio at a reasonable price to avoid extreme IL.

  • If you're providing liquidity to an existing pool, the ratio will be automatically applied based on the current prices of tokens.

5. After reviewing the prices and your share, approve tokens by clicking on the [Approve <Token Name>] button. You will be prompted to authorize your transaction through the wallet you've connected with.

6. Click on [Supply] and sign your transaction to complete your liquidity provision.

7. Once your transaction is completed, you will receive LP tokens that represent your shares of the pool.

1. Connect your wallet.

2. Access the liquidity page by clicking on the [Liquidity] submenu under the [Trade] menu on the navigation bar.

3. Select the pair to remove liquidity under [Your Liquidity].

4. A pop-up displaying the details of your liquidity will appear. Click [Remove] to initiate removal.

5. Select the percentage of your liquidity to remove and click [Approve]. You will be prompted to authorize your transaction through the wallet you've connected with.

6. Click on [Remove] and sign your transaction to complete your liquidity removal.

7. Your LP tokens will be burned, and you will receive tokens proportional to your share of the pool (your deposit + trading fee accumulated in the contract).

Last updated

Was this helpful?