Direct access to the Stellar Decentralized Exchange (SDEX) lets you buy and sell XLM and other Stellar assets inside your account in the LOBSTR wallet.
LOBSTR offers trading options both for beginners and pros.
The 'Trade' option is better suited for those familiar with SDEX and who are looking for the full trading experience. See more about trading in LOBSTR wallet.
The 'Swap assets' option is perfect if you are new to trading or just looking to exchange one asset for another, quickly and at the best rate.
How do 'asset swaps' work?
The ‘Swap assets’ functionality is a simplified version of the 'Trade' feature that allows exchanging/converting an asset you hold for another asset at the best available market rate in just one click.
The asset exchange is made using the Path Payment transaction, which is the Stellar network feature of sending an asset from one user to another and having the asset converted into a different one before arriving in the recipient’s wallet.
With the 'Swap assets' feature, Path Payments facilitate the process of creating a trade offer by using the most optimal path from an asset you are selling to another asset you are buying.
The trade may be either direct, e.g. USD -> BTC, or a chain of multiple trades involving up to 5 assets, e.g. USD -> NGNT -> CNY -> XLM -> BTC. As a result, you always get an asset at the best available price within seconds.
Note: The swap transaction won't go through if the final amount changes by more than 1% after the transaction is submitted.
The liquidity of the SDEX market pairs directly influences the exchange rates you see for the selected swap pair. Swapping unpopular assets may result in significant losses. Always make sure to carefully check the exchange rate before making a swap.
LOBSTR takes no extra fees for asset swaps and you may complete as many swaps as you'd like.
However, the regular Stellar transaction fees still apply and can be as low as 0.00001 XLM. Read more on fees here.
How to swap an asset to another one
The 'Swap assets' feature is only available on LOBSTR mobile apps at the moment.
Follow this tutorial to perform an 'asset swap':
1. Select the 'Swap Assets' option in the side menu of LOBSTR mobile apps.
2. Fill in the required fields on the 'Swap Assets' screen.
- Choose an asset you'd like to sell in the selection menu of the 'You sell' field.
- Choose an asset you'd like to buy in the selection menu of the 'You buy' field.
Note: You can buy one of the assets you already hold or an asset you don't have on your account.
- Specify the exact amount you'd like to buy/sell.
When you enter the ‘sell’ amount, the ‘You buy’ field will automatically select the maximum amount you can get at that time.
When you enter the ‘buy’ amount, the ‘You sell’ field will automatically select the minimum amount you must sell at that time.
Make sure to carefully check the exchange rate before making a swap.
3. Tap the 'Swap' button at the bottom of the screen to perform the swap.
- The swap transaction won't go through if the final amount changes by more than 1% after the transaction is submitted.
- If the app states that the swap is not available and the 'Swap' button is disabled, there are no offers that can satisfy your swap request.
Try adjusting the amounts or choose another asset to buy/sell.
Note: In accordance with the Stellar Network rule (not decided by LOBSTR wallet), the base minimum balance (1 XLM) raises by 0.5 XLM with each created trustline or active trade offer.
If there is no available 0.5 XLM on your account, you will not be able to perform a swap to the asset you do not currently hold.
4. (Optional) Sign the transaction in LOBSRT Vault or the signature service of your choice if you have multisignature enabled on your Stellar account.
Done! You've swapped assets at the best exchange rate.
You will receive a push notification notifying you of the completed asset swap.