dreamDEX
A zero-fee, fully onchain order book exchange
dreamDEX runs spot markets and event contracts on Somnia Markets. The book, the matching and the settlement all run onchain. Makers and takers pay no trading fees, and every trade can be audited onchain.
The challenge
Order book exchanges usually make traders choose. Centralised venues are fast but hold customer funds and run matching privately. Most onchain venues keep custody with users, but move matching offchain, rely on a central sequencer, or charge taker fees that widen spreads. dreamDEX set out to offer exchange-grade execution with none of those trade-offs.
The approach
dreamDEX uses the Somnia Markets matching engine as a smart contract. Orders rest in an onchain central limit order book, are matched by price-time priority and settle in the same block. Trading fees are zero. Reserve yield from USDso, the venue's quote asset, rewards makers according to how close they quote to the top of the book. Professional and automated traders connect through REST, WebSocket, CCXT, a CLI and MCP-native APIs. Event contracts settle through the Somnia Oracle in USDso.
Highlights
How dreamDEX uses Somnia
Zero maker and taker fees
Neither side of a trade pays a trading fee. Market makers are paid from stablecoin reserve yield, not from a toll on order flow.
Every trade auditable
Order placement, matching and settlement are onchain transactions. Every market rule is published, and any fill can be traced to its transaction hash.
Built for automated traders
REST and WebSocket APIs, CCXT support, a CLI, MCP-native endpoints and an open-source bot kit let algorithmic traders and AI agents trade the same books as people.
Learn moreEvent contracts on the same engine
BTC and ETH up/down contracts on 15-minute and 1-hour windows trade on the same matching engine as spot and settle in USDso through the Somnia Oracle. They are offered in early access, in permitted jurisdictions only.
Products used
Built on the Somnia Platform
Markets
Somnia Markets
Onchain order books for crypto, RWAs and any financial market
Learn moreSettlement & Liquidity
USDso
The settlement stablecoin for markets on Somnia
Learn moreData & Truth
Somnia Oracle
Resolve any real-world question onchain, with receipts
Learn moreBlockchain
Somnia Chain
One chain: a global L1 plus low-latency Regional Subchains
Learn moreMore stories
Also running on Somnia
Build your market on Somnia
Talk to our team about launching a venue, making markets, or bringing an asset onchain. Or start building today with the docs.
