How swaps work
When you submit a swap, RivrDEX:- Calculates the output amount based on the current pool reserves and the constant product formula (
x * y = k). - Deducts a 0.35% fee from your input amount and distributes it to liquidity providers in that pool.
- Updates the pool reserves, which shifts the price for the next trade.
Fees
| Fee type | Amount | Who receives it |
|---|---|---|
| Swap fee | 0.35% of input | Liquidity providers in the pool |
| Gas | None | — |
RivrDEX runs on Vara Network, which means near-zero gas overhead. The only cost you pay is the 0.35% swap fee, deducted from your input token.
Slippage tolerance
Slippage is the difference between the price you see when you submit a swap and the price at which it executes. It happens because other transactions can change pool reserves between when you submit and when your swap lands on-chain. You can set a slippage tolerance — the maximum price movement you’ll accept before the trade reverts automatically.| Setting | When to use |
|---|---|
| 0.5% | Default for most trades on stable or high-liquidity pairs |
| 1.0% | Pairs with moderate liquidity or higher volatility |
| >1.0% | Low-liquidity pairs or large trades; use with caution |
Price impact
Price impact is how much your trade moves the pool price. Larger trades relative to pool size cause higher price impact — you push the price against yourself as you buy or sell. RivrDEX shows your estimated price impact before you confirm. If it’s high:- Consider splitting your trade into smaller chunks.
- Wait for more liquidity to enter the pool.
- Accept the impact if the trade is still worthwhile at that price.
How to swap
Open the swap interface
Go to stg-app.rivrdex.io and select Swap from the navigation.
Select your input token
Click the token selector in the From field and choose the token you want to sell. Enter the amount you want to swap.
Select your output token
Click the token selector in the To field and choose the token you want to receive. The estimated output amount updates automatically.
Review the trade details
Check the following before confirming:
- Exchange rate — how many output tokens per input token
- Price impact — how much your trade moves the pool price
- Minimum received — the least you’ll get after slippage
- Fee — 0.35% of your input amount
Adjust slippage if needed
Click the settings icon to set your slippage tolerance. The default is 0.5%.