ICPEx Docs
  • ICPEx Intro
    • About ICPEx
    • PMM Algorithm
      • PMM General Liquidity Framework
      • Various Use Cases Based on the PMM Algorithm
  • PRODUCT FEATURES
    • Exchange
    • Liquidity Pool Creation
      • Public Pool
        • Standard Mode
        • Single-Token Mode
      • Private Pool
      • Anchored Pool
    • Liquidity Adding & Removing
    • Token Creation
    • Add Cycles for Canister
    • How to exchange old tokens for new tokens with minimal loss
    • How to Create a Fixed Ratio Anchored Pool with Nearly Zero Volatility for LST
  • ICRC-2+ Protocol
    • Introduction
    • New Features List
    • Method Calling Guide
  • TOKENOMICS
    • IEX Token Allocation
  • RESOURCES
    • Media Kit
    • Contact
  • LEGAL & PRIVACY
    • Terms of Service
    • Disclosures & Disclaimer
Powered by GitBook
On this page
  • 1. Select the liquidity pool mode
  • 2. Set the parameters
  • 3. Create the liquidity pool

Was this helpful?

  1. PRODUCT FEATURES

How to exchange old tokens for new tokens with minimal loss

PreviousAdd Cycles for CanisterNextHow to Create a Fixed Ratio Anchored Pool with Nearly Zero Volatility for LST

Last updated 9 months ago

Was this helpful?

If a project team issues new tokens, community members need to exchange their old tokens for the new ones. With a typical DEX solution, you would need to create a sufficiently deep liquidity pool for the exchange. However, on ICPEx, you can easily achieve this exchange using the Single-Token pool mechanism, which allows for providing only one-sided liquidity.

Here is an example of the process to create an exchange pool. Assume the old token is tokenA and the new token is tokenB, with an exchange rate of 1 tokenA = 10,000 tokenB.

1. Select the liquidity pool mode

On the Create Pool page, select the Single-Token mode and specify the token types for both sides of the exchange. Set the amount of tokenB to be exchanged.

2. Set the parameters

(1) According to the exchange rate of 1 tokenA = 10,000 tokenB, set the exchange price to 1 tokenB = 0.0001 tokenA.

(2) Set the Trading Fee Rate to 0.01% to minimize transaction fees.

(3) Set the Volatility Coefficient to 0 to achieve a fixed exchange price.

3. Create the liquidity pool