DeFi Derivatives & Perpetuals
A perpetual future has no expiry, yet it tracks spot to the cent. The glue is a funding payment traders make to each other every few hours — and once you see that mechanism, the whole multi-hundred-billion-dollar perp machine snaps into focus.
How derivatives moved on-chain and why perpetual futures came to dominate crypto trading. The funding-rate mechanism that anchors a never-expiring contract to spot, leverage and the liquidation engines that enforce it, insurance funds and auto-deleveraging, the three perp-DEX architectures (order book, vAMM, oracle/pool), on-chain options and power perps, and the cash-and-carry basis trade that turns the funding premium into market-neutral yield.
Spot trading swaps one asset for another, here and now. Derivatives are contracts whose value is derived from something else — a price, a rate, an index — and they let you take a position far larger than your cash, bet on direction without owning the asset, and hedge risk you already hold. In traditional finance, derivatives notional dwarfs the spot market. On-chain, the same gravity took hold, and one instrument ran away with the crowd: the perpetual future.
This course builds the on-chain derivatives machine from the ground up:
- What a perpetual future is — a futures contract with no expiry date, and the puzzle that creates: with nothing forcing settlement, what keeps its price glued to spot?
- The funding-rate mechanism — the elegant answer: a periodic payment between longs and shorts that makes holding the “wrong” side expensive, dragging the perp back to the index every few hours.
- Leverage & liquidation engines — how a small margin controls a large position, the exact liquidation price that follows, and the keeper bots and engines that close you out before your loss turns into the protocol’s loss.
- Insurance funds & ADL — the backstops for when liquidation isn’t fast enough: a shared insurance fund absorbs bad debt, and auto-deleveraging socializes the rest to the most-profitable traders on the other side.
- Perp-DEX designs — the three architectures that answer “where does the price come from?”: on-chain order books, virtual AMMs (vAMMs), and oracle/pool-based designs, each with its own decentralization-vs-oracle-risk trade-off.
- On-chain options & power perps — convex payoffs on-chain, and the exotic “everlasting” instruments (power perpetuals) that package gamma without an expiry.
- Basis trades & cash-and-carry — how the funding premium that powers the whole system becomes a market-neutral yield: long spot, short the perp, harvest the carry.
This sits at the top of the ladder, where the DeFi branch meets the derivatives branch. It assumes you already know how an AMM walks a constant-product curve, how a classic future and its basis work, and what an option’s payoff and the Greeks mean. By the end, a “perp” stops being a casino chip and becomes a precise, fundable, hedgeable instrument you can price, risk-manage, and arbitrage.
In this topic
- 1 What a Perpetual Future Is A futures contract with no expiry date — the instrument that ate crypto trading. Why it exists, how it differs from a dated future, the index-vs-mark price split, and the convergence puzzle that the funding rate exists to solve. 11 min
- 2 The Funding Rate Mechanism The thermostat that keeps a never-expiring perp glued to spot. The exact funding formula — interest plus a clamped premium component — who pays whom, worked payment arithmetic, the eight-hour cadence, and reading funding as a crowd-positioning signal. 13 min
- 3 Leverage & Liquidation Engines How a small margin controls a large notional, the exact liquidation price that follows from initial and maintenance margin, isolated vs cross margin, and the keeper-driven liquidation engines — with the partial-vs-full and bankruptcy-price mechanics worked in full. 14 min
- 4 Insurance Funds & Auto-Deleveraging What backstops a perp when a liquidation closes below bankruptcy. How the insurance fund absorbs bad debt and grows from liquidation surpluses, why it can still run dry, and how auto-deleveraging (ADL) socializes the remaining loss onto the most-profitable opposing traders — with the ranking and worked numbers. 12 min
- 5 Perp DEX Designs The three architectures that answer 'where does the perp price come from?': on-chain central limit order books, virtual AMMs (vAMMs), and oracle/pool-based designs. Their counterparty models, liquidity sources, oracle dependence, and the decentralization-vs-capital-efficiency-vs-oracle-risk trade-offs, with real examples. 13 min
- 6 On-Chain Options & Power Perps Adding curvature to DeFi: how options bring convex, non-linear payoffs on-chain, the AMM and vault designs that make them, and the exotic 'everlasting' power perpetuals that package pure convexity (gamma) into a never-expiring contract anchored by funding. 14 min
- 7 Basis Trades & Cash-and-Carry Turning the funding premium into market-neutral yield. What the basis is, the cash-and-carry trade (long spot, short perp) worked end to end, why it is delta-neutral, the annualized-yield arithmetic, and the real risks — funding flips, liquidation of the short leg, and execution — that make it less risk-free than it looks. 14 min
- 8 DeFi Derivatives & Perpetuals — Final Exam The graded final exam for DeFi Derivatives & Perpetuals: what a perp is, the funding-rate mechanism, leverage and liquidation engines, insurance funds and ADL, perp-DEX designs, on-chain options and power perps, and the cash-and-carry basis trade. 16 min
Mark course as finished
Done with every lesson? Lock it in — your progress is saved on this device.