Day 16 — Lending and borrowing (the most durable category in DeFi)
Lending and borrowing is the largest, most useful, and most boring category in DeFi. Boring in this context is a compliment. Boring means the mechanics are well-understood, the protocols have survived multiple stress tests, and the products work the way you expect them to. Most of the value flowing through DeFi sits in lending markets at any given time.
The two protocols you need to know are Aave and Compound. They are not the only lending protocols, but they are the two that defined the category and the two most other lending protocols are measured against.
Here is how they work, stripped of jargon.
A lending protocol is a pool of assets that users can deposit into (as lenders) or borrow from (as borrowers). Each asset has its own pool. The pool of USDC is separate from the pool of ETH. When you deposit USDC, you receive a token that represents your share of the USDC pool (called aUSDC on Aave or cUSDC on Compound, depending on the protocol). When you redeem your share token, you get your USDC back plus the interest that has accrued.
When someone wants to borrow USDC, they have to deposit other crypto as collateral first. Critically, this collateral has to be worth significantly more than the loan. This is called over-collateralization, and it is the load-bearing design choice of decentralized lending.
Why over-collateralized? Because the protocol has no way to assess the creditworthiness of a borrower. There is no credit score, no employment history, no underwriter. The borrower is a wallet address. The only way to make the loan safe is to require enough collateral that even if the borrower disappears entirely, the protocol can sell the collateral to repay the lenders.
A typical loan structure on Aave: you deposit $150 of ETH as collateral, you can borrow up to roughly $100 of USDC. The exact ratio depends on the asset (volatile assets allow lower borrowing ratios, stable assets allow higher), but the principle is the same. The loan-to-value ratio (often abbreviated LTV) determines how much you can borrow against your collateral.
If the value of your collateral drops, your loan-to-value ratio rises. If it crosses a threshold (often called the liquidation threshold), the protocol allows anyone to liquidate your position. Liquidators repay part of your loan and receive part of your collateral, plus a bonus. The protocol stays solvent because the collateral was always worth more than the loan, and liquidations happen before the gap closes.
This sounds harsh. In practice, sophisticated borrowers monitor their loan-to-value ratios closely and either repay the loan, add more collateral, or accept the liquidation as an exit when their position no longer makes sense. The system has worked through multiple 50%+ drops in major collateral assets without making depositors whole-loss.
Interest rates on lending protocols are set algorithmically. The formula is the same on every major protocol: when the pool is mostly idle (lots of deposits, few loans), interest rates are low. When the pool is mostly utilized (most of the deposits are out as loans), interest rates rise sharply to attract new deposits and discourage new borrowing. This is called the utilization curve, and it is the elegant mechanism that lets a smart contract function as a working market without anyone setting prices manually.
A few important practical concepts.
Why people borrow. The intuitive question: why would someone borrow USDC against their ETH instead of just selling some ETH? Three answers:
- Tax efficiency. Selling triggers a taxable event. Borrowing doesn't. In many jurisdictions, sophisticated holders use crypto-backed loans to access liquidity without realizing capital gains.
- Leverage. Borrow USDC against ETH, buy more ETH with the USDC, and you've effectively doubled your ETH exposure. If ETH goes up, your return is amplified. If ETH goes down, so is your loss. This is leverage. It is the most common use of DeFi lending, and it is where most of the catastrophic losses happen when markets turn.
- Cash flow. You believe in your ETH long-term but you need dollars now. Borrowing lets you stay in your position while accessing the cash.
Why people lend. Two answers:
- Yield. Lenders earn the interest paid by borrowers. The yield is real, it comes from real borrowers paying for capital, and it has fluctuated between 1% and 15% annually across different assets and market conditions.
- Liquid collateral. Deposit tokens (aUSDC, aETH, etc.) can themselves be used as collateral elsewhere in DeFi, or in some cases simply held as a yield-bearing position.
Risk to lenders. Three categories:
- Smart contract risk. A bug in the protocol could drain it. This has happened to smaller protocols. The major lending protocols have been audited extensively and survived years of operation.
- Bad debt risk. If collateral drops fast enough that liquidations can't keep up, the protocol can end up with loans worth more than their collateral. This has happened during extreme market moves. The protocols handle it through insurance funds and, in worst cases, by socializing the loss across depositors.
- Oracle risk. The protocol needs to know the price of each asset to compute LTV ratios. If the oracle is wrong, liquidations can happen at the wrong price, or fail to happen when they should. We cover oracles in Day 20.
The reason the lending category is durable is that it does one specific thing well, the mechanics have been battle-tested through multiple bear markets, and there is genuine market demand for what it offers on both sides. Lenders get yield. Borrowers get liquidity without selling. The protocol takes a small spread between the two. Everyone's incentives line up.
Tomorrow we look at the other side of the on-chain economy. Decentralized exchanges, automated market makers, and the math that lets a smart contract set prices without an order book.
Glossary
| Term | Definition |
|---|---|
| Lending protocol | A smart-contract system where users can deposit assets to earn interest or borrow assets against collateral. (Aave, Compound, Morpho.) |
| Pool | A collection of deposits of a single asset within a lending protocol. Each asset has its own pool. |
| Over-collateralization | Backing a loan with collateral worth more than the loan amount. The load-bearing design choice in decentralized lending. |
| Loan-to-value (LTV) | The ratio of a loan's value to the value of the collateral backing it. |
| Liquidation threshold | The LTV ratio above which a position becomes liquidatable. |
| Liquidation | The process by which a third party repays an under-collateralized loan and seizes part of the collateral, plus a bonus. Keeps the protocol solvent. |
| Utilization curve | The algorithmic formula that sets interest rates based on the ratio of borrowed to total deposited in a pool. Higher utilization = higher rates. |
| Deposit token | A token (aUSDC, cUSDC, etc.) representing your share of a lending pool. Can often be used as collateral elsewhere in DeFi. |
| Insurance fund | A reserve some protocols maintain to absorb losses when liquidations fail or bad debt accumulates. |
| Leverage | Borrowing against your existing position to take a larger position. Amplifies both gains and losses. |
Reality check
You deposit $10K of ETH as collateral on Aave and borrow $6K of USDC. ETH drops 50%. What happens?
If you can walk through the math (your collateral is now worth $5K, your loan is still $6K, you are deeply under-collateralized, and you will be liquidated), you have the lesson. The next step is realizing that you would have been liquidated long before ETH dropped 50%, because the liquidation threshold on ETH-backed loans is typically around 80-85% LTV. So in practice, you would have been liquidated when ETH dropped to roughly $6,000-$6,500 of its original $10,000, not at $5,000. The mechanic protects the protocol; it does not protect you from making leveraged bets that go wrong.
Read deeper
1. What are decentralized lending protocols? by The Block
The cleanest single overview of the category.
Read on IMPCT (curated commentary) | Read original (theblock.co)
Deven's take. Read this for the structural picture without getting into protocol-specific details. The Block does a good job of explaining what makes DeFi lending different from traditional lending. The single most important conceptual leap to make: in DeFi, there is no underwriting. The collateral is the underwriting. Once you understand that, everything else in the category follows.
2. Aave — the dominant lending protocol
The protocol most other lending protocols compare themselves to.
Read on IMPCT (curated commentary) | Read original (aave.com)
Deven's take. Aave (originally called ETHLend, then rebranded) has been operating since 2017. It has survived every major crypto downturn, multiple stress events, and has more total value locked than most national banks in smaller countries. The interface is excellent for a DeFi protocol. If you want to actually try DeFi lending, this is where you start. Deposit $100 worth of USDC. Watch interest accrue. Withdraw it. The whole process takes 10 minutes and teaches you more than another 10 articles will.
3. Compound — the original DeFi lending protocol
The protocol that defined the category.
Read on IMPCT (curated commentary) | Read original (compound.finance)
Deven's take. Compound launched in 2018 and was the first major lending protocol that worked well. It introduced the algorithmic interest rate model that Aave and almost every subsequent protocol adopted. Compound has been quieter than Aave since 2022 but the protocol still works, the team still ships, and the V3 version is technically elegant. Useful to know about as the historical reference point, even if Aave is the more active product today.
4. Morpho — the new approach
The peer-to-peer matching layer that sits on top of (and increasingly alongside) Aave and Compound.
Read on IMPCT (curated commentary) | Read original (morpho.org)
Deven's take. Morpho is the most interesting development in DeFi lending in the last three years. The original pitch was: pool-based lending leaves a spread on the table (depositors earn less than borrowers pay because the protocol always has more deposits than loans). Morpho matches depositors directly to borrowers, capturing the spread for both sides. Their newer product, Morpho Blue, is a more modular lending infrastructure. The team is technical and disciplined. If you want to see where the category is heading, watch Morpho.
5. The Celsius/BlockFi case studies (multiple sources, no single Block article)
The lesson in why "centralized DeFi" was never DeFi.
Deven's take. Celsius and BlockFi were not DeFi. They were custodial crypto lending products that branded themselves with DeFi aesthetics. The actual DeFi protocols (Aave, Compound, MakerDAO) survived the 2022 stress. The CeFi lenders (Celsius, BlockFi, Voyager, Genesis) blew up because they were taking opaque off-chain leverage with customer deposits. The lesson is the same as Day 10: the difference between a custodian and a smart contract is structural, not cosmetic. Don't conflate the two when evaluating where to deploy capital.
Tomorrow
We look at the other half of on-chain finance: automated market makers and decentralized exchanges. The math is simpler than it looks, and once you see it, you understand why a smart contract can set prices without an order book and why Uniswap has been one of the most consequential financial innovations of the last decade.
See you in the morning.
Preview reader
You are reading a private preview of IMPCT Institute. If something landed, didn't land, or felt confusing on this lesson, tell us. Short notes are useful. Long notes are useful. No notes are also fine.