Skip to content本文へ移動

Hyperliquid Architecture · The Hyperliquid L1 · 3/8

The On-Chain Order Book

Why a CLOB?

Hyperliquid uses a Central Limit Order Book (CLOB) — the same model used by every major centralized exchange (Binance, NYSE, CME). In a CLOB:

This is fundamentally different from AMMs (Uniswap, Curve) where liquidity is provided through mathematical formulas rather than discrete orders.

Order Types

Hyperliquid supports a rich set of order types, comparable to centralized exchanges:

Basic Orders

Advanced Orders

Matching Engine

The matching engine is part of HyperCore, the chain's execution state. There is no separate off-chain matching server: every validator executes the same ordered transactions and arrives at the same book state.

  1. A signed order is sent to an API server or node, which gossips it to the validators
  2. Consensus orders it into a block alongside other transactions
  3. Every validator executes the block and checks the opposing side of the book
  4. If a match exists (bid >= ask), the trade executes; margin is checked for both sides
  5. Partial fills are supported — the remainder rests on the book
  6. Price-time priority: better price first, then earlier placement

Because matching happens inside consensus, the book itself, every fill, and every resulting position are part of the verifiable chain state.

No Gas for Order Actions

One of Hyperliquid's most important design decisions is no gas fees for order operations. Placing, modifying, and cancelling orders costs no gas; trading fees are charged only when an order fills. This is critical because:

The L1 achieves this by treating order operations as native HyperCore actions rather than smart contract calls. Spam is controlled instead by address-based rate limits that grow with an account's cumulative traded volume (rate limits).

Funding Rate Mechanism

For perpetual futures, Hyperliquid uses a funding rate mechanism to keep perp prices anchored to spot:

See the funding docs for the exact formula.

This creates an incentive for traders to take the side that receives funding, which pushes perp prices back toward spot.

Hyperliquid のアーキテクチャ · Hyperliquid の L1 · 3/8

チェーン上の板

なぜ CLOB なのか

Hyperliquid は CLOB(Central Limit Order Book、中央指値注文板) を使います。大手の中央集権型の取引所(Binance、NYSE、CME)がどこも使っている仕組みです。CLOB では次のように動きます。

これは AMM(Uniswap、Curve)とは根本から違います。AMM では、流動性は一つひとつの注文ではなく、数式で提供されます。

注文の種類

Hyperliquid は、中央集権型の取引所に並ぶほど多くの注文の種類に対応しています。

基本の注文

発展的な注文

突き合わせのエンジン

突き合わせのエンジンは、チェーンの実行状態である HyperCore の一部です。別のオフチェーンの突き合わせサーバーはありません。すべてのバリデーターが同じ順番の取引を実行し、同じ板の状態にたどり着きます。

  1. 署名した注文を API サーバーかノードに送ると、それがバリデーターに広まります
  2. コンセンサスが、ほかの取引と一緒にその注文をブロックの中に並べます
  3. すべてのバリデーターがブロックを実行し、板の反対側を確かめます
  4. 突き合わせられる注文があれば(買値 >= 売値)、売買が成立します。双方の証拠金を確かめます
  5. 一部だけの約定もできます。残りは板に並びます
  6. 価格優先・時間優先です。よい価格が先、同じなら先に出した注文が先です

突き合わせがコンセンサスの中で行われるので、板そのもの、すべての約定、そこから生じるすべてのポジションが、検証できるチェーンの状態の一部になります。

注文の操作にガス代がかからない

Hyperliquid の設計で特に大事な判断の1つが、注文の操作にガス代がかからないことです。注文を出す、変える、取り消す操作にはガス代がかかりません。売買の手数料は、注文が約定したときだけかかります。これが大事な理由は次のとおりです。

L1 は、注文の操作をスマートコントラクトの呼び出しではなく、HyperCore の組み込みの操作として扱うことで、これを実現しています。スパムは、代わりにアドレスごとの回数制限で抑えます。この上限は、その口座のこれまでの売買高が増えるほど上がります(回数制限)。

資金調達料の仕組み

無期限先物では、Hyperliquid は資金調達料の仕組みを使って、無期限先物の価格を現物につなぎ止めます。

正確な式は資金調達料の資料を見てください。

こうして、資金調達料を受け取る側につく動機が生まれます。それが無期限先物の価格を現物の方へ押し戻します。