SunSwap - the TRON swap on SUN.io

SunSwap
TRON swap on SUN.io
SunSwap is the decentralized exchange on SUN.io, the DeFi protocol on TRON. A sun swap is a trade of one TRC-20 token for another against a liquidity pool. People also write the name as one word, sunswap, or they search for a tron swap. Those names point at the same action: connect a wallet, pick two tokens, and sign. SUN.io, often typed as sun io, is the platform around that swap. It also includes stablecoin exchange, liquidity mining, and SUN governance. The swap itself is SunSwap.
The exchange is non-custodial. Pool contracts hold the liquidity. Your keys stay in your wallet. TronLink is the usual wallet. The open-source SunSwap front end also lists WalletConnect, TokenPocket, Bitget Wallet, OKX Wallet, Binance Wallet, and Ledger. A TRON swap spends energy and bandwidth, not Ethereum gas. SunSwap V4, which SUN.io launched on 2 March 2026, pairs native TRX directly and announced energy subsidies of up to 99% on swaps routed through V4.
This page answers the questions that come up before a trade. What SunSwap is. How it sits inside sun io. How V2, V3, and V4 differ. What a swap costs. What the SUN token and veSUN do. How a stablecoin pool differs from a normal sunswap pool.
Explore the protocol
SunSwap is more than one swap box. Each page below is one part of the TRON exchange.
- Swap - a sun swap of TRC-20 tokens, signed from your own wallet.
- Pools - liquidity pools, LP tokens, and the trading fee liquidity providers earn.
- V3 - concentrated liquidity and the four fee tiers, launched 28 June 2023.
- V4 - native TRX, a single pool contract, hooks, and lower energy use.
- Stable - the StableSwap curve for stablecoins, separate from the constant-product pools.
- Stake - lock SUN for veSUN, fee share, a mining boost, and pool-weight votes.
- Token - the SUN token, buyback and burn, and what veSUN is not.
What a sun swap actually is
SunSwap uses an automated market maker. There is no order book and no desk setting the price. A liquidity pool holds two tokens. A formula sets the price from the balances in the pool. You send one token in and receive the other token out. People who deposited both sides, the liquidity providers, receive a share of the trading fee as LP tokens. Those LP tokens are TRC-20 tokens that represent a share of the pool. Burning them withdraws the underlying tokens.
That is the whole of a tron swap on SunSwap. The official app lives on sun io, at sun.io. SunSwap is the DEX inside that app. It is not a centralized TRON exchange, and it is not the lending market. JustLend is the lending protocol on TRON. Supplying a SunSwap pool is not the same as depositing collateral on JustLend. For the lending side, see our JustLend guide.
V2, V3, V4, and the stablecoin pool
SunSwap V2 is the constant-product pool, x times y equals k. The SUN white paper's swap example deducts 0.3% as the trading fee before the pool math runs. SUN.io also routes 0.05% of SunSwap V2 trading volume into a buyback of SUN, which is then burned. Liquidity providers earn the trading fee. The burn is a separate sink for the SUN token, funded from V2 activity.
SunSwap V3 launched on 28 June 2023. It keeps the constant-product idea and adds concentrated liquidity. A liquidity provider chooses a token pair, a fee tier, and a price range. Fees earned inside that range are shared in proportion to the liquidity that was active there. A narrower range uses capital more efficiently and earns more while the price stays inside it. It earns nothing from trades once the price leaves the range. V3 has four fee tiers: 0.01% for large stablecoin flow, 0.05% for tokens with lower volatility, 0.3% for most tokens, and 1% for tokens with wider price swings.
SunSwap V4 launched on 2 March 2026. It keeps the older AMM and the V3 range model, and it changes the architecture. Native TRX can sit in a pair directly, so you do not wrap TRX into WTRX first. One contract manages the pools instead of a factory that deploys a contract per pair. Swaps settle net balance changes at the end, which cuts energy on multi-hop trades. Hooks let developers attach custom logic, such as dynamic fees or an oracle, without rewriting the core pool. Liquidity providers can opt into subscriber contracts that notify them when a position changes. SUN.io announced energy subsidies of up to 99% for swaps that go through V4.
The stablecoin pool is a different curve. StableSwap is built for assets that should trade near one-to-one, such as USDT against other TRON stablecoins. Slippage stays low near the peg, and impermanent loss is lower than in a constant-product pool while prices stay near each other. It is the wrong curve for a volatile pair. The SUN white paper describes pools such as the 3pool of USDT, USDJ, and TUSD, and a later USDC pool. The live list is the one on sun.io.
| Pool | What it is for |
|---|---|
| V2 | Constant-product TRC-20 pairs. White paper example uses a 0.3% trading fee. 0.05% of V2 volume funds the SUN buyback and burn. |
| V3 | Concentrated ranges. Fee tiers of 0.01%, 0.05%, 0.3%, and 1%. |
| V4 | Native TRX, one pool contract, hooks, and lower energy use. Launched 2 March 2026. |
| Stable | StableSwap curve for pegged assets. Half of stablecoin-pool fees go to veSUN holders. |
Fees, veSUN, and what SunSwap is not
A sunswap fee is not one number for every pool. V2's published example is 0.3%. V3 depends on the tier you pick. The stablecoin curve is priced for low slippage between pegged assets, not for volatile tokens. On TRON, you also pay energy and bandwidth to the network. That network cost is separate from the pool fee. V4 was built to cut that energy cost, including the announced subsidy of up to 99% on V4 swaps.
veSUN is voting weight, not a second coin you buy on the market. You lock SUN for up to four years. The weight scales with the amount and the lock length, and it decays as the lock runs down. Holders of veSUN receive 50% of the trading fees from the stablecoin pools, can boost governance-mining rewards up to 2.5 times, and can vote on which liquidity pools receive mining weight. Votes can be changed 10 days after they are cast.
SunPump is not the swap. It is the meme-token launchpad on SUN.io. A token that fills its bonding curve can have liquidity added to a SunSwap V2 pool. Searching sun io will show both products. The swap is SunSwap. The launchpad is SunPump.
- Non-custodial. You sign. The protocol does not hold your keys.
- TRC-20 pairs on TRON, plus native TRX pairs on V4.
- LP tokens mark your share and earn fees while you hold them.
- SUN buyback on V2 volume, burned rather than paid to a team treasury.
How to do a TRON swap
- Use a wallet you control. TronLink is the common choice. Have TRX available for energy and bandwidth.
- Open the swap on sun.io. Confirm the host before you connect. A sun swap starts by choosing the token you pay and the token you receive.
- Read the route and the fee. The quote may use V2, a V3 range, or V4. The output already reflects the pool fee and the price impact of your size.
- Approve the TRC-20 if the wallet asks, then sign. Approval lets the router spend that token. The swap is a second signature.
- Check the result on TRON. The received token should land in the same wallet. If you added liquidity instead, you hold an LP position, not a finished swap.
Swap when you want the other token. Add liquidity when you are willing to hold both sides of a pair and earn fees. Lock SUN when you want veSUN. Those are three different signatures and three different positions.
The SUN token
SUN is the token of the SUN.io platform. It is used for governance, for the buyback-and-burn loop, and as the asset you lock to mint veSUN. The SUN white paper describes a distribution with no team reserve and no private sale. Supply was issued through mining and a Sun DAO allocation that vests. SUN is not a share of the liquidity pools. Pool ownership is the LP token. SUN is the governance and reward asset around those pools.
A sunswap balance of SUN does not by itself earn stablecoin-pool fees. That fee share belongs to veSUN, which you get by locking SUN. Unlocked SUN can still be traded on SunSwap like any other TRC-20. Locking it is optional, and the lock decays, so veSUN is not a permanent claim.
Frequently asked questions
What is SunSwap?
SunSwap is the automated market maker on SUN.io, the DeFi protocol on TRON. A sun swap exchanges TRC-20 tokens against liquidity pools. You keep your own keys. The official app is on sun.io.
Is SunSwap the same as SUN.io?
SUN.io is the platform, often searched as sun io. SunSwap is the exchange inside it: the token swap, the pools, and V2, V3, and V4. SUN.io also includes stablecoin pools, liquidity mining, veSUN governance, and the SunPump launchpad.
What is a sun swap?
A sun swap is a trade on SunSwap. You pay one TRON token and receive another. The pool sets the price. Sunswap, sun swap, and tron swap are the usual ways people search for that trade.
How do I swap tokens on TRON with SunSwap?
Install a wallet such as TronLink, hold TRX for energy, open the swap on sun.io, choose the two tokens, read the quote, approve if asked, and sign. The output token returns to the same wallet.
Which wallet works with SunSwap?
TronLink is the standard TRON wallet. The SunSwap front end also documents WalletConnect, TokenPocket, Bitget Wallet, OKX Wallet, Binance Wallet, and Ledger. You should be the only person who can sign with the wallet you use.
What does a SunSwap trade cost?
The pool fee depends on the version. The V2 white-paper example deducts 0.3%. V3 uses a tier: 0.01%, 0.05%, 0.3%, or 1%. TRON also charges energy and bandwidth. V4 announced energy subsidies of up to 99% on swaps that use V4.
What is the difference between SunSwap V2, V3, and V4?
V2 is a constant-product pool across the full price range. V3, launched 28 June 2023, lets you concentrate liquidity in a price range and pick a fee tier. V4, launched 2 March 2026, adds native TRX, one contract for all pools, hooks, and lower energy use.
What is the SUN token?
SUN is the governance token of SUN.io. You can lock it for veSUN. SunSwap V2 volume funds a buyback and burn of SUN. The white paper describes distribution through mining and a vesting DAO allocation, with no team reserve and no private sale.
What is veSUN?
veSUN is the voting weight you receive by locking SUN for up to four years. It decays as the lock shortens. Holders receive 50% of stablecoin-pool trading fees, can boost mining rewards up to 2.5 times, and vote on mining weights.
How is the stablecoin pool different from a normal SunSwap pool?
A normal pool uses constant product and fits volatile pairs. The stablecoin pool uses a StableSwap curve so pegged assets trade with less slippage and less impermanent loss near the peg. Half of those trading fees go to veSUN holders.
Is SunSwap custodial?
No. You connect a wallet and sign each swap, deposit, or lock. SunSwap does not take your keys and cannot recover them if they are lost. Pool liquidity sits in the pool contracts, represented by LP tokens.
What is SunPump, and is it SunSwap?
No. SunPump is the meme-token launchpad on SUN.io. SunSwap is the exchange. A SunPump token that completes its bonding curve can have liquidity added to a SunSwap V2 pool, which is why the two names show up together.