How to Add/Remove Liquidity
Follow our guide below to deposit BEP-20 tokens in liquidity pools to earn trading fees on Grabity!
Adding Liquidity
Removing Liquidity
Before you start providing liquidity on Grabity DEX, please review the risks of impermanent loss that exists while holding LP tokens to earn passive income:
  • Impermanent loss (IL) occurs as the number of tokens in liquidity pools changes during volatile markets. Let's assume that there's a liquidity pool for tokenA-tokenB. If the price of tokenA increases relative to tokenB, the quantity of tokenA within the liquidity pool will decrease while the quantity of tokenB increases. If you decide to redeem your assets in the liquidity pool by returning your LP tokens, you will receive less tokenA and more tokenB than your initial deposit. Comparing that to holding both tokens in your regular wallet, there's a slight loss. The greater the change in price, the bigger IL you will be exposed to. Although IL is somewhat mitigated by trading fees that you receive for holding LP tokens, you should be aware of potential losses you may suffer.
  • We recommend this article by Binance Academy for an in-depth analysis of impermanent loss.
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.
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 modified 2mo ago
Copy link