Liquidity Pools on TRON: How AMM Pools Work on SunSwap — TRON Wiki

Liquidity Pools on TRON: How AMM Pools Work on SunSwap

10 min read · ⌘K search

Liquidity pools power decentralized trading on TRON. Instead of matching buyers and sellers in an order book, SunSwap and similar DEXes use automated market maker (AMM) pools — smart contracts holding token reserves that quote prices algorithmically.

Whether you want to swap tokens or earn yield as a liquidity provider, understanding pools is essential TRON DeFi literacy.

AMM basics

Classic SunSwap V2-style pools contain two assets in a 50/50 value ratio (e.g., USDT + TRX).

The core formula (constant product):

Code
x * y = k
  • x = reserve of token A
  • y = reserve of token B
  • k = constant (changes only when LPs add/remove liquidity)

When traders buy TRX with USDT, USDT enters the pool and TRX leaves — price of TRX rises automatically.

No counterparty needed
You trade against the pool contract, not another person waiting at the same moment.

Liquidity providers (LPs)

LPs deposit both tokens proportional to current pool price. In return they receive LP tokens representing pool share.

Earnings:

  • Trading fees — e.g., 0.3% per swap distributed to LPs.
  • Farming rewards — sometimes SUN or project tokens on top.

Risks:

  • Impermanent loss — price divergence between pair assets.
  • Smart contract risk — pool contract bugs.
  • Rug pull — malicious token pairs (see rug pulls).

Step-by-step: provide liquidity on SunSwap.

Impermanent loss explained

If TRX doubles in price vs USDT while you hold USDT/TRX LP:

  • Pool rebalances — you end with less TRX and more USDT than if you held 50/50 manually.
  • The "loss" vs holding is impermanent loss — impermanent because it reverses if prices return.

If TRX moons permanently, IL becomes permanent when you withdraw.

IL matters most on volatile pairs. Stablecoin-stablecoin pairs (USDT/USDD) have lower IL but lower fees.

Pool types on TRON

TypeCharacteristics
V2 full-rangeSimple 50/50, LP across all prices
V3 concentratedLiquidity in price ranges — higher capital efficiency, more complex
Stable poolsOptimized for pegged assets

SunSwap UI on sun.io exposes available pool types per pair.

Finding pool metrics

On SunSwap analytics or TronScan:

  • TVL (Total Value Locked) — depth indicator
  • Volume — fee generation potential
  • APR/APY — includes fees + farm rewards (volatile)

High APY often signals high risk token pairs.

Swapping against pools

Users interact as traders, not LPs:

  1. Connect TronLink on sun.io.
  2. Swap tab → select pair.
  3. Price impact rises with trade size relative to pool depth.

Large trades on thin pools suffer slippage. See SunSwap guide.

Yield farming connection

Projects incentivize LPs with extra token emissions — yield farming on TRON. Rewards can offset IL temporarily; when emissions end, only fees remain.

Safety checklist for LPs

  • Prefer established pairs (USDT/TRX, USDT/USDD).
  • Verify both token contracts.
  • Understand unlock periods if staking LP in farms.
  • Monitor for governance changes removing rewards.

Impermanent loss intuition

When TRX rises against USDT in a TRX/USDT pool, the AMM sells TRX automatically — you end with less TRX than if you had held. The fees you earn must exceed this divergence loss over your holding period. Use IL calculators with historical TRX volatility before committing significant capital.

Choosing pool pairs

Stablecoin pairs (USDT/USDD, USDT/TUSD) minimize impermanent loss but offer lower fees than volatile TRX pairs. Volatile pairs earn more fees during high volume events but expose LPs to greater IL. Match pool choice to your risk tolerance and expected holding period — short-term LPs in volatile pools often lose to IL despite fee income.

FAQ

What is a liquidity pool on TRON?

A smart contract holding two tokens (e.g., USDT and TRX) that traders swap against. Liquidity providers deposit pairs and earn a share of trading fees.

What is impermanent loss?

The difference in value between holding LP tokens vs holding the original tokens solo when prices move. It can exceed fee earnings.

Can I lose 100% providing liquidity?

On legitimate major pairs, total loss is rare unless a token goes to zero or contracts fail. Malicious token pairs can rug — LP value wiped.

How do I remove liquidity?

SunSwap → Pool → Your positions → Remove liquidity → confirm. Receive underlying tokens plus earned fees.

Do LP positions pay TRON Energy fees?

Adding/removing liquidity costs Energy/TRX like any contract interaction.