Hyperliquid Wiki Protocol & Ecosystem Knowledge Base
🔍

HLP Vault & Automated Liquidity Protocol

An analytical overview of Hyperliquidity Provider (HLP), the native on-chain automated market maker vault that provides baseline liquidity, handles liquidations, and pools protocol PnL across all markets.

1. What is the HLP Vault?

In traditional finance and legacy centralized exchanges, market making is dominated exclusively by specialized proprietary trading firms with private API agreements. Hyperliquid introduces HLP (Hyperliquidity Provider): a fully decentralized, on-chain vault strategy that democratizes market making for all network participants.

Anyone can deposit USDC into the HLP vault (deposit interface ↗). In return, depositors receive a proportional share of the vault's equity, participating directly in the aggregate trading profits, market-making spread earnings, and liquidation fees generated by the protocol.

💡
Zero Management Fees: Unlike centralized hedge funds or third-party automated vaults, the core HLP protocol vault charges 0% management fees and 0% performance fees. 100% of generated trading PnL is retained inside the vault equity for depositors.

2. HLP Operational Mechanics & Algorithms

HLP runs an advanced programmatic market-making strategy governed natively by protocol code. It executes continuous algorithmic operations across all listed perpetuals and spot markets:

🔄 HLP Vault Lifecycle & Value Flow
 [Community USDC Deposits] ──► [HLP Capital Pool ($100M+ TVL on DeFiLlama ↗)]
                                           │
         ┌─────────────────────────────────┼─────────────────────────────────┐
         ▼                                 ▼                                 ▼
[Continuous Quotes on CLOB]     [Backstop Liquidation Intake]     [Trading Fee Collection]
  • Two-sided bid/ask depth        • Absorbs at-risk margins         • Fraction of exchange fees
  • Skews quotes by inventory      • Closes positions orderly        • Continuous vault compounding

Core Functions of HLP:

  • Continuous Two-Sided Quotation: HLP continuously posts passive bid and ask limit orders within the order book, creating tight spreads and deep order execution capacity for retail and institutional traders.
  • Inventory & Delta Skewing: When traders execute heavily in one direction (e.g. net long bias), HLP's algorithm automatically skews quotes to incentivize opposite-side volume and hedge delta exposures toward neutral equilibrium.
  • Liquidation Backstop: When an account breaches maintenance margin requirements, HLP acts as the primary backstop buyer/seller, absorbing the liquidated position to prevent order book cascading and protocol insolvency.

3. Vault Accounting & Share Valuation

The value of a deposit in HLP is tracked through a transparent net asset value (NAV) accounting framework:

Accounting Metric Calculation Logic Description
Vault Total Equity USDC Cash + Σ(Unrealized PnL of open positions) Real-time mark-to-market valuation of all vault assets and open positions.
Share Price Total Vault Equity / Total HLP Shares Issued Appreciates as the vault accumulates trading profits and spread revenues.
User Account Balance User Shares · Current Share Price Exact redeemable USDC value upon withdrawal.

4. Anti-Exploit Withdrawal Protections (Lockup Period)

To protect long-term depositors against toxic arbitrageurs attempting to deposit immediately before high-profit liquidations and withdraw immediately after, HLP enforces a strict on-chain lockup protocol:

  1. Minimum Deposit Lockup: Capital deposited into HLP is subject to a mandatory lockup period (typically 4 days) during which funds cannot be withdrawn.
  2. Linear Queue Withdrawals: Withdrawals are queued and processed to maintain order book stability, ensuring that large redemptions do not disrupt active market-making depth.

5. User-Created Strategy Vaults

In addition to the protocol HLP vault, Hyperliquid allows experienced traders and algorithmic firms to create User Vaults (explore copy-trading vaults ↗). Other users can copy-trade or allocate collateral to these vaults, with vault managers earning customizable performance fees on verified on-chain profits.

🔗 Official External References & Primary Sources

To verify the facts, technical formulas, and architectural parameters presented in this article, consult the following primary sources and official documentation: