EuclidSwap Testnet — Chapter 3 — Making Swaps
EuclidSwap has a streamlined interface to help you easily navigate and explore various functions. The app’s primary features are organized into five sections, each with a specific focus. If you missed the earlier chapter on adding testnet tokens, click HERE. If you want to skip straight to the testnet itself, click HERE for the login page.
The Five Key Sections in Euclid Swap
Swap: Make token swaps across different blockchains. This is your go-to section for asset exchanges.
Pools: Participate in liquidity pools by either adding liquidity to existing pools or creating new ones, gaining access to liquidity provider (LP) tokens as you do so.
Tokens: This section provides an overview of assets available on the platform, displaying key details such as price, volume, and percentage changes over 24 hours and 7 days. Users can filter tokens by categories like Gainers, Losers, and Tradable, making it easy to track market movements.
Wallet: This section displays all your available assets, including both regular and voucher tokens. It’s where you can manage and review token balances.
Leaderboard: Tracking your trading volume and referrals. Stay updated with real-time rankings, see the highest-performing traders, and climb the leaderboard to earn rewards from the prize pool.
Performing a Swap
Swapping tokens on EuclidSwap is simple, and the process is fully customizable. Here’s a step-by-step guide to making your first swap.
Step 1: Connect to the Chain
To make a swap, connect to the chain holding your testnet tokens. For example, if you have Nibi tokens from Nibiru, ensure you’re connected to the Nibiru chain within EuclidSwap.
Step 2: Understand Voucher Tokens
In Euclid Swap, you’ll encounter two main types of tokens:
- Regular Tokens: Native or CW20 tokens that are recognized on specific chains. These are the same as any tokens on any other swap platform.
- Voucher Tokens: Tokens unique to Euclid that mimic regular tokens and are used for swaps on the platform. These tokens can later be redeemed for regular tokens on any chain. You can read more about Voucher Tokens in the next chapter.
Note: Voucher tokens aren’t stored in your wallet like regular tokens. Instead, you can view them in the ‘Wallet’ section within EuclidSwap.
Step 3: Set Your Swap Preferences
- Choose tokens to swap: Select the token you’d like to swap and the token you’d like to receive.
- Toggle balance type: Decide whether to swap using regular tokens or voucher tokens by selecting from the top-right toggle. If this is your first time performing this action, you won’t have any vouchers yet.
Step 4: Adjust Slippage Tolerance
Slippage is the difference between the expected and actual trade price. You can adjust this by selecting the ‘Settings’ icon and entering your preferred slippage percentage (default is set to 0.3%).
Step 5: Confirm and Execute Your Swap
Once you’re ready:
- Enter the amount of tokens to swap, then click ‘Preview Transaction’.
- Euclid will automatically select the output chain (chain where you will receive your tokens) with the most available tokens, but you can customize this.
- Click ‘Swap Now’ to go to the confirmation page.
- Review your transaction details, including the expected token output and chain selection.
In the confirmation page, you can find:
- The amount of tokens being swapped
- The chain the funds will be sent to.
- The address receiving the funds
- The route the swap will take
- The minimum amount of tokens you might receive
- The slippage % being used
If all the swap details seem ok, go ahead and ‘Confirm Swap’ and approve the transaction.
You will get a progress bar and an estimated time for the transaction to be completed. Once done, ‘Transaction Completed’ will show indication the swap was a success and a window will pop up showing the amount of tokens swapped.
Note: You can find the transaction hash of the swap on the bottom as seen in the image above.
Note: If you are connected to your X account, you can directly share your swaps with other people to see.
After the swap, navigate to the ‘Wallet’ section and check the relevant chain to confirm your token balance. Make sure you are connected to the output chain used in the swap.
What’s Next?
Now that you’ve completed a single-chain swap, you’re ready to explore multi-chain swaps, where tokens can be divided across multiple chains in one transaction.
Performing a Multi-Chain Swap
EuclidSwap’s multi-chain swap feature lets you split token transfers across multiple blockchains across any ecosystem. Let’s walk through setting up a swap that distributes tokens to three different chains.
Step 1: Connect to the Source Chain
To perform a multi-chain swap, connect to the chain where your testnet tokens are stored. For instance, if you’re using NIBI tokens, connect to the Nibiru chain through EuclidSwap.
Step 2: Configure Your Swap
Enter the amount you want to swap, the token to swap to, and select Simple/Advanced toggle.
By default, Euclid prioritizes the output chain with the highest liquidity for the tokens you’re receiving. Here’s where you can start customizing.
Step 3: Divide Tokens Across Chains
Use the ‘Set Limit’ function by pressing the pencil icon to allocate specific amounts to each chain. In this example, let’s split our tokens evenly across three chains:
First Chain (e.g., Nibiru): Set a custom limit of 4000 EUCL for Nibiru.
Second Chain (e.g., Polygon): Add a second chain by selecting ‘Add Address’, select Polygon, and then ‘Connected address’.
Notes:
- As we have selected a chain on a different ecosystem (EVM), make sure you have an EVM wallet installed as well.
- You can send tokens to any address other than the connected wallet by pasting it instead of selecting the ‘Connected Wallet’ option.
Third Chain (e.g. Arbitrum): Add Arbitrum and set the limit as the remaining amount of tokens.
Swap Routes
Swap routes indicate the swaps your token will go through in order to reach the output token. In the advanced settings, you are able to select which routes you want to choose if multiple routes are possible. By default, the best route (route with highest token out) will be chosen.
Step 4: Review and Confirm the Swap
Select ‘Swap Now’ and review the split distribution to ensure it’s as intended.
Once everything looks correct, click ‘Confirm Swap’ to execute the transaction. In the swap preview, you can select the ‘Advanced’ view where you can follow step-by-step the swap:
Here there are four steps that happened:
- The NIBI was converted into EUCL
- EUCL was received on Nibiru
- EUCL was received on Polygon
- EUCL was received on Arbitrum
You can check the transaction hash for each step in the ‘Transaction Details’ section.
To confirm the balance distribution, check your EUCL token balance under the ‘Wallet’ section and switch between chains to view each allocation.
Multi-Chain Swap Summary
We executed a seamless cross-chain swap, converting NIBI tokens from Nibiru into EUCL tokens, which were automatically distributed across Nibiru, Polygon, and Arbitrum, all without using any bridges. The process was instant and effortless, and only possible on Euclid. This sets a new standard for efficient and secure cross-chain DeFi.
Swapping using Voucher Tokens
Voucher tokens on EuclidSwap work similarly to regular tokens but are exclusive to the Euclid platform and aren’t directly usable outside of it. To learn more about them jump to Chapter 4 of our guides.
If you want to get started on the app, Click HERE for the login page.
Euclid Protocol’s vision is to bring users back to the fundamentals of DeFi — empowering users with transparency, accessibility, and control over their financial activities — making DeFi great again!
Check out our X feed thread for more insights and updates. Additional links to our socials are here: TG Web Blog