🏭Create Pools

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 corresponding oracle address must be supplied.

Interface for creation of new pools

Note: Newly created pools are subject to a community vote before an emissions gauge is added to accrue protocol rewards. Once a new pool is added, the creating user will be responsible for adding some initial liquidity and performing a single manual swap to initialize the pool.

If you are looking for Oracles, we highly suggest checking out one of our partners, Chainlink!

Chainlink Data Feeds: https://data.chain.link/feeds


Steps:

  1. Find the pool's contract on the associated chain's block explorer. (e.g., Etherscan)

  1. Under the Write contract methods, connect your wallet to block explorer.

  1. Perform a single originSwap in either direction.

A manual swap with a base token address, quote token address, amount to swap in base token's decimals, minimum to receive in quote token'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.

Last updated

Was this helpful?