Osmosis is a leading decentralized exchange (DEX) on the Cosmos network, allowing users to seamlessly swap assets. In this guide, we’ll walk you through swapping tokens on Osmosis.
Depositing Tokens to Osmosis
The first step in swapping tokens on Osmosis is transferring your tokens through Osmosis. You can do this by visiting the Portfolio page and clicking deposit next to the token you’re depositing.
- Visit: https://app.osmosis.zone
- Click ‘Connect wallet’ button on the top right hand corner
- Select the wallet that you will be using to make the deposit, swap, and withdraw and approve the connection
- Click the ‘Portfolio’ button on the left-hand side of the page
- Search for the token you want to deposit. In this example, we will search for stATOM
- Click ‘Deposit’ next to the token you want to deposit
- Enter the amount of tokens that you want to deposit in the ‘Select Amount’ box
- Click the ‘Deposit’ button and approve the transaction
Swapping Tokens on Osmosis
Now that we’ve deposited our tokens, we can swap them for another token through the DEX. We’ll need to visit the swap page, select the tokens we’re swapping, and then submit the transaction.
- Click the ‘Swap’ button on the left-hand side of the page
- Change the first token to the token you’re going to swap
- Change the second token to the token you want to swap for. In this case, we will be swapping for ATOM
- Enter the amount of tokens you want to swap. You can manually enter them, or hit the ‘Half’ or ‘Max’ buttons to automatically add half of your tokens or all of your tokens that are in your Osmosis wallet
- Click the ‘Swap’ button and approve the transaction
Withdrawing Tokens from Osmosis
Now that we’ve swapped our tokens, we can withdraw those tokens from Osmosis. The process is identical to depositing, except we’ll choose the option to withdraw instead of deposit.
- Click the ‘Portfolio’ button on the left-hand side of the page
- Search for the token you want to deposit. In this example, we will search for ATOM
- Click ‘Withdraw’ next to the token you want to deposit
- Enter the amount of tokens that you want to withdraw in the ‘Select Amount’ box.
- Click the ‘Withdraw’ button and approve the transaction
If you’ve followed these instructions, you should have completed the process of swapping tokens using Osmosis.