Skip to content
Request a review

Hyperliquid Architecture · The Hyperliquid L1 · 1/8

What is Hyperliquid?

Hyperliquid is a high-performance Layer 1 blockchain purpose-built for trading. Unlike general-purpose blockchains that bolt on trading as an afterthought, Hyperliquid's architecture is designed around a single goal: running a fully on-chain order book fast enough to compete with centralized exchanges. Every order, cancel, trade, and liquidation is a transaction ordered by consensus and executed by every validator.

The Core Thesis

Most DEXs compromise on one of three things: speed, cost, or decentralization. AMMs like Uniswap trade off capital efficiency. dYdX v3 ran its order book and matching on centralized off-chain servers, trading off decentralization. Hyperliquid's bet is that with a custom L1, you can have all three.

Key Architecture Decisions

  1. Custom L1 — Not built on Cosmos SDK, Substrate, or any existing framework. Hyperliquid's node software is written from first principles and optimized for trading.
  2. HyperBFT Consensus — A custom BFT consensus algorithm inspired by HotStuff, optimized for low end-to-end latency with one-block finality.
  3. On-Chain Order Book and Matching — The order books and the matching engine are part of the chain's state (called HyperCore). Orders are matched deterministically as each block is executed, not on a separate off-chain server. Order actions pay no gas; trading fees are charged only on fills.
  4. HyperCore and HyperEVM — HyperCore holds the order books, margin, and spot balances, while HyperEVM provides EVM compatibility for DeFi composability. Both are secured by the same consensus.

Performance Numbers

As of October 2026, per the Hyperliquid docs:

Metric Hyperliquid
Order latency (end-to-end, co-located client) ~0.2s median, ~0.9s p99
Throughput ~200,000 orders/sec
Finality One block
Gas fees None for order actions (trading fees apply on fills)

Why This Matters

No gas on order actions means market makers can update quotes without gas costs eating into their margins. Fast finality means traders can react to market events in near real time. And because matching happens inside consensus, you get CEX-like speed with blockchain-level transparency — orders, fills, positions, and liquidations are all verifiable.

In the next lessons, we'll dive into how HyperBFT consensus works, the order book mechanics, and the validator network that secures it all.