DeepBook
DeepBook is Sui's native liquidity layer, providing a central limit order book for spot trading, margin trading, and prediction markets.
Before you build, decide how your code calls DeepBook. You can depend on the DeepBookV3 Move package from your own Move module, compose transactions with the TypeScript SDK, or read market data without signing transactions. See Choose your integration model to compare the options.
Design
Learn about DeepBookV3 design, including the Pool, PoolRegistry, and BalanceManager shared objects.
Fees and Funding
How DeepBook trading fees work and how to fund a BalanceManager with DEEP: paying fees in DEEP or the input token, the floating DEEP price, maker, taker, and staking fees, and obtaining Testnet DEEP, USDC, and SUI.
Spot Trading Workflow
Hands-on DeepBook spot walkthrough on Sui Testnet: create a BalanceManager, deposit, place a limit order, read status and fills, fill your own order, cancel, and withdraw, with real transactions to observe at each step.