System Overview
Noise is built on a hybrid architecture: off-chain order matching for speed, onchain settlement for verifiability. The system has three main layers:- API — handles user requests, authentication, and real-time data delivery via REST and WebSocket
- Matching Engine — manages the order book, matches orders, and calculates mark prices and funding rates
- Blockchain Settlement — smart contracts on Base that hold collateral and settle matched trades onchain
Order Lifecycle
When you submit an order, it moves through a defined set of states:| Status | Description |
|---|---|
| New | Order submitted and written to the database |
| Pending | Matching Engine has picked up the order |
| Accepted | Order is live on the order book (limit orders) or being matched (market orders) |
| Filled | Order matched and settled onchain |
| Cancelled | Order cancelled by user or system |
| Rejected | Matching Engine rejected the order (insufficient margin, invalid parameters, etc.) |
Wallets & Custody
Noise is non-custodial. When you sign up, an embedded wallet is created for you through Privy. Your collateral is held in smart contracts on Base — never by Noise. All deposits and withdrawals are onchain and verifiable.You can connect an external wallet instead of using the embedded wallet if you prefer.
Onchain Settlement
All collateral is held in smart contracts on Base. When a trade is matched off-chain, settlement happens onchain through two contracts:- SettlementEngine — validates signatures from both sides of a trade and orchestrates atomic settlement
- PositionManager — manages isolated margin positions, enforces collateral requirements, and executes position updates