What a liquidity provider does
A DEX built on an AMM has no market maker of its own. Its pools are filled by users. A liquidity provider deposits two tokens in the pool's ratio, for example $500 of GRAM and $500 of USD₮, and receives LP tokens for a share of the pool.
From then on, every trade in that pool pays a fee, and the providers' part of it stays in the pool. The provider's share grows with it. To leave, the provider returns the LP tokens and gets back their share of both reserves as they are at that moment, which is rarely the same mix they put in.
On a centralized exchange a "liquidity provider" is a professional firm quoting prices under a contract. On a DEX it is anyone with a wallet and two tokens.
How much a liquidity provider earns
Fee income depends on three numbers: the pool's volume, its fee, and how much liquidity shares it. A worked example with round numbers:
- a pool holds $100,000 of liquidity and trades $40,000 a day;
- each trade pays a 0.3% fee, and 0.25% of the trade goes to providers (the rest to the protocol);
- providers earn $40,000 × 0.25% = $100 a day;
- over a year that is $100 × 365 = $36,500, or 36.5% of the liquidity.
That 36.5% is a fee APR: simple, not compounded, and before Impermanent loss. It also assumes volume and liquidity stay as they are. If twice as much liquidity arrives, each provider's share of the same fees halves. If volume dries up, so does income. The table below shows the TON tokens with the most DEX volume over the last 24 hours: volume is what pays providers.
Providing liquidity on TON with DYOR
On TON you provide liquidity on STON.fi, DeDust or TONCO. DYOR's pool pages, reached from the Markets table on a token page, show what a provider would be stepping into:
- Fee APR 24h: the providers' fees over the day, times 365, over today's liquidity, with a 30-day figure next to it;
- Fees to LPs: a chart of what the pool paid its providers;
- Turnover 24h: the day's volume over the liquidity, because more turnover earns the same liquidity more fees;
- Risks: on volatile pools you can add to or withdraw from on DYOR, an estimate of what a ±50% price move would cost against holding; the Impermanent loss term explains how it is worked out.
On many volatile STON.fi and DeDust pools you can add and withdraw right on the pool page; on some others only withdrawing works there, and the add button opens the DEX itself. DYOR builds the DEX's transaction, your wallet signs it, and the tokens go straight to the DEX's contracts: DYOR never holds them.
A deposit on TON is usually two transfers, one per token, and they do not land at the same instant. The first waits in a small helper contract, your LP account on STON.fi or a short-lived deposit contract on DeDust, until the second arrives and the pool mints your LP. If the second never arrives, the first is not lost: you can finish the deposit or take it back, and DYOR's add window offers that when it finds a deposit stuck halfway. Each step attaches a little GRAM for gas, and what the network does not use comes back.
Risks for a liquidity provider
- Impermanent loss. When the two prices drift apart, the pool sells the token that rises and buys the one that falls, so the provider ends up with less than holding. Fees may make up for it, or not.
- The token itself. If one side of the pair crashes or turns out to be a scam, the provider's share ends up mostly in that token.
- Thin pools. A small pool earns little and its price is easy to push around.
- Contracts. Funds sit in the DEX's smart contracts. Use pools deployed by the DEX itself: DYOR's Pool check says whether a pool came from the DeDust factory or the STON.fi router.
Nothing here is advice: DYOR shows the figures, the decision is yours.