Adding Liquidity
Last updated
Last updated
Now that we have our wallet set up correctly in the testnet, we are ready to use the Soroswap app. Let's start by adding liquidity to a pool.
To begin adding liquidity, we need to first mint test tokens to interact with the app.
Go to the Balances page.
Click the "Mint test tokens" button.
After minting your test tokens, ensure that your wallet is funded with at least 1XLM in Stellar. To fund your wallet in the testnet, you can use the friendbot. Simply go to your wallet and click "Fund with Friendbot".
Verify that your account has been funded with XLM, and now we are ready to continue navigating the app.
Navigate to the Liquidity page, where you will find all the liquidity positions.
Click the "Add Liquidity" button.
This will take you to a page like this:
Click the token selectors.
Select the tokens for which you would like to provide liquidity.
Enter the amount you want to provide.
Click "Supply".
This will open a modal where you can view information about the liquidity position, such as the amount of Liquidity Pool Tokens that will be created and your share percentage of the pool.
Click the "Add liquidity" button, and you will see a transaction in your Freighter wallet.
Click "Approve" and wait for the transaction to be confirmed.
Once the transaction is complete, you will see a success message like this:
Congratulations! You have successfully added liquidity. Now you can view your liquidity position on the Liquidity page.
Now we can continue with the tutorial. The next steps will involve swapping tokens for the ones you have provided liquidity for.