Hedgehog Finance whitepaper
Automated Delta-Neutral SOL Carry
Hedgehog Finance is a Solana vault prototype that turns a complex DeFi strategy into a simple user action: deposit SOL, receive automated exposure to SOL carry, and let a keeper maintain the hedge.
Abstract
Solana users can access staking, lending, swaps, oracle prices, and perpetual markets, but combining those pieces into a managed delta-neutral strategy requires constant attention. Hedgehog packages that workflow into a vault interface. The prototype models a long liquid-staking leg, a matching short SOL-PERP hedge, live market inputs, position health scoring, and a keeper loop that refreshes risk state.
The goal is not to claim risk-free yield. The goal is to make sophisticated SOL carry easier to understand, easier to monitor, and eventually easier to access through audited vault infrastructure.
The problem
SOL holders often face a narrow choice: stay spot-long and accept price volatility, or move into complex DeFi strategies that require manual rebalancing, liquidation awareness, and protocol knowledge. Delta-neutral carry can reduce price-direction dependence, but the execution burden is high.
Users must track staking yield, lending yield, borrow costs, perpetual funding, oracle freshness, hedge drift, execution buffer, and withdrawal liquidity. Missing one of those variables can turn an attractive carry trade into a fragile position.
The Hedgehog solution
Hedgehog separates the user experience from the strategy engine. The user chooses a profile and deposits SOL. The strategy engine accounts for a target mSOL allocation, a SOL-PERP short hedge, a liquid buffer, and a recurring keeper loop.
Instead of presenting a bundle of manual actions, the dapp presents a vault console, live APY estimates, risk indicators, on-chain balance proof, and clear position health. The experience unlocks a more approachable path to hedged SOL yield for users who want exposure to DeFi carry without managing every leg themselves.
How the strategy works
1. Deposit SOL. The user sends SOL to the vault treasury. The prototype records the owner, amount, signature, and position state.
2. Build the long leg. A target allocation is modeled as liquid-staking exposure through mSOL. This leg earns staking yield and can also represent additional mSOL supply yield.
3. Open the hedge. The strategy targets a matching SOL-PERP short notional. That short aims to offset the price movement of the long SOL exposure, so the position is driven more by spread than by SOL direction.
4. Preserve a buffer. A portion of the deposit remains liquid for margin, keeper fees, withdrawals, and execution risk.
5. Rebalance when needed. The keeper compares the current hedge against the target hedge ratio and updates accounting when drift, funding, volatility, or buffer pressure changes the health state.
Yield stack
The displayed APY is a projection, not a guarantee. It combines positive sources such as liquid staking yield, lending supply yield, and favorable perp funding, then subtracts borrow and execution costs. The dapp shows multiple profiles from conservative to aggressive so users can see how leverage changes the risk and reward profile.
The important design choice is transparency. The user can see the parts of the spread instead of only seeing a headline APY.
Keeper and risk engine
The keeper is the automation layer. Every cycle, it refreshes market data, accrues strategy PnL, evaluates health, and marks positions for rebalance or unwind when thresholds are crossed. Health scoring considers hedge drift, buffer percentage, estimated APY, and market volatility.
This matters because delta-neutral strategies are dynamic. A position that is neutral now can drift later. Funding can flip negative. Borrow rates can rise. Buffer can thin. The keeper turns those moving parts into visible state and repeatable actions.
Protocol stack
Hedgehog is designed around Solana-native rails: Solana settlement, Pyth-style price feeds, Marinade-style liquid staking exposure, Kamino-style lending yield and borrow cost modeling, Drift-style perp funding and hedge accounting, and Jupiter-style routing as a natural swap layer for production execution.
The prototype uses live market and protocol data where available and models the remaining execution flow so judges and users can understand the full product direction.
What this unlocks
For SOL holders, Hedgehog unlocks a more understandable way to seek yield without remaining fully exposed to SOL price direction. For active DeFi users, it reduces the operational overhead of maintaining a multi-leg position. For protocols, it creates a clean vault surface that can route liquidity into staking, lending, perps, and swaps with visible accounting.
The broader opportunity is automated strategy access: users should not need to become risk operators to use composable DeFi safely. Hedgehog makes the strategy legible first, then automates it.
Prototype status
This is a hackathon prototype and not an audited production vault. Mainnet user funds require an audited on-chain program, constrained strategy authority, production-grade integrations, formal monitoring, and clear withdrawal guarantees. Read the security notes before presenting this as production-ready.
Links
Open the live dapp to use the vault console.
Strategy explains the long leg, hedge, buffer, and accounting model.
Keeper explains automation, live market refresh, and rebalance logic.
Risk explains drift, funding, volatility, buffer pressure, and unwind controls.