Liquidity & Swap

Overview

Pike integrates a DEX function powered by Tapio, 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.

  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.

  4. Confirm the Add Liquidity Transaction

    • Click the Add Liquidity button.

    • Approve the transaction in your wallet.

    • Wait for blockchain confirmation.

  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.

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.

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

  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.

  3. Confirm the Remove Liquidity Transaction

    • Click the Remove Liquidity button.

    • Approve the transaction in your wallet.

    • Wait for blockchain confirmation.

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.

    • Locate the ‘Swap’ button in the top section

  2. Enter the Remove 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.

  3. Confirm the Remove Liquidity Transaction

    • Click the Remove Liquidity button.

    • Approve the transaction in your wallet.

    • Wait for blockchain confirmation.

  4. Receive Swap Tokens

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

Last updated