CEX matching engine + cold/hot wallet internal architecture
ConfidenceLikelyUpdated2026-07-29Review by2027-01-29Sources5Machine-translatedOriginal (JA)
On this page
Wiki route
This entry sits under exchanges index. Read it against Domestic VASP Cold Storage 95% + Segregated Management Regime for peer / contrast context and FSA crypto-asset exchange registration system — number system / Local Finance Bureau jurisdiction / registration requirements for the broader system / regulatory boundary.
1. Matching engine overview
The core of a CEX = the matching engine (order-book matching engine). Design philosophies broadly fall into 3 categories:
- CLOB (Central Limit Order Book) — industry standard. Matches buy and sell orders by price and time. Carried over from NYSE / NASDAQ to CEXs
- RFQ (Request for Quote) — centered on institutional OTC. Request a bid/ask quote → individual fill
- AMM-like — DEX family. AMMs are an alternative design to CEX matching (see amm-design-evolution)
CEXs (Binance / Coinbase / bitFlyer / all domestic firms) are CLOB-based. Large institutional trades are handled separately by an OTC desk via RFQ.
2. CLOB matching-engine design elements
| Element | Content |
|---|---|
| FIFO (First-In First-Out) | Same price fills by time priority |
| price-time priority | 2 -stage matching of price priority + time priority |
| iceberg orders | Display large orders in splits to suppress market impact |
| post-only / IOC / FOK | Order types (maker only / Immediate-or-Cancel / Fill-or-Kill) |
| co-location | Low-latency connectivity for institutional HFT (NYSE / Binance VIP) |
Representative implementations: NYSE / Binance / Coinbase / dYdX v4 (Cosmos appchain). dYdX v4 implements a CLOB on top of on-chain validators, attempting to fuse CEX performance with DEX transparency.
3. RFQ / OTC engine
Institutional OTC (Cumberland / B2C2 / FalconX / Genesis (bankrupt)) adopts an RFQ scheme rather than a CLOB:
- A client requests a quote, e.g. “I want to buy 100 BTC”
- The market maker presents a bid/ask
- Individual fill (does not appear in the order book)
- Controls slippage + conceals price on large trades
Domestic OTC: bitFlyer / Coincheck provide similar functionality to retail customers under the “sales-counter (販売所)” label (see jp-cex-sales-vs-exchange-model-economics).
4. Cold/hot wallet internal architecture
The 3 -tier structure based on domestic VASP obligations (jp-vasp-cold-storage-segregation-rules):
- Hot wallet (≤ 5% domestic obligation) — directly connected to the matching engine · real-time deposit/withdrawal processing · maker/taker bot integration · signing via API
- Warm wallet — semi-offline · staging for large withdrawals · replenished from cold multiple times per 1 day
- Cold wallet (≥ 95% domestic obligation) — air-gapped signing · multi-sig (at least 2-of-3 ) · HSM or MPC mandatory
The Coincheck 2018 NEM 580 億円 incident was the result of “effectively hot 100%” (coincheck-nem-hack-detailed-analysis). The regulatory tightening after that incident made 3 -tier separation a domestic obligation.
5. Major technology stack
Representative technology categories used for signing and key management (global-institutional-custody-five-pillars / jp-institutional-custody-three-pillars):
Source: The entire table is based on Safe Signatures, NIST FIPS 140-3, and Fireblocks’ MPC overview, checked on 2026-07-29.
| Technology | Public specification example | Role |
|---|---|---|
| multi-signature | Safe smart-account signatures | A smart-account model that supports multiple owner signatures; the threshold is configured for each account |
| HSM / cryptographic module | NIST FIPS 140-3 | Defines security requirements and four security levels for the design and implementation of cryptographic modules |
| MPC | Fireblocks MPC | Distributes private-key operations across multiple parties and key shares so that no complete private key is held in one place |
The signing method, threshold, and HSM / MPC configuration used by a particular CEX or custody provider can change. Do not infer an operator’s implementation from this table. For an individual incident analysis, see bybit-lazarus-hack-detailed-analysis; for forensic methods, see bytecode forensic 3-tier verify and forensic identity anchor chain.
Source: general industry knowledge + Binance / Coinbase tech blog + Gnosis Safe docs + Fireblocks whitepaper + Anchorage announcements.
Discovery
Keep reading
Read next
- Mercado Bitcoin — Brazilian CEX / RWA tokenization overviewSource: The entire table is based on Mercado Bitcoin's official company profile, Lei 14.478/2022, and the Banco Central do Brasil regulatory announcement, checked on 2026-07-29.
- CEX native token strategy comparison — economic mechanics of BNB / OKB / HT / KCS / BGB and othersLarge overseas CEXs issue their own token (exchange token), integrating the 3 roles of (a) fee discounts, (b) profit-return buyback&burn, and (c) own-L1 gas token. This is a design that simu...
- Upbit(업비트)/ Dunamu — Korean KRW spot CEX overviewMarket share, 24-hour volume, rankings, and company valuation vary by timestamp and methodology, so this static entry does not freeze them. Comparisons should use the same provider, measurem...
Links here
- Embedded-wallet network effects · the moat is in the integrator, not the wallet itselfThe more integrators there are → the more users can have their wallet "follow me" across dApps → the more new integrators tend to pick the same wallet → the flywheel starts turning.
- Crypto-asset custody provider landscape matrix — Japan + Global institutional custody 10 社 technology / regulation / customer comparisonThe institutional crypto-asset custody market is differentiated along three axes: (1) technology model (cold storage / MPC / hybrid) × (2) license tier (Trust Charter / VASP / vendor only) ×...
- Global perp DEX competitive deep-dive matrixPerpetual-futures DEXs use structurally different liquidity models: CLOB, vAMM / pool-counterparty, and hybrid / oracle-pricing. This entry compares venue and version architecture, including...
- Japan VASP business-model competitive matrix — comparison of 39 社's business segments / revenue structures / differentiation axesThe FSA crypto-asset exchange service provider registry lists 26 operators as of 2026-06-30. The matrix's 39 analytical rows also include crypto-asset derivatives, electronic-payment-instrum...
- Domestic VASP Cold Storage 95% + Segregated Management RegimeUnder the amended Payment Services Act Enforcement Regulations (in force 2020-05 ), domestic VASPs are subject to an obligation to hold 95% or more of the crypto-assets entrusted by customer...