帖子
分享您的知识。
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
答案
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:
是的,如果您要在Sui上建立DEX,则需要为要交易的代币对创建自己的流动性池. Sui 不提供默认池;每个 DEX(如 Cetus 或 Kriya)管理自己的矿池智能合约,用户可以在其中存入代币以启用掉期并赚取费用.
你的智能合约必须定义: • 资金池结构(代币对、储备、LP 份额) • 增加/移除流动性的函数 • 互换逻辑(定价公式,例如恒定乘积 AMM) • 向流动性提供者分配费用
或者,如果您的目标是构建接口或聚合器而不是部署独立池,则可以与现有 DEX 的池(例如 Cetus 协议)集成.
如果你使用DeepBook在Sui上建立去中心化交易所,你可以创建自己的流动性池,也可以利用DeepBook的去中心化中央限价订单簿(CLOB)模型. 使用DeepBook,无需传统的流动性池,用户可以出价和要价,系统会自动匹配买家和卖家. 你可以在他们的文档中找到更多关于这个的信息:https://docs.sui.io/standards/deepbook
你知道答案吗?
请登录并分享。
Sui is a Layer 1 protocol blockchain designed as the first internet-scale programmable blockchain platform.