# Liquidity & Swap

### **Overview**

Pike integrates a DEX function powered by [Tapio](https://docs.tapio.finance/), allowing users to add stable/correlated assets to supported liquidity pools and earn trading fees. Liquidity providers can then use the resulting SPA tokens as collateral in Pike’s lending market. Additionally, users benefit from more efficient swaps between supported stable/correlated assets.

### **How to Add Liquidity**

1. **Connect Your Wallet**
   * Visit pike dApp
   * Ensure your crypto wallet is connected to the protocol.
   * Verify that you have the assets.

2. **Select an asset to provide liquidity**

   * Go to the ’**Liquidity’** section of the navigator.
   * Click the **Add Liquidity** button for the asset you want to deposit.&#x20;

   <figure><img src="https://301285742-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWbhfh0L844KOcrKTr2Od%2Fuploads%2FdBACT0NfaaCV9JrNefTg%2FScreenshot%202025-12-15%20at%2021.37.20.png?alt=media&#x26;token=31feb2a9-1df4-484d-a882-0e519ca1b6b3" alt=""><figcaption></figcaption></figure>

3. **Enter the Deposit Amount**

   * Choose the deposit type (proportional for depositing two assets, single for one asset).
   * Enter the amount you want to deposit.
   * Review the pool share, price impact, and the wSPA tokens you will receive.
   * You can use those wSPA tokens to supply in the lending market.

   <figure><img src="https://301285742-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWbhfh0L844KOcrKTr2Od%2Fuploads%2F7qIasZh2vPEfM37hXBK9%2FScreenshot%202025-12-15%20at%2021.41.07.png?alt=media&#x26;token=eaaf3b94-568c-4ab8-ad78-413c08dab183" alt=""><figcaption></figcaption></figure>

4. **Confirm the Add Liquidity Transaction**

   * Click the **Add Liquidity** button.
   * Approve the transaction in your wallet.
   * Wait for blockchain confirmation.

   <figure><img src="https://301285742-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWbhfh0L844KOcrKTr2Od%2Fuploads%2FRERzrpo8wjuokN20PhON%2FScreenshot%202025-12-15%20at%2021.42.08.png?alt=media&#x26;token=b424069d-2cde-402e-bf16-454ce8423e5d" alt=""><figcaption></figcaption></figure>

5. **Monitor Your Deposited Liquidity**

   * Once the transaction is confirmed, your deposited liquidity will be displayed in the **‘My Position’** section in the pool details page.
   * Track your projected earnings and pool share over time.

   <figure><img src="https://301285742-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWbhfh0L844KOcrKTr2Od%2Fuploads%2FuRqGXUIkRLpcEzpKzjwU%2FScreenshot%202025-12-15%20at%2021.42.42.png?alt=media&#x26;token=ca0e83ec-5a18-4b70-9db0-1f7bc55f8928" alt=""><figcaption></figcaption></figure>

### **How to Remove Liquidity**

1. **Select an asset to remove liquidity**

   * Go to the ’**Liquidity’** section of the navigator.
   * Click the ‘**My Pools**’ section and the pool you want to remove liquidity.

   <figure><img src="https://301285742-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWbhfh0L844KOcrKTr2Od%2Fuploads%2Fn0RH4hJS4t7k2q24ubxD%2FScreenshot%202025-12-15%20at%2021.43.14.png?alt=media&#x26;token=bcc1bb61-529c-4078-84f5-581018ee70fc" alt=""><figcaption></figcaption></figure>

   * Locate the ‘**Remove Liquidity**’ button in ‘**My position**’ section

   <figure><img src="https://301285742-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWbhfh0L844KOcrKTr2Od%2Fuploads%2FWJ09hD2zyy0AVItcVAVm%2FScreenshot%202025-12-15%20at%2021.43.38.png?alt=media&#x26;token=bf3c2796-1146-495b-b5e1-813a385a6a4a" alt=""><figcaption></figcaption></figure>

2. **Enter the Remove Amount**

   * Choose the asset received type (proportional for two assets, single for one asset).
   * Enter the amount of wSPA you want to remove.
   * Review the pool share, price impact, and the asset amount you will receive.
   * Your removed wSPA will be burned.

   <figure><img src="https://301285742-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWbhfh0L844KOcrKTr2Od%2Fuploads%2Fc3jpfvDArYK7UmQfokfg%2FScreenshot%202025-12-15%20at%2022.18.59.png?alt=media&#x26;token=9e546813-1341-455c-9214-9120a5d69c0e" alt=""><figcaption></figcaption></figure>

3. **Confirm the Remove Liquidity Transaction**
   * Click the **Remove Liquidity** button.
   * Approve the transaction in your wallet.
   * Wait for blockchain confirmation.&#x20;

     <figure><img src="https://301285742-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWbhfh0L844KOcrKTr2Od%2Fuploads%2Fgit-blob-844f08b1c6797c20e48dc077dbe13d59e9395194%2FPrivate_SharedPike_-_User_20a67c9632cd80dbb82adf9afa54a19e4_6_22119faa-bf83-81ab-be8e-e6bd707964c3.png?alt=media" alt=""><figcaption></figcaption></figure>

### **How to Swap**

1. **Select an asset to swap**

   * Go to the ’**Liquidity’** section of the navigator.
   * Click the pool where the asset you want to swap is located.&#x20;
   * Locate the ‘**Swap**’ button in the top section

   <figure><img src="https://301285742-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWbhfh0L844KOcrKTr2Od%2Fuploads%2FmQjP3a24hflXrMhKPTmI%2FScreenshot%202025-12-15%20at%2022.20.02.png?alt=media&#x26;token=5c609e75-c3d9-4bd7-8658-5a12fceb952b" alt=""><figcaption></figcaption></figure>

2. **Enter the Swap Amount**

   * Choose the asset you want to swap from and receive.
   * Enter the amount you want to swap.
   * Review the price impact and the asset amount you will receive.

   <figure><img src="https://301285742-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWbhfh0L844KOcrKTr2Od%2Fuploads%2FGSVbpY1caEDjrBMdjwoI%2FScreenshot%202025-12-15%20at%2022.21.21.png?alt=media&#x26;token=c7157744-2793-4497-87cf-a42a1e707bb8" alt=""><figcaption></figcaption></figure>

3. **Confirm the Swap Liquidity Transaction**
   * Click the **Swap Liquidity** button.
   * Approve the transaction in your wallet.
   * Wait for blockchain confirmation.&#x20;

     <figure><img src="https://301285742-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWbhfh0L844KOcrKTr2Od%2Fuploads%2Fgit-blob-88b6418d5f7415908a4290dff65ed8a05af0cc74%2FPrivate_SharedPike_-_User_20a67c9632cd80dbb82adf9afa54a19e4_7_22119faa-bf83-810a-b61b-c4843ab5388f.png?alt=media" alt=""><figcaption></figcaption></figure>

4. **Receive Swap Tokens**

   * Once the swap is successful, the tokens will be available in your wallet.
