← Protocols
Hyperdrive Labs
Lending / Yield·EVM

Hyperdrive Labs

01Description

Hyperliquid's premier DeFi hub on HyperEVM. Offers spot stablecoin lending markets, $HYPE liquid staking (HYPED), a leveraged HLP vault for amplified Hyperliquid LP yield, and one-click yield strategies. Built on top of native Hyperliquid HLP / vault primitives, exposing them through ERC-20 LSTs and money markets.

02Best for
  • 01leveraged exposure to Hyperliquid HLP yield
  • 02$HYPE liquid staking via HYPED
  • 03stablecoin lending on HyperEVM
  • 04one-click yield strategies on Hyperliquid
  • 05looped HLP / liquid-staking strategies
03Install
  • pnpm add viem wagmi
04Environment variables
VariableScopeDescription
HYPEREVM_RPC_URLServerHyperEVM mainnet RPC endpoint. Public endpoints are rate-limited under load — prefer a dedicated provider.
HYPERDRIVE_HYPED_ADDRESSClientERC-20 address of the HYPED liquid-staking token on HyperEVM (read from Hyperdrive docs at deploy time).
HYPERDRIVE_MARKET_ADDRESSClientAddress of the Hyperdrive money-market or HLP-vault contract you are interacting with.
05Prompt snippet
There is no first-party Hyperdrive Labs JS SDK; integrate via viem/wagmi against the deployed contracts on HyperEVM. For $HYPE liquid staking, call `HYPED.deposit(amountWei)` (returns HYPED ERC-20) and `HYPED.withdraw(sharesWei)` for unstaking subject to the protocol unbonding window. For the leveraged HLP vault, deposit collateral, mint a leveraged HLP position, and monitor health via `getAccountLiquidity()` style reads on the money-market contract. For lending markets, follow the standard Aave/Compound-fork pattern: `supply`, `borrow`, `repay`, `withdraw` against the per-asset cToken/aToken-equivalent. Do not confuse this protocol with Delv's `delvtech/hyperdrive` fixed/variable-yield AMM (different team, different chain, different ABI).
06Gotchas
  • Name collision: 'Hyperdrive' also refers to Delv's fixed/variable-yield AMM (`delvtech/hyperdrive`, `@delvtech/hyperdrive-js-core`, primarily on Ethereum/Base). They are unrelated — verify chain and contract addresses before integrating, or you will sign against the wrong protocol.
  • HyperEVM is a young chain; RPC reliability and reorg behavior differ from Ethereum mainnet — set generous timeouts and re-confirm txs at higher confirmations than you would on L1.
  • HLP yield is variable and can go negative during stressed markets; leveraged HLP vault liquidations cascade — surface health factor and oracle price-feed source before letting users lever up.
  • $HYPE liquid staking via HYPED has an unbonding window; users who treat HYPED as 1:1 redeemable for HYPE on demand will get burned during stress.
  • No public GitHub org repos at time of writing — all integration must rely on on-chain ABI verification and the hyperdrive-2.gitbook.io docs; treat any third-party 'Hyperdrive SDK' with skepticism.
  • Cross-chain bridging into HyperEVM is via Hyperliquid's native bridge or third-party bridges (LayerZero, Wormhole) — bridge trust assumptions apply, and bridged USDC ≠ native USDC for some markets.
  • Jurisdictional risk: leveraged yield products on Hyperliquid may be classified as derivatives in certain jurisdictions; geofence appropriately.
07Alternatives