Lyra Options AMM
Lyra was one of the first production options AMMs in DeFi, running a pooled liquidity model where LPs supply capital and the protocol automatically market-makes two-sided options quotes using a Black-Scholes inspired pricing model. The protocol handles delta hedging internally, so LPs don't need to actively manage Greeks - the AMM quotes prices, executes trades, and hedges the resulting delta exposure through integrations with perp venues.
Key Architecture: AMM vs Order Book
Hedging: Protocol-level delta hedge
Execution: Instant at quoted price
Counterparty: LP pool (always available)
Spread: Built into AMM quote
Hedging: Trader manages independently
Execution: Auction or continuous
Counterparty: Other traders
Spread: Market maker quotes
Automated hedging - protocol manages delta
Retail-friendly - simple UX, fixed price
LP passive income - earn from bid-ask spread
Options Pricing Simulator
See how option prices respond to underlying price moves, volatility changes, and time decay. This simulates the pricing the Lyra AMM would quote.
Delta Hedging Visualization
When the AMM sells a call option, it accumulates negative delta and must buy spot/perps to hedge. Watch how the hedging cost and P&L evolve as the underlying moves.
Volatility Surface
The implied volatility surface shows how implied vol varies across strikes and expirations. The Lyra AMM quotes narrower spreads for ATM options and wider spreads for deep ITM/OTM options.
Liquidation Mechanics
Lyra tracks each position's mark-to-market continuously. The liquidation threshold is when remaining collateral falls below the maintenance margin, calculated as a haircut on the position's intrinsic value plus time value.
How Lyra works in 90 seconds
Lyra's AMM prices options using an internal volatility estimate combined with a Black-Scholes formula. When a trader buys a call, the AMM sells it and immediately initiates a delta hedge by buying the underlying asset or perpetual through Synthetix perps. The hedge is tracked at the portfolio level across all positions. The AMM quotes a bid and ask around the theoretical mid price, and that bid-ask spread is the primary revenue source for LP depositors.
The settlement process for expired options is straightforward: the AMM settles all open positions at expiry using the Chainlink price feed, intrinsic value is credited or debited, and LPs receive their share of the net premium collected. For options closed early, the mark price is used for early settlement with a small early-exercise fee that discourages last-minute exits designed to avoid negative theta.
Key concepts
- AMM pricing with Black-Scholes
- Lyra's AMM does not source prices from an external oracle - it computes prices internally using a Black-Scholes inspired formula with its own volatility estimate (modelVol). The model updates based on traded prices, so competitive traders who see a mispriced quote will narrow the spread by hitting it, which updates modelVol toward the true market vol.
- Protocol-level delta hedging
- When the AMM sells a call it accumulates negative delta (it is short the upside). The protocol initiates a delta hedge - buying spot or perps - so the overall AMM portfolio remains delta-neutral. The hedge cost or benefit is passed through to option prices, meaning the AMM captures the bid-ask spread without taking directional risk on the underlying.
- Impact fees and spread widening
- The AMM charges a base spread that widens with board skewness - if there are many more calls than puts, call spreads widen to compensate LPs for skew risk. A trade that is large relative to the board's open interest also triggers an impact fee. Both mechanisms protect LPs from being adversely selected by informed traders who know the AMM is mispriced.
- Liquidation with mark-to-market
- Lyra tracks each position's net value continuously. When a long option position's remaining collateral after deducting the current mark-to-market loss falls below the maintenance margin (typically a 20-30% haircut), a keeper can call liquidatePosition. The protocol closes the position, returns any residual collateral above zero to the trader, and pays the keeper a fixed liquidation fee.
- Early exercise and settlement
- European-style options (what Lyra trades) cannot be exercised before expiry. Early settlement is possible at the mark price minus a small early-settlement fee (typically 0.5% of notional). This prevents traders from exploiting time-value discrepancies to drain the AMM. At expiry, all positions are settled at the Chainlink price of the underlying.
- LP risk and return profile
- LP depositors earn the bid-ask spread on every trade. Their primary risk is impermanent loss from the delta hedge - if the underlying moves sharply in one direction and the hedge doesn't perfectly track, LPs absorb the residual. In practice, the AMM hedges continuously so hedge slippage is small in normal conditions. Events like a sudden vol spike that causes mass ITM expiration can create losses for LPs if the hedge was not sized appropriately.
Why Lyra matters
Lyra demonstrated that an AMM can price and hedge options without a traditional order book, making on-chain options accessible to retail traders who cannot run their own Black-Scholes engine or manage delta hedges. The design proved that an LP pool can absorb two-sided retail flow and that a delta hedge through perp integrations is operationally viable on-chain. The protocol's iteration through multiple volatility models and hedge integrations generated a body of knowledge about on-chain options pricing that has influenced every subsequent options AMM design.
Frequently asked questions
- How does Lyra's options AMM differ from a traditional order book?
- Traditional order books match buyers and sellers at specific prices. Lyra's AMM uses a pooled liquidity model where the protocol quotes two-sided prices using a Black-Scholes inspired formula adjusted for the protocol's own volatility assumptions. LPs deposit into the liquidity pool and traders trade against that pool at the quoted mid price plus the spread, with the pool capturing the bid-ask spread minus funding costs.
- How does Lyra handle delta hedging automatically?
- Lyra's protocol-level delta hedging runs continuously. When a trader buys a call, the AMM is short delta and immediately initiates a spot or perp hedge through integrations with Synthetix perps or other venues to remain delta-neutral. The hedge cost or benefit is incorporated into the option price. If spot moves 1% and the position delta is 0.50, the protocol's hedge position captures $0.0050 per share.
- What is the liquidation mechanism in Lyra and how does it differ from GMX?
- Lyra liquidates when a trader's collateral falls below the maintenance margin requirement, calculated from the mark price vs strike and remaining time. Unlike GMX's oracle-based liquidation which can be triggered by Chainlink crossing a single threshold, Lyra tracks a continuous mark-to-market and liquidates when the net option value plus remaining collateral drops below the haircut. Keeper bots call liquidatePosition to close the option and return residual collateral.
- What are the main fee components in Lyra?
- Lyra charges three fee components: (1) a base spread that widens with board skewness, (2) a dynamic impact fee that increases when a trade is large relative to the board's open interest, and (3) a veLYRA revenue cut that accrues to liquidity providers staking the protocol token. The base spread is typically 1-5% of option value for ATM options, widening for deep ITM or far OTM options.
- How does volatility affect option pricing on Lyra?
- Lyra quotes options using an internal volatility estimate ('modelVol') that updates based on traded prices and market conditions. When volatility rises, the AMM's quoted prices automatically increase, benefiting LP holders who have previously sold options at lower vols. When volatility falls, newly quoted options are cheaper. The skew between ITM and OTM implied vol is managed by the AMM's risk engine to prevent adverse selection.
- What happened to Lyra and what replaced it?
- Lyra launched on Optimism in 2022, was one of the first production options AMMs, and ran successfully before migrating core logic. The protocol evolved through multiple iterations. Today the Lyra architecture has influenced several other options AMM designs and the team has continued development with improved hedging efficiency and new market structures.
- How does Lyra compare to other on-chain options protocols?
- Lyra pioneered the pooled-LP options AMM model. Compared to Opyn (which uses a???? put-seller vault model), Lyra runs a two-sided AMM with continuous delta hedging. Compared to primitive, Lyra targets retail-friendly UX with pre-built hedging. The key innovation is that Lyra's AMM is both market maker and clearinghouse - it holds the risk of each trade internally rather than routing to a specific counterparty.