> For the complete documentation index, see [llms.txt](https://docs.spacetoken.tech/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.spacetoken.tech/tutorials/how-to-add-liquidity/add-liquidity-on-sonic.md).

# Add liquidity on Sonic

Add xSPACE and S to the Uniswap V3 pool on Sonic with the SPACE Liquidity UI, and get xSPACE LP tokens.

Uniswap V3 liquidity pools allow users to trade SPACE with other assets on Sonic. In this step-by-step guide, you will learn how to provide liquidity to the **S / xSPACE** pool with our SPACE Liquidity UI.

{% hint style="info" %}
New to liquidity pools? Read [How to Add Liquidity ?](/tutorials/how-to-add-liquidity.md) first. It explains what a pool is, why the fee tier and the full range matter, and what SPACE LP bonuses are.
{% endhint %}

### Before you start

You need **xSPACE** and **S** in your Web3 wallet on the **Sonic** network.

We recommend using [Rabby.io](https://rabby.io/) as a Web3 wallet, since that's probably the most secure and the user experience is great.

### 1. Open the SPACE Liquidity UI

Go to <https://liquidity.spacetoken.tech/?chainId=146>

### 2. Connect your Web3 wallet

Connect the Web3 wallet that contains your xSPACE and S on Sonic.

<figure><img src="https://180242877-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJvtfR7L0PJEmCLLFDuzx%2Fuploads%2F7ZR9s9ohtly5QZkRbyd8%2Flp-sonic-connect-wallet.png?alt=media" alt="The Connect Wallet button of the SPACE Liquidity UI" width="267"><figcaption><p>Click the <strong>Connect Wallet</strong> button.</p></figcaption></figure>

<figure><img src="https://180242877-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJvtfR7L0PJEmCLLFDuzx%2Fuploads%2FfnkdI8AEne4kIQ1sDt0o%2Flp-sonic-wallet-picker.png?alt=media" alt="The wallet selection modal" width="520"><figcaption><p>Select your wallet.</p></figcaption></figure>

If you use Rabby, the UI will automatically switch to the Sonic network. If you use MetaMask, it may ask you to add the network to the wallet first.

<figure><img src="https://180242877-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJvtfR7L0PJEmCLLFDuzx%2Fuploads%2F4L3WssPNfYcqFTyiFZPk%2Flp-sonic-pair.png?alt=media" alt="The SPACE Liquidity UI on Sonic with S and xSPACE pre-selected"><figcaption><p>Once your wallet is connected, you must see that xSPACE and S are pre-selected.</p></figcaption></figure>

### 3. Enter the amount you want to add

You need to provide xSPACE and S in a \~50/50 ratio (for example, $1.71 of xSPACE and $1.71 of S).

Clicking the **Max** button will automatically fetch the maximum amount that you can add to the pool, according to your xSPACE and S balances.

<figure><img src="https://180242877-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJvtfR7L0PJEmCLLFDuzx%2Fuploads%2FO3J4aLE5fkGFB9TfQan8%2Flp-sonic-amounts.png?alt=media" alt="Amount fields filled in the SPACE Liquidity UI on Sonic"><figcaption><p>The UI will automatically ensure that the 50/50 ratio is respected.</p></figcaption></figure>

### 4. Approve xSPACE

Approve xSPACE so the token can interact with the pool. This requires you to sign a transaction on your Web3 wallet; don't worry, it is safe.

<figure><img src="https://180242877-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJvtfR7L0PJEmCLLFDuzx%2Fuploads%2FZxngFuGnwgeMoUJBoBAT%2Flp-ui-approve-xspace.png?alt=media" alt="The Approve xSPACE button in the SPACE Liquidity UI"><figcaption><p>Click the <strong>Approve xSPACE</strong> button.</p></figcaption></figure>

### 5. Confirm the approval transaction

Sign the approval and wait for the network confirmation.

<figure><img src="https://180242877-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJvtfR7L0PJEmCLLFDuzx%2Fuploads%2FCPacM9dbmQgUFQiXxQIq%2Flp-sonic-sign-approve.png?alt=media" alt="Rabby asking to sign the token approval on Sonic" width="621"><figcaption><p>Click the <strong>Sign</strong> button to approve xSPACE on Sonic.</p></figcaption></figure>

<figure><img src="https://180242877-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJvtfR7L0PJEmCLLFDuzx%2Fuploads%2FDRmK1vKfEFh1vUDjl226%2Flp-sonic-tx-confirmed.png?alt=media" alt="Approval transaction confirmed notification" width="529"><figcaption><p>After some time, you will see that the transaction is confirmed.</p></figcaption></figure>

### 6. Click the Add Liquidity button

<figure><img src="https://180242877-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJvtfR7L0PJEmCLLFDuzx%2Fuploads%2FoAFEC02aclE1cMtj7p12%2Flp-ui-add-liquidity.png?alt=media" alt="The Add Liquidity button in the SPACE Liquidity UI"><figcaption><p>Click the <strong>Add Liquidity</strong> button.</p></figcaption></figure>

### 7. Sign the transaction

<figure><img src="https://180242877-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJvtfR7L0PJEmCLLFDuzx%2Fuploads%2F4U4ZIzO0tKk8ZUlgMQ9H%2Flp-sonic-sign-add.png?alt=media" alt="Rabby asking to sign the add liquidity transaction on Sonic" width="621"><figcaption><p>If you use Rabby, just click the <strong>Sign</strong> button.</p></figcaption></figure>

After some time, we will confirm that you succeeded in adding liquidity.

<figure><img src="https://180242877-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJvtfR7L0PJEmCLLFDuzx%2Fuploads%2FgEiI6wW70P3cDVAf3Vq6%2Flp-sonic-liquidity-added.png?alt=media" alt="The Liquidity added confirmation toast" width="561"><figcaption><p>The mint transaction is confirmed.</p></figcaption></figure>

### Check your position

Click the **Your Positions** button to see your liquidity position.

<figure><img src="https://180242877-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJvtfR7L0PJEmCLLFDuzx%2Fuploads%2FgPbizaATsTT2itQ0vKip%2Flp-ui-your-positions.png?alt=media" alt="The Add Liquidity and Your Positions buttons" width="464"><figcaption><p>Click <strong>Your Positions</strong>.</p></figcaption></figure>

<figure><img src="https://180242877-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJvtfR7L0PJEmCLLFDuzx%2Fuploads%2F70fKQNxUQ7I0kR18sTCL%2Fimage.png?alt=media&#x26;token=7cc8ae94-233b-4442-98e1-dcefa8f52e1a" alt="An xSPACE / S position on Sonic"><figcaption><p>This position contains ~169 xSPACE and ~12 S, which corresponds to around 0.55 SPACE LP.</p></figcaption></figure>

### Manage your position

Bookmark <https://liquidity.spacetoken.tech/positions>. From there you can, at any time:

* **Claim Fees** — collect the trading fees your position has earned. The position stays open and keeps earning.
* **Add Liquidity** — top up a position that is already live, instead of opening a second one.
* **Close Position** — withdraw both tokens together with the fees earned, in a single transaction.

{% hint style="info" %}
If you come back to the add-liquidity page while a position is already open, the UI detects it and shows **Existing position detected. Liquidity will be added to it.** The button then reads **Increase Liquidity**, so your liquidity is concentrated in that one position instead of being spread across several.
{% endhint %}

### 🎉 Congratulations!

You've successfully added xSPACE and S to the Uniswap V3 liquidity pool on Sonic.

1. Refresh your SPACE LP balance on the [Space Bonuses page](https://autofaucet.dutchycorp.space/?redir=space_bonus.php) of Final Autoclaim to enjoy the bonuses.
2. Once your LP balance is refreshed, activate the **xSPACE LP staking pool** to enjoy a high APR.

{% hint style="info" %}
See how much your liquidity earns you: [SPACE LP bonuses](/space-token-bonuses/space-lp-bonuses.md)
{% endhint %}
