Pool Configuration

This feature is currently available only to test users with the password.

Pool Configuration allows users to provide liquidity to PixelSwap and earn a share of the trading fees. Configuring a liquidity pool is essential for ensuring the platform's liquidity.

Configuration Steps:

  1. Select a Pool: Browse available liquidity pools on the Pool page and choose one that interests you.

  2. Add Liquidity:

    • Select the token pair you wish to provide liquidity for and enter the amounts. The system will automatically calculate the required amount of the second token.

    • Click "Add Liquidity," and the system will prompt you to confirm the transaction.

  3. Create a New Pool:

    • If the desired pool does not exist, select the “Create Pool” option.

    • Follow the steps to choose the token pair, set initial liquidity, and configure the pool settings.

  4. Confirm and Add: After confirming the liquidity configuration and completing the transaction, you will receive Liquidity Provider (LP) tokens, representing your share in the pool.

  5. View Pool Status: After configuration, you can view your liquidity details, including the share in the pool and any unclaimed rewards, under "My Pools"

Key Points:

  • Impermanent Loss: Providing liquidity carries the risk of impermanent loss, especially during significant price fluctuations.

  • Liquidity Withdrawal: You can withdraw from the liquidity pool at any time, and the system will return your tokens based on the current pool status.

Operational Instructions:

  • Switch Pool Views: Click the toggle button to switch between viewing "All Pools" or only the pools currently participated in by the connected wallet address. Use the search box on the right to search by token name or contract address.

  • View Pool Details: Click on a pool name to jump to the detailed page of that specific pool.

  • Unlock the Add Liquidity Feature:

    • On the pool detail page, press the spacebar 5 times to reveal an input box.

    • Enter the password to display the "Add Liquidity" button.

  • Create Pool:

    • Initiate Pool Creation: If the desired token pair does not already have a pool, you can create one by selecting the “Create Pool” option.

    • Select Token Pair: Choose the two tokens you wish to pair together. You will be the initial liquidity provider for this pool.

    • Set Initial Parameters:

      • Set the pool’s fee structure, including the percentage of fees charged on swaps involving this pool.

      • Input the amount of each token to provide as initial liquidity.

    • Confirm and Create:

      • Review the details of the new pool, including the token pair, initial liquidity, and fee structure.

      • Click “Create Pool” to finalize the process. The system will generate the new pool, and you will receive Liquidity Provider (LP) tokens representing your share of the pool.

  • Add Liquidity:

    • Clicking "Add Liquidity" brings up a pop-up window, with the connected wallet selected by default.

    • If you select "Funding Wallet," you will be prompted to choose which wallet to use.

    • Search for the desired wallet and select it from the options (only one can be chosen).

    • Input the amount of tokens to add and confirm.

    • The settings button in the top right corner allows further configuration.

Last updated