
DeepBook
DeepBook is an open-source decentralized limit order book and trading protocol built on the Sui blockchain.
Overview
DeepBook is a decentralized limit order book (LOB) protocol implemented as a smart contract on the Sui blockchain. It enables developers and DeFi teams to build order book-based trading applications with features such as limit orders, market orders, and swaps. The protocol is designed to leverage Sui's Move programming language and its high-performance blockchain infrastructure to provide a scalable and composable trading experience. DeepBook is primarily intended for developers familiar with Sui and Move who want to integrate decentralized trading capabilities into their dapps or build custom DeFi products.
The protocol requires users to run or connect to a Sui full node, either locally or on testnet/mainnet, and interact with the DeepBook smart contracts via the Sui client CLI or SDK. It supports creating and publishing Move packages, managing custodian accounts for limit orders, minting tokens, and placing various order types through command-line calls. DeepBook also integrates with Sui Wallet for token management and transaction signing.
What sets DeepBook apart is its focus on a fully on-chain limit order book model on Sui, contrasting with AMM-based DEXs common on other chains. It offers granular control over order parameters like tick size, lot size, maker rebates, and taker fees, enabling customized pool creation. The protocol is open-source and educational, with no formal security audit, targeting developers who want to experiment or build advanced trading features on Sui. While it lacks a polished UI or extensive ecosystem integrations, its detailed documentation and example scripts provide a solid foundation for DeFi developers exploring order book mechanics on a Move-based chain.
Currently, DeepBook is in active development with code and docs hosted on GitHub. It supports testnet and localnet environments for experimentation. Use cases include building decentralized exchanges with limit order functionality, creating custom token swap pools with configurable fees, and integrating order book trading into broader DeFi platforms on Sui. Developers can get started by setting up a Sui node, installing Rust and Sui dev tools, publishing the DeepBook package, and following the documented CLI commands to create pools, mint tokens, and place orders.
The Problem
Decentralized trading on many blockchains is often limited to automated market makers (AMMs), which lack the precision and flexibility of traditional limit order books. Developers building DeFi applications on Sui need a robust, composable protocol to implement limit order book trading with customizable parameters. However, existing solutions are scarce or not tailored for Sui's Move environment.
The Solution
Key Features
On-chain Limit Order Book
Maintains a fully on-chain order book allowing precise order placement and execution.
Token Minting and Deposits
Includes functionality to mint tokens and manage deposits/withdrawals within custodian accounts.
CLI-based Interaction
Provides command-line tools for deploying contracts, creating pools, and placing orders.
Key Strengths
How Developers Use DeepBook
Building a decentralized exchange with limit order functionality
Developers can deploy DeepBook contracts to create a DEX on Sui that supports limit and market orders, offering users more trading options than AMMs.
Creating custom token swap pools with adjustable fees
Teams can configure pools with specific tick sizes and fee structures to optimize trading incentives and liquidity.
Integrating order book trading into DeFi platforms
DeFi projects can embed DeepBook's protocol to add advanced trading features, improving composability and user experience.
Works Well With
Sui

Ship faster than your competition
Free RPC across 75+ chains. Spin up an endpoint in under 30 seconds.
Compare
View Full Comparison| Composability | |||
| Cross-Chain | |||
| Customizability | |||
| Developer Support | |||
| Ease of Integration | |||
| Performance |
Add a related tool
DeepBook Alternatives
Explore web3 competitors and apps like DeepBook.

SushiSwap DAO

Rage Trade

Mintro

SushiSwap

Liquid Staking

MakerDAO

thirdweb RPC

Thirdweb JS Library
Explore

Satori Finance
Pricing
Open Source | |
|---|---|
| Price (Monthly) | Free |
| Price (Annual) | Free |
| Messaging | N/A |
| Support | Community support via GitHub |
| Analytics |
Start Building Now
Reliable RPC, powerful APIs, and zero hassle.
Resources
DeepBook provides detailed documentation and example scripts on GitHub to help developers set up a local or testnet Sui environment, deploy the protocol, and interact with it via CLI commands.