> For the complete documentation index, see [llms.txt](https://help.dedust.io/en/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.dedust.io/en/trade/swap.md).

# How to swap

Swapping exchanges one token for another directly from your wallet. DeDust never holds your funds — every swap is a transaction you sign yourself.

> **Keep some GRAM in your wallet.** Every transaction on TON costs a small [network fee](/en/protocol/fees.md#network-fees), paid in GRAM — even when you're swapping other tokens. Without a GRAM balance nothing will go through.

### Swap

1. Open the [**Swap**](https://dedust.io/swap) page.
2. Choose the token you're paying with and the token you want to receive. If a token isn't in the list, it hasn't been verified yet — [import it first](/en/trade/tokens.md#how-to-import-a-token).
3. Enter the amount. The second field fills in automatically with what you'll receive.
4. Check the rate and the [route](/en/trade/router.md), then press **Swap**.
5. Review the details and press **Confirm**.
6. Sign the transaction in your wallet.

### Before you confirm

* **Watch for a high** [**price impact**](/en/trade/price_impact.md#price-impact-and-value-difference) **warning.** It means you'd get noticeably less than the market rate.
* [**Slippage**](/en/trade/price_impact.md#slippage-and-slippage-tolerance) sets how far the rate may move before your transaction is cancelled instead of going through at a worse price. The default suits most swaps — use [Swap settings](/en/trade/settings.md) to change it.

### If the swap doesn't go through

* **The transaction failed.** Usually the rate moved beyond your slippage tolerance. Your tokens stay in your wallet.
* **Nothing happens when you press Swap.** Check that your wallet is still connected and that you have GRAM for the network fee.
