Skip to content
Finance Lessons
⚖️

DeFi Lending & Borrowing

A bank takes deposits, lends them out, and trusts you to pay it back. Take away the bank — and the trust — and you get DeFi lending. Open it up.

How decentralized lending really works — money markets run by smart contracts. Suppliers, borrowers and pooled liquidity; interest-bearing receipt tokens (aTokens/cTokens); over-collateralization, loan-to-value, the health factor and liquidation — the machinery under Aave, Compound and MakerDAO/Sky.

Point Ethereum’s unstoppable code and what you know about interest at the oldest business in finance — lending at one rate, borrowing at another — and you get a money market with no bank in the middle: smart contracts where idle assets earn yield and locked collateral unlocks cash, with no loan officer, no application, and nobody who knows your name.

This topic opens that machine all the way up. You’ll learn:

By the end, Aave, Compound and MakerDAO/Sky stop being logos and start being mechanisms you can reason about — and, if you choose, use without getting liquidated.

In this topic

  1. 1 What DeFi Lending Is: Banks Without the Bank How decentralized lending really works: pooled liquidity instead of a loan officer, suppliers vs borrowers, interest-bearing receipt tokens (aTokens/cTokens), and why every loan is over-collateralized — the foundation under Aave, Compound and Maker. 8 min
  2. 2 Collateral, LTV and Borrowing Power How much can you actually borrow in DeFi? Loan-to-Value (LTV), per-asset max LTV / collateral factor, the liquidation threshold and the safety buffer between them — with fully worked numeric examples. 9 min
  3. 3 Interest-Rate Models: Where the Yield Comes From DeFi interest rates are set by code, not a committee: the utilization rate, the kinked two-slope borrow curve, the reserve factor, and how the supply APR falls out of all three — with worked numbers and a live curve. 9 min
  4. 4 Health Factor and Liquidations The number that decides whether you keep your collateral: the health factor formula, when a position becomes liquidatable, who the liquidators are, the liquidation penalty and close factor — with worked price-crash scenarios. 9 min
  5. 5 Flash Loans, Oracles and the Real Risks The advanced layer of DeFi lending: flash loans (uncollateralized but atomic), oracle-manipulation attacks, bad debt and insolvency, smart-contract risk, and power features like e-mode, isolation mode and recursive looping leverage. 9 min
  6. 6 Final Exam: The DeFi Lending Gauntlet A graded, locked capstone exam — 26 one-shot questions spanning every DeFi lending lesson: pooled money markets, collateral and LTV, the interest-rate model and utilization, the health factor and liquidations, and flash loans, oracles and the real risks. 16 min

Mark course as finished

Done with every lesson? Lock it in — your progress is saved on this device.