Soroswap.Finance Docs
  • Welcome 👋🏼
    • What is Soroswap Finance?
    • Getting Started
      • Wallet Setup and Connection
      • How to Swap
      • Provide Liquidity
      • How the Aggregator Works
  • Concepts
    • AMM
    • Liquidity Pools
    • Swap
    • Fees
    • Slippage
    • Router
    • SDEX
    • Aggregator
    • Trustlines
    • Advanced Topics
      • Pricing
      • Understanding Returns
      • Security
      • Research
  • Soroswap AMM (DEX)
    • How Soroswap AMM works
    • Ecosystem Participants
    • Audits
    • Technical Reference
      • Smart contracts
        • SoroswapPair
        • SoroswapFactory
        • SoroswapRouter
        • SoroswapLibrary
      • Deployed Addresses
      • Error Codes
      • Using Soroswap with TypeScript
      • Smart Contract Integration
      • Deploy Soroswap Yourself
        • Setup your environment.
        • Experiment the Pair contract
        • Experiment the Factory Contract.
        • Deployments.
        • Using the Soroswap Testnet
    • Glossary
  • Soroswap Aggregator
    • Supported AMMs
    • Audits
    • Technical Reference
      • How Soroswap Aggregator works
      • Design
      • Technical Overview
      • Aggregator Operation
      • Smart Contracts
        • SoroswapAggregator
        • Adapter Trait
        • SoroswapAdapter
      • Inspirations
        • 1inch
      • Other AMMs in Soroban
        • Phoenix
    • Disclaimer
  • Swap Route API
  • Soroswap Info
  • Tutorials
    • Installing Freighter
    • Soroswap sections
    • Adding Liquidity
    • Doing Swap
    • Remove Liquidity
    • Using Stellar Classic Assets
      • Wrapping Stellar Classic Assets
      • Swap Stellar Classic Assets
      • Test Stellar Classic Assets
    • Bridge using Pendulum
    • Conclusions
  • Partnerships
    • Collaboration with Mercury and SubQuery
    • Business Partnerships
  • Support & Resources
    • About Us
    • General FAQ
    • Additional Resources
Powered by GitBook
On this page
  • Step 1: Setup
  • Step 2: Go to the Add Liquidity page
  • Step 3: Select the tokens and provide liquidity
Edit on GitHub
  1. Tutorials

Adding Liquidity

PreviousSoroswap sectionsNextDoing Swap

Last updated 8 months ago

Now that we have our wallet set up correctly in the testnet, we are ready to use the . Let's start by adding liquidity to a pool.

Step 1: Setup

To begin adding liquidity, we need to first mint test tokens to interact with the app.

  1. Go to the Balances page.

  2. 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.

Step 2: Go to the Add Liquidity page

  1. Navigate to the Liquidity page, where you will find all the liquidity positions.

  2. Click the "Add Liquidity" button.

This will take you to a page like this:

Step 3: Select the tokens and provide liquidity

  1. Click the token selectors.

  2. Select the tokens for which you would like to provide liquidity.

  3. Enter the amount you want to provide.

  4. 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.

  1. Click the "Add liquidity" button, and you will see a transaction in your Freighter wallet.

  1. Click "Approve" and wait for the transaction to be confirmed.

  2. 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.

Soroswap app
Page cover image