Skip to content本文へ移動

Vault Development · Vault Fundamentals · 1/7

What is a Hyperliquid Vault?

Overview

A Hyperliquid vault is a shared trading account where a vault leader trades on behalf of depositors. Depositors deposit USDC into the vault, and the leader executes trades. Profits and losses are distributed proportionally to each depositor's share.

How Vaults Work

Depositor A (40%) ──┐
Depositor B (30%) ──┤── Vault (100% USDC pool) ──── Leader trades ──── PnL shared
Depositor C (30%) ──┘
  1. Depositors deposit USDC with a vault transfer (the Deposit button, or the vaultTransfer action) — not by sending USDC to the vault address
  2. The vault leader (owner) can trade using the vault's USDC as margin
  3. All positions and PnL are shared proportionally; the leader earns a profit share
  4. Depositors can withdraw their share after the lockup (1 day for user vaults, 4 days for HLP)

Vault Parameters

When creating a vault, you configure:

Other rules are fixed by the protocol rather than chosen by you (as of October 2026, per the vault leader docs):

Note: the docs now call these HyperCore vaults "legacy". They can trade validator-operated perps only (no spot or HIP-3), and new vault designs are encouraged to be built on the HyperEVM with CoreWriter and precompiles (Vaults). This course covers the HyperCore vault, which is still the one shown on the Vaults page.

Vault vs Direct Trading

Feature Direct Trading Vault
Capital Your own only Pooled from depositors
Profit Share 100% yours Leader takes a cut
Risk Your risk Shared risk
Automation Manual or bot Manual or keeper bot
Transparency On-chain (all Hyperliquid accounts are public) On-chain, plus a public vault page

The Keeper Pattern

HyperCore vaults are not smart contracts that execute automatically. A leader can trade by hand from the UI, but automated vaults use a keeper — an off-chain bot that monitors market conditions and submits trades on behalf of the vault.

The keeper:

  1. Runs on a server (EC2, VPS, etc.)
  2. Monitors market data via WebSocket
  3. Makes trading decisions based on the strategy logic
  4. Signs orders with an API wallet (agent) approved by the leader, setting vaultAddress to the vault

Real Examples

Some kinds of Hyperliquid vaults:

HLP is the most prominent vault on Hyperliquid. According to the protocol vault docs, it runs several market-making strategies, performs liquidations, supplies USDC in Earn, and receives a portion of trading fees. It is one liquidity source among many market makers on the book.

vault 開発 · vault の基礎 · 1/7

Hyperliquid の vault とは

概要

Hyperliquid の vault は、共同の取引口座です。vault のリーダーが、預けた人たちに代わって売買します。預ける人は vault に USDC を入れ、リーダーが注文を出します。損益は、各自の持ち分に応じて分けられます。

vault の仕組み

Depositor A (40%) ──┐
Depositor B (30%) ──┤── Vault (100% USDC pool) ──── Leader trades ──── PnL shared
Depositor C (30%) ──┘
  1. 預ける人は、vault への振替(Deposit ボタン、または vaultTransfer アクション)で USDC を入れます。vault のアドレスに USDC を送るのではありません
  2. vault のリーダー(持ち主)は、vault の USDC を証拠金にして売買できます
  3. ポジションと損益はすべて持ち分に応じて分けられます。リーダーは利益の一部を受け取ります
  4. 預けた人は、ロック期間が過ぎれば自分の持ち分を引き出せます(ユーザーの vault は1日、HLP は4日)

vault の設定

vault を作るときに決めるのは次のものです。

ほかの決まりは、自分で選ぶのではなく、プロトコルが固定しています(2026年10月時点、vault リーダー向けの資料による)。

注: 資料では今、これらの HyperCore の vault を「legacy(旧来)」と呼んでいます。売買できるのはバリデーターが運営する無期限先物だけです(現物や HIP-3 は不可)。新しい vault の設計は、HyperEVM 上で CoreWriter と precompile を使って作ることが勧められています(Vaults)。このコースで扱うのは HyperCore の vault です。Vaults のページに今も表示されているのはこちらです。

vault と直接の売買の違い

項目 直接の売買 vault
資金 自分の資金だけ 預けた人たちの資金を合わせたもの
利益の取り分 100%が自分のもの リーダーが一部を取る
リスク 自分のリスク みんなで分け合うリスク
自動化 手動かボット 手動か keeper ボット
透明性 チェーン上で見える(Hyperliquid の口座はすべて公開) チェーン上で見える。加えて vault の公開ページがある

keeper というやり方

HyperCore の vault は、自動で動くスマートコントラクトではありません。リーダーは UI から手で売買することもできます。ただ、自動で動く vault は keeper を使います。keeper はチェーンの外で動くボットです。相場を見張り、vault に代わって注文を出します。

keeper の仕事は次のとおりです。

  1. サーバー(EC2、VPS など)の上で動きます
  2. WebSocket で相場のデータを見張ります
  3. 戦略のロジックに沿って、売買を判断します
  4. リーダーが承認した API ウォレット(agent)で注文に署名します。そのとき vaultAddress に vault を指定します

実際の例

Hyperliquid の vault には、たとえば次のような種類があります。

HLP は Hyperliquid で最も目立つ vault です。プロトコルの vault の資料によると、HLP はいくつかのマーケットメイクの戦略を動かし、清算を引き受け、Earn に USDC を供給し、取引手数料の一部を受け取ります。板の流動性の出し手の1つで、ほかにも多くのマーケットメイカーがいます。