DeFi Finance Masterclass: AMMs, Lending, Stablecoins and Risk
Master DeFi protocols, AMM math, lending markets, and portfolio construction with real 2026 tools and numbers.

About this course
DeFi is reshaping finance, but most courses skip the math and the risk. This course teaches you how decentralised finance actually works—from AMM mechanics and impermanent loss to lending market liquidations, stablecoin design, and yield sources.
You’ll learn the math behind Uniswap v2 and v3, model utilisation curves in Aave and Compound, evaluate stablecoin designs and their failure modes, and understand perpetual futures and options protocols. Most importantly, you’ll build the frameworks to evaluate DeFi protocols, manage risk, and construct a diversified portfolio.
By the end, you can calculate slippage, identify liquidation risk, trace where yield comes from, and use on-chain tools (Dune, Glassnode) to monitor your positions. You’ll have a due diligence checklist and a capstone project that demonstrates your ability to evaluate and model a live protocol.
Built for finance professionals, analysts, and serious investors who want to move beyond blog posts and understand DeFi deeply enough to build strategies and manage risk.
What you will be able to do
- Can calculate impermanent loss and slippage for any AMM position using Uniswap v2/v3 math
- Can model utilisation curves and liquidation risk in lending markets (Aave, Compound)
- Can evaluate stablecoin designs and identify failure modes
- Can calculate yield sources and trace where protocol revenue comes from
- Can perform due diligence on a DeFi protocol using on-chain risk frameworks
- Can construct a diversified DeFi portfolio with position sizing and hedging
- Can use Dune Analytics and on-chain tools to monitor protocol health and personal risk
Curriculum
1AMM Fundamentals and Uniswap v2
- The Constant Product Formula
- How Uniswap v2 Works
- Slippage and Price Impact
- Providing Liquidity and LP Tokens
- Impermanent Loss with Numbers
2Advanced AMMs and Concentrated Liquidity
- Uniswap v3 and Concentrated Liquidity
- Choosing Ranges and Capital Efficiency
- Fee Tiers and Rebalancing
- Curve, Balancer, and Specialized AMMs
- Arbitrage and MEV in AMMs
3Lending Markets and Credit Risk
- How Lending Markets Work
- Interest Rate Models
- Aave and Compound Deep Dive
- Liquidation Mechanics and Risk
- Lending Strategies and Yield Farming
4Stablecoins and Algorithmic Stability
- Collateralised, Algorithmic, and Hybrid
- USDC, USDT, and Fiat-Backed Designs
- DAI and Over-Collateralisation
- Terra Luna and Failure Modes
- Stablecoin Evolution and Regulation
5Derivatives and Perpetuals
- Perpetual Futures Mechanics
- Funding Rates and Arbitrage
- Options and Structured Products
- Leverage, Liquidation Cascades, and Risk
- Hedging and Directional Strategies
6Yield, Risk and Portfolio Construction
- Where Yield Really Comes From
- On-Chain Risk Frameworks
- Protocol Due Diligence Checklist
- Building a DeFi Portfolio
- Dune, Glassnode, and On-Chain Analytics
7Capstone Project
- Evaluate and Model a Live DeFi Protocol
Taught by Block Relations
Research & Education · Built for a finance professional, analyst, or serious investor with basic crypto knowledge (what a blockchain is, how wallets work) who needs to understand DeFi protocols deeply enough to evaluate opportunities, manage risk, and build strategies. You can read a smart contract interface but not audit code.
Free
Free
Free