DFX allows the creation of new pools by pairing any token to the quote token of USDC. To create a pool, a token address and a correponding oracle address must be supplied.
Interface for creation of new pools
Note: Newly created pools are subject to a community vote before a gauge is added to accrue protocol rewards. Once a new pool is added, the creating user will be reponsible for adding some initial liquidity and performing a single manual swap to initialize the pool. Steps:
- 1.Find the pool's contract on the associated chain's block explorer (e.g., Etherscan)
- 2.Under the
Writecontract methods, connect your wallet to block explorer
- 3.Perform a single
originSwapin either directionA manual swap with a
quotetoken address, amount to swap in
basetoken's decimals, minimum to receive in
quotetoken's decimals (can be 0), and epoch time (second) deadline before tx will timeout.
Upon a successful transaction, swapping between the new pair will be available on the DFX API.