Swap
Overview
You can swap tokens on Katana to trade one token for another. Swapping is a decentralized process that doesn't require a traditional bank or other trusted third party. This is made possible by using smart contracts to facilitate the exchange. As an automated market maker (AMM), Katana is always ready to buy and sell any tokens immediately.
Swap on Katana and Ronin Wallet
The interface for the swap feature differs between Katana web and Ronin Wallet:
- Katana web: Use the swap feature on Katana in the Ronin web app.
- Ronin Wallet: Use the swap feature on within the Ronin Wallet mobile app or browser extension.
Swap fees
When you swap tokens, you incur the following fees:
Fee | Katana web | Ronin Wallet |
---|---|---|
Development fee | - | 0.5% |
Ronin treasury fee | 0.05% | 0.05% |
Liquidity provider fee | 0.25% | 0.25% |
Transaction settings
When swapping tokens, if you're an advanced user, you can fine-tune transaction settings. To access the settings, click the cog icon on the Swap panel.
Here's what you can adjust:
- Max slippage: set a custom maximum percentage difference between the expected price and the price at the time of the transaction.
- Transaction deadline: set a custom time limit for the transaction to be completed.
- Expert mode: enable high price-impact swaps and skip the confirmation step.
Prerequisites
To swap tokens on Katana, you need to have tokens in your Ronin Wallet. You can acquire tokens by depositing from Ethereum using Ronin Bridge, buying tokens through the Purchase website, or receiving tokens from other users. For more information, see Acquire RON.
Swap tokens on Katana web
-
Open Katana and connect your Ronin Wallet. The Swap page is selected by default.
-
Choose the tokens you want to swap from and to.
You can click either of the token selection boxes to reveal the full list of supported tokens.
-
After choosing the swap pair, you can see the tokens listed on the Swap panel. The top token is the token you have in your wallet. The bottom token is the one you want to swap your token with.
- Enter the amount to swap: when you type in on one of the fields, the other populates based on the current exchange rate between the tokens.
- Optionally, if you want to customize the transaction settings, click the cog icon in the top right. To view the details of your swap, click expand the exchange rate.
- When you are ready to swap, click the Swap button.
-
In the Confirm Swap pop-up, review the details of your swap:
- Rate: The exchange rate between the tokens.
- Price impact: estimation of the slippage to expect based on your order size and market movements. This gives you an idea of how much you can receive.
- Max. slippage: the highest percent of price movement of the transaction. Anything greater than this value results in a failed transaction.
- Minimum receive: the lowest amount of tokens you can receive based on slippage tolerance. This is the worst-case scenario. Anything less than this value results in a failed transaction.
- Liquidity provider fee: the fees allocated to LP provider (0.3% of the transaction value).
- Route: the trading route taken for your order. It can be a direct "token A to token B" route, or there might be a bridge token in the middle, such as "token A through token B to token C." The direct route might not always be the cheapest.
After reviewing the details, click Confirm Swap, then confirm the transaction in your Ronin Wallet.
When your transaction is submitted to the blockchain, Kanata displays a Swap submitted pop-up.
After a few seconds, the system confirms your transaction. You can view the transaction details on the Swap success pop-up. For more information about this transaction, click View on explorer.
Congratulations. You just swapped your tokens on the Katana DEX.
Swap tokens in Ronin Wallet
This section describes how to swap tokens in the Ronin Wallet mobile app. The process is similar to swapping tokens in the Ronin Wallet browser extension.
- In the Ronin Wallet app, tap DAPPS > Swap.
- Choose the tokens you want to swap from and to.
- Enter the amount to swap.
- When you are ready to swap, tap Swap.
- Review the details and tap Swap to start the swap.
- On the Confirm Swap screen, review the details of your swap:
- The tokens to swap: ensure that the amounts are correct.
- Detailed swap information:
- Rate: the exchange rate between the tokens.
- Price impact: estimation of the slippage to expect based on your order size and market movements. This gives you an idea of how much you can receive.
- Max. slippage: the highest percent of price movement of the transaction. Anything greater than this value results in a failed transaction.
- Minimum receive: the lowest amount of tokens you can receive based on slippage tolerance. This is the worst-case scenario. Anything less than this value results in a failed transaction.
- Liquidity provider fee: the fees allocated to LP provider (0.3% of the transaction value).
- Route: the trading route taken for your order. It can be a direct "token A to token B" route, or there might be a bridge token in the middle, such as "token A through token B to token C." Direct route might not always be the cheapest.
- Tap Confirm Swap to start the swap, then confirm the transaction in your Ronin Wallet.
Congratulations. You just swapped your tokens in the Ronin Wallet mobile app.