Post
Share your knowledge.
Do I need my own pool to create a DEX on Sui?
I'm working on creating a decentralized exchange (DEX) and wondering if it's necessary to create my own liquidity pool, or can I utilize another DEX's pool? I'm considering building on Sui using DeepBook and looking for some guidance.
- Sui
Answers
3If you're developing a DEX on Sui using DeepBook, you have two main options: build your own liquidity pool or utilize DeepBook’s decentralized central limit order book (CLOB) model. With DeepBook, traditional liquidity pools aren't necessary—users submit bids and asks, and the protocol automatically matches buyers with sellers. For more details, check out their documentation:
Yes, if you’re building a DEX on Sui, you’ll need to create your own liquidity pools for the token pairs you want to trade. Sui doesn’t provide default pools; each DEX (like Cetus or Kriya) manages its own pool smart contracts where users deposit tokens to enable swaps and earn fees.
Your smart contract must define: • The pool structure (token pair, reserves, LP shares) • Functions for adding/removing liquidity • Swap logic (pricing formula, e.g., constant‑product AMM) • Fee distribution to liquidity providers
Alternatively, you can integrate with an existing DEX’s pools (e.g., Cetus Protocol) if your goal is to build an interface or aggregator instead of deploying standalone pools.
If you're building a DEX on Sui using DeepBook, you can either create your own liquidity pool or leverage DeepBook’s decentralized central limit order book (CLOB) model. With DeepBook, there’s no need for traditional liquidity pools, users place bids and asks, and the system automatically matches buyers and sellers. You can find more information about this in their documentation: https://docs.sui.io/standards/deepbook
Do you know the answer?
Please log in and share it.
Sui is a Layer 1 protocol blockchain designed as the first internet-scale programmable blockchain platform.
- Why does BCS require exact field order for deserialization when Move structs have named fields?65
- How to Maximize Profit Holding SUI: Sui Staking vs Liquid Staking514
- Multiple Source Verification Errors" in Sui Move Module Publications - Automated Error Resolution55
- Sui Move Error - Unable to process transaction No valid gas coins found for the transaction419
- Sui Transaction Failing: Objects Reserved for Another Transaction49