Grabity
한국어中文
  • Grabity Intro
    • Grabity DEX
  • Getting Started
    • Create a Wallet
    • Connect Your Wallet
  • Products
    • Dashboard
    • Trade
      • How to Trade
      • How to Add/Remove Liquidity
    • Refinery
      • How to Stake/Unstake LP Tokens
      • How to Harvest Refinery Rewards
    • Pools
      • How to Stake/Unstake GBT
      • How to Harvest Pools Rewards
    • Stake Swap
      • How to Stake & Burn Tokens
      • How to Harvest Stake Swap Rewards
    • Warp
      • How to Warp Tokens
    • Nova
  • Tokenomics
    • GBT
      • GBT Distribution
      • GBT Emission
  • Partnership Inquiries
    • Contact
  • Website
  • Twitter
  • Medium
Powered by GitBook
On this page
  • Grabity AMM
  • Liquidity Pools

Was this helpful?

  1. Products

Trade

PreviousDashboardNextHow to Trade

Last updated 3 years ago

Was this helpful?

Grabity AMM

Trading is the core feature of Grabity that enables decentralized, non-custodial trades of BEP-20 tokens for everyone. As an automated market maker (AMM), Grabity DEX provides a seamless trading experience based on the constant exchange function:

For each liquidity pool containing tokenA and tokenB,

x * y = k

where,

x = tokenA balance

y = tokenB balance

k = constant

Liquidity Pools

Trading is only available for token pairs with sufficient liquidity in liquidity pools. Naturally, minimizing slippage for traders relies heavily on maintaining deep liquidity in liquidity pools. To incentivize liquidity providers, a portion of trading fees on Grabity DEX will be directly rewarded to liquidity providers who receive Liquidity Provider (LP) tokens by supplying BEP-20 to liquidity pools. The amount of LP tokens minted to the liquidity provider is proportional to the provider's share of the pool. Out of a trading fee of 0.3% charged to all trades executed on Grabity DEX (excluding the network fee charged by BSC), 0.18% will be rewarded to liquidity providers upon burning their LP tokens to remove their tokens from liquidity pools, and the remaining 0.12% will be sent to the GBT Buy-back Fund. The trading fee and its distribution can be changed in the future through governance votes.

Based on the formula above, whenever tokenA is purchased, the price of tokenA increases as the balance of tokenA within the liquidity pool decreases. Conversely, when tokenA is sold, the price of tokenA decreases as the balance of tokenA within the liquidity pool increases. Based on this mechanism, the total value of each token within a pool remains the same. We recommend for an in-depth analysis of AMMs.

this article by Gemini
Swap tokens in an instant 🔄
Add liquidity to receive LP tokens 💧