Fountain Protocol

Swap Tokens

Learn how to trade tokens in the Fountain


Fountain has launched the function of the aggregator, Smart DEX, which allows you to swap tokens easily at the best rates by aggregating liquidity from different DEXs on the network.
The Smart DEX integrates liquidity from the leading DEXes on the Oasis Network, enabling a wider token variety available for swap. This is coupled with Smart DEX’s intelligent routing system that splits trades to find the most optimal route across DEXes based on their available liquidity, bringing users the best swap rates.

Get Started

Quick reminder: Make sure there is enough $ROSE in your wallet to pay for gas before using the aggregator function, as every transaction requires $ROSE as gas, or the transaction will fail.
Step 1: visit and go to the "Swap" page, then click "Connect Wallet" in the upper right corner to connect your wallet.
Step 2: Select the token you wish to swap and the token you wish to receive. Click on 'Select a token' and browse the list to find your token. You can also search by token name, symbol, or token address.
Step 3: Approve the Smart DEX router to swap your token. If this is your first time trading this token with the Smart DEX, then you'll need to approve the token first. Swapping a token for the first time will need two transactions; one to Approve Token and the second to Swap. For every token, you will only need to Approve once. All subsequent trades for this token will require only one transaction i.e. Swap. Approval for each token has to be done separately.
Step 4: Enter the amount that you wish to trade. You can enter either your desired input amount or output amount. The dynamic trade routing technology will find the optimal route between pairs and automatically calculate how much money you are expected to save from each trade as Smart DEX integrated liquidity from multiple DEXs.
Step 5: Click "swap" and confirm the transaction in your wallet. You can view the estimated output and price impact for the swap. After you have confirmed that everything is in order, click "Swap" and then "Confirm Swap". A Metamask pop-up will appear and you have to approve the transaction. Once the transaction is successful, your new tokens will be in your wallet.
Note: you can select between the options of Maximum Return or Lowest Gas. Note that setting your gas fees too low may result in the transaction being stuck on ‘pending’.


Slippage Tolerance
You can adjust your slippage tolerance by clicking the gear icon in the upper right corner. The first three are fixed values, 0.1%, 0.5%, and 1%. You can also input a custom slippage percentage in the last space if you wish to do so.
Dynamic Trade Routing
Smart DEX has a Dynamic Trade Routing feature, which aggregates liquidity and enables users to source liquidity across different decentralized exchanges to help achieve the best price for any token swap, on any supported network.
Smart DEX trades are split and routed optimally through different DEXs for the best prices in the Oasis network. You can see exactly which DEXs were involved in the trade and the % split between them via clicking the gear icon in the upper right corner and opening the Export Mode.