//Solutions>Builder's Guide>Tools>DeepBook
DeepBook

DeepBook

DeepBook is an open-source decentralized limit order book and trading protocol built on the Sui blockchain.

usersUnknown
launchedUnknown
chains
Submit or update a tool
Audience
💸DeFi Developers
🛠️Infrastructure Developers
websitexgithubdiscord

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.

Lack of native limit order book protocol on Sui

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

Native Sui Move Implementation
Customizable Trading Pools
Comprehensive Order Types

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
Sui

Ship faster than your competition

Free RPC across 77+ chains. Spin up an endpoint in under 30 seconds.

Get your endpoint

Add a related tool

DeepBook Alternatives

Explore web3 competitors and apps like DeepBook.

SushiSwap DAO
Tool logo

SushiSwap DAO

SushiSwap is a decentralized exchange and DeFi platform supporting over 30 chains with a powerful aggregator for optimal trade rates.
+7
View
Rage Trade
Tool logo

Rage Trade

Rage Trade is a multi-chain perpetual futures aggregator providing unified deep liquidity across multiple markets and chains.
View
Mintro
Tool logo

Mintro

Mintro is a Web3 developer tool for creating ERC20 tokens, managing vesting schedules, and deploying cross-chain smart contracts enhanced with AI capabilities.
+1
View
SushiSwap
Tool logo

SushiSwap

SushiSwap is a decentralized exchange and DeFi platform supporting over 30 chains with a powerful aggregator for optimal trading rates.
+3
View
Liquid Staking
Tool logo

Liquid Staking

Lido is a liquid staking protocol that enables secure, decentralized, and liquid staking of Ethereum and other PoS tokens.
View
MakerDAO
Tool logo

MakerDAO

MakerDAO enables the generation of Dai, the world’s first unbiased currency and leading decentralized stablecoin.
View
thirdweb RPC
Tool logo

thirdweb RPC

A comprehensive platform offering SDKs, APIs, and infrastructure to build, deploy, and manage web3 apps across EVM chains and Solana.
+4
View
Thirdweb JS Library
Tool logo

Thirdweb JS Library

An open-source full-stack web3 development platform offering SDKs, APIs, and prebuilt contracts to build, monetize, and scale blockchain applications across EVM chains and Solana.
View
Explore
Tool logo

Explore

A comprehensive platform offering audited Ethereum smart contract templates and SDKs for building, deploying, and scaling web3 applications.
View
Satori Finance
Tool logo

Satori Finance

A decentralized derivatives platform offering perpetual futures trading with off-chain aggregation and on-chain settlement across multiple chains.
+6
View

Pricing

Open Source
Price (Monthly)Free
Price (Annual)Free
MessagingN/A
SupportCommunity 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.