Skip to content
Request a review

Vault Development · Vault Fundamentals · 1/7

Hyperliquid Vaults Explained: What Is a 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.