Why This Matters
You Own It
Custody and settlement contracts deploy to your instance. Control upgrades, parameters, and access. Switch providers anytime—your infrastructure stays yours.
Regulatory-Ready
Immutable audit trails. Atomic settlement. Best execution through transparent order books. Compliance enforces automatically before every trade.
Non-Custodial
Assets remain in smart contracts you control. No counterparty risk from technology providers. Users verify balances on-chain anytime.
Institutional Performance
Off-chain matching delivers sub-second order placement. On-chain settlement guarantees finality. The best of both worlds.
How It Works
The order book uses a hybrid architecture: matching happens off-chain for speed, settlement happens on-chain for security.- Traders deposit tokens into the custody contract
- Orders route through the matching engine instantly
- Matched trades settle atomically on-chain
- Failed settlements revert completely—no partial states
Your institution operates the matching engine. The settlement operator can execute matched trades but cannot access user funds. All balances remain verifiable on-chain.
Order Types
Limit Orders execute at your specified price or better. Orders remain active until filled, cancelled, or expired. Market Orders execute immediately at the best available price. Use when speed matters more than price precision. Time-in-Force Options:- GTC (Good Till Cancelled)
- IOC (Immediate or Cancel)
- FOK (Fill or Kill)
The Custody Contract
Three balance states provide complete transparency:| State | Description |
|---|---|
| Total Balance | All tokens deposited by the user |
| Available Balance | Free for new orders or withdrawal |
| Locked Balance | Committed to open orders |
Settlement
Batch settlement processes multiple trades in a single transaction:- Reduces gas costs significantly
- Ensures atomic execution—all trades settle or none do
- Cryptographic proof validates order book state
- Invalid settlements revert automatically
Compliance Built In
The order book inherits your token’s transfer restrictions automatically. Your Identity Verification Contract validates counterparties before settlement. Non-compliant trades reject at the contract level. KYC verification, geographic restrictions, and holding limits all enforce through your existing token configuration. No additional compliance layer required.Getting Started
Create Order Book
Deploy through the API or Issuers Dashboard. Pair your security token with a quote token (typically a stablecoin).
Configure Parameters
Set minimum order sizes, tick sizes, and fee structure. Maker/taker fees configure independently.
White Label Ready
Enable the Order Book module in your white label deployment for a complete trading interface:- Real-time order book visualization
- TradingView charts
- Order entry and position management
- Wallet connection and custody deposits
Security Architecture
| Feature | Benefit |
|---|---|
| Non-custodial | Users control deposits and withdrawals |
| Atomic settlement | Trades complete fully or revert entirely |
| UUPS proxy pattern | Upgradeable for security patches |
| Operator limits | Settlement operator cannot access funds |
| On-chain verification | All balances verifiable via contract reads |
