← 7TICS Book a call →
Live · testnet work / everlasting-options
EVERLASTING

A perpetual, on-chain options venue on Hyperliquid — puts and covered calls priced by an autonomous on-chain mark, backed by real spot cover, no liquidation engine. Paper to live testnet in days; 346 tests + a 128,000-call solvency fuzz behind it.

HYPE is one of the most-traded assets on Hyperliquid, and its perp traders carry large, one-directional exposure straight through violent drawdowns — I measured $331M of large HYPE longs held unhedged through the June 2026 −29.5% crash, the same coin quantity, eating the full mark loss. HYPE options barely existed, and the ones that now do (Deribit, June 2026) are dated — you pick an expiry and roll it forever. A perp position is open-ended; a dated hedge is a mismatch. The instrument that actually fits is an everlasting option: no expiry, funding-settled, held like a perp. It didn't exist for HYPE. I built it.

  trader ──buy put / covered call──►  ┌──────────────────────────┐
                                      │      EverlastingBook      │
   autonomous mark = fairMark()  ◄────┤  puts (USDC escrow) +     │
   Σ 2^-(i+1)·BS(K, 2^i·τ, σ)         │  uncapped covered calls   │
   permissionless accrue()            └────────────┬─────────────┘
                                                   │  ICoverVault
                          ┌────────────────────────┴────────────────────┐
                          ▼                                              ▼
                 ┌──────────────────┐                        ┌────────────────────┐
                 │  HyperEVM reads   │  oraclePx precompile   │  HyperCore writes   │
                 │  (HYPE price)     │                        │  spot-HYPE cover    │
                 └──────────────────┘        CoreWriter ─────►│  (buy/sell at bbo)  │
                                                              └────────────────────┘

Not a mockup. Every value below is what happened on-chain (Hyperliquid testnet 998): market-driven cover crossing a live book, the autonomous mark computing itself, and the solvency invariant re-checked at each step. Step through it, or press play.

everlasting-book · covered-call · on-chain replay STEP 1/9
HYPE Everlasting Covered Calluncapped · spot-HYPE cover · no liquidation
Autonomous mark
COVER HELD · spot HYPE0
OPEN POSITION · call qty0.00
Testnet HYPE / USDC bookidle
$33
bid
$55
ask
01 · SEED
Conservation holds. Pool fully backed.
poolUsdc == poolFree + putEscrow + totalCollateral

Both cover legs crossed the dislocated testnet book live; the run also surfaced and fixed a real bug — HyperCore silently drops prices over 5 significant figures.

346 tests 128k-call solvency fuzz · 0 reverts whole-branch adversarial audit zero owner/keeper price knobs live on testnet 998

Autonomous mark — a pure formula, no keeper authority

function _computedMark(Side s) internal view returns (uint) {
    uint m = _fairMark(s);                          // Σ 2^-(i+1)·BS(K, 2^i·τ, σ)
    if (m < intrinsic(s))      m = intrinsic(s);    // floor at intrinsic
    if (s == Side.PUT && m > Wput) m = Wput;         // put capped at max payout
    return m;                                        // no owner/keeper input anywhere
}
// accrue() is permissionless — anyone folds funding from the stored mark, then refreshes

Fully collateralized by construction — the cover gate

// an uncapped covered call can only be opened if the pool already holds the cover
require(vault.coverHype() >= netWritten, "coverGate");
// winning close funds the payout by selling cover CEIL-to-tick, so proceeds >= owed,
// and a fail-closed require(poolFree >= g) means a bad fill can never create bad debt

The mark carries no trusted scalar — the single biggest adoption blocker for a quant counterparty, designed out. Every fund-moving path was traced by hand and then fuzzed: 128,000 both-sided calls, zero reverts, with the conservation invariant non-vacuous throughout.

The contract is ~20% of the work; whether anyone routes size is the other 80%. So I measured it, live, off Hyperliquid's public API rather than guessing:

Mid-build, Deribit listed HYPE options. Rather than defend a dead "only venue" thesis, I re-scoped in the same session: Deribit validates the demand (the largest options exchange doesn't list an asset it hasn't sized), and its dated, custodial, off-Hyperliquid product leaves the exact slice I serve — perpetual, on-chain, HL-native — untouched. The everlasting instrument is the one differentiator no competitor offers, and Hyperliquid, the house that perps built, is where that audience already lives. I also engaged Zachary Feinstein (Stevens), author of the amortizing-perpetual-options research, on the pricing and LP-risk design.

Solidity / Foundry HyperEVM · HyperCore · CoreWriter everlasting (White–SBF) pricing autonomous on-chain mark peer-to-pool covered-call vault
← all work everlasting-options stonedesk →