Creating a Pool
Project team set pool config via the Native UI. Fill in the data and clicks on "Create Pool". Where "Liquidity address" refers to Treasury in this doc, which is the source of liquidity of the pool
Project team signs the transaction
Native Backend is called to generate an unique signer for the pool
The Pool Factory is called to spin up a new pool and pass all the pair configs and signer address to initialize a new Pool using the
constructor()
functionNative Backend is called to save the pool details in the Native database after creation is successful on-chain
Project team should use the Liquidity address to give allowance to the Pool to allow users swapping on the Pool. It can be done by connecting Liquidity address, clicking on "Manage", and using the "Change allowance" button in the pool.
Last updated