SunSwap Guide: How to Swap Tokens on TRON's Leading DEX — TRON Wiki

SunSwap Guide: How to Swap Tokens on TRON's Leading DEX

11 min read · ⌘K search

SunSwap is the largest decentralized exchange on TRON, enabling trustless swaps between TRX, USDT, USDD, SUN, and thousands of TRC-20 tokens. Instead of order books, SunSwap uses automated market maker (AMM) liquidity pools — users trade against pooled reserves with prices set by a constant product formula.

This guide walks through your first swap, slippage, fees, and security practices on SunSwap V2/V3 interfaces.

What SunSwap does

SunSwap lets you:

  • Swap tokens without a centralized exchange account
  • Provide liquidity and earn trading fees (LP tokens)
  • Stake SUN and participate in governance incentives

Trades execute via smart contracts on TRON. You retain custody in TronLink — SunSwap never holds your keys.

Official interface: https://sun.io

Bookmark sun.io
Phishing sites copy SunSwap UI and steal funds via malicious approvals. Never connect from search ads or Discord links.

Before you start

You need:

  • TronLink wallet with TRX for fees/Energy
  • Tokens to swap (TRX, USDT, etc.)
  • Basic understanding of dApp connection risks

Freeze TRX for Energy if you swap frequently — reduces per-transaction TRX burn.

Step 1: Connect TronLink

  1. Open sun.io from bookmark.
  2. Click Connect Wallet → TronLink.
  3. Approve connection in extension/mobile app.

Verify browser URL bar shows sun.io exactly.

Step 2: Choose tokens and amount

In the Swap tab:

  • From: Token you sell (e.g., USDT)
  • To: Token you buy (e.g., TRX or SUN)

Click token selector → search symbol → verify contract for unknown tokens on TronScan.

Enter amount. Interface shows estimated output, price impact, and minimum received (after slippage).

Step 3: Slippage tolerance

Slippage is maximum price movement you accept before transaction reverts.

Pair typeTypical slippage
USDT/TRX major pair0.1% – 0.5%
Mid-cap altcoins0.5% – 1%
Low liquidity memecoins1% – 5%+ (high risk)

Too low → failed swaps in volatile markets. Too high → sandwich attacks and bad fills.

Step 4: Approve and confirm

First swap of a TRC-20 token requires approve for SunSwap router contract:

  1. TronLink shows approve transaction — verify spender is official SunSwap router from docs.
  2. After approval confirms, click Swap.
  3. Confirm swap transaction.

Track both txs on TronScan until SUCCESS.

Fees on SunSwap

  • Trading fee: Typically 0.3% to LPs (varies by pool/version).
  • TRON network: Energy/Bandwidth or TRX burn per contract call.
  • Price impact: Large trades relative to pool depth move price unfavorably.

SunSwap V2 vs V3

SunSwap has evolved through versions with concentrated liquidity (V3) on some pairs. UI on sun.io routes to current production pools. Check official announcements for migration — old LP positions may need migration tools.

Safety checklist

  • [ ] URL is sun.io
  • [ ] Token contract verified for non-bluechip assets
  • [ ] Approval spender matches official router
  • [ ] Slippage appropriate for liquidity
  • [ ] Revoke unused approvals periodically

Avoid swapping into honeypot tokens — test sell with small amount first.

Providing liquidity

Earn fees by depositing token pairs into pools. See provide liquidity on SunSwap and liquidity pools on TRON.

Advanced SunSwap features

SunSwap v2/v3 pools may differ in fee tiers and routing. Always confirm which router contract TronLink prompts you to approve — approvals to unknown spenders are the primary attack vector. For recurring swaps, maintain frozen TRX for Energy to avoid variable TRX burns on each trade.

Slippage and MEV on TRON

Thin pools suffer high slippage — a $1,000 swap in a low-liquidity meme pool may move price 10%+. Set slippage tolerance only as high as needed; excessive tolerance lets sandwich attackers extract value. For large swaps, split across multiple transactions or use deeper pools (TRX/USDT, USDT/USDD pairs typically have best depth).

FAQ

What is the official SunSwap website?

The official SunSwap interface is at sun.io. Bookmark it — phishing clones use similar domains.

How much TRX do I need to swap on SunSwap?

You need TRX for swap fees and Energy, or frozen TRX generating Energy. Swaps also consume bandwidth/Energy depending on contract calls.

Why did my swap fail?

Common causes: slippage too low, insufficient Energy/TRX, honeypot token, or pool liquidity too shallow.

Do I need KYC for SunSwap?

No. SunSwap is non-custodial. Regulatory rules apply to you based on jurisdiction — not SunSwap account KYC.

SUN is the governance and incentive token of the Sun ecosystem. See SUN token guide.