A lending protocol is a decentralized application (dApp) built on a blockchain that allows users to supply assets to earn interest and borrow assets against collateral — all without a bank, credit check, or central authority. Interest rates update in real time based on pool utilization, and smart contracts handle liquidations automatically.
How Lending Protocols Work
Lending protocols create money markets on-chain:
Supply Side
- In return, they receive receipt tokens (e.g., aTokens on Aave, cTokens on Compound) that accrue value as interest accumulates.
- The interest rate paid to suppliers is the supply APY — typically a fraction of the borrow rate, as it’s spread across all depositors.
Borrow Side
- Borrowers pay borrow APY — the interest rate charged on their outstanding debt.
- As long as the position stays above the liquidation threshold, the borrower can hold the loan indefinitely.
Interest Rate Models
Most lending protocols use kinked interest rate curves:
- Below optimal utilization: Rates are low and increase gently — incentivizes borrowing.
- At optimal utilization (~80–90%): Rates begin to rise faster — encourages more deposits.
- Above optimal utilization: Rates spike sharply — discourages additional borrowing and incentivizes repayment.
This model autonomously balances supply and demand without manual rate-setting.
Key Risk Parameters
| Parameter | Description |
|---|---|
| LTV (Loan-to-Value) | Max borrow amount relative to collateral value |
| Liquidation Threshold | Collateral ratio at which liquidation can trigger |
| Liquidation Penalty | Discount given to liquidators on seized collateral |
| Supply Cap | Max amount that can be deposited for a given asset |
| Borrow Cap | Max amount that can be borrowed for a given asset |
Different assets have different parameters based on their volatility and liquidity risk.
Isolated vs. Cross-Collateral Markets
Cross-collateral (pooled) markets — All supplied assets share a single risk pool. Borrowing power comes from the aggregate portfolio. Higher capital efficiency, but a single bad debt can affect all depositors. (Aave V2 model)
Isolated markets — Each collateral asset has its own separate lending market with capped exposure. A collapse in one market doesn’t affect others. (Aave V3 isolation mode, Morpho vaults, Euler markets)
Flash Loans
Lending protocols pioneered flash loans — uncollateralized loans that must be borrowed and repaid within a single transaction block. If repayment fails, the entire transaction reverts. Flash loans enable arbitrage, collateral swaps, and self-liquidation without upfront capital.
Major Lending Protocols
| Protocol | Chain | Approach |
|---|---|---|
| Aave | Multi-chain | Largest by TVL; cross-collateral + isolation modes |
| Compound | Ethereum, Base | Original money market model |
| Morpho | Ethereum, Base | Peer-to-peer matching on top of Aave/Compound |
| Spark | Ethereum | MakerDAO’s lending frontend |
| Euler Finance | Ethereum | Advanced risk framework |
| Fraxlend | Ethereum | Isolated pair lending for FRAX ecosystem |
Risks
- Smart contract exploits — Code bugs can drain pools entirely
- Oracle manipulation — If price feeds are manipulated, mass improper liquidations can occur
- Bad debt — In extreme price moves, liquidators may not act fast enough, leaving the protocol with uncovered losses
- Governance attacks — Malicious proposals can change risk parameters or drain treasury
History
- 2018 — ETHLend (later Aave) launches peer-to-peer lending on Ethereum.
- 2019 — Compound V1 introduces algorithmic money markets with cTokens.
- 2020 — DeFi Summer — lending protocols see TVL spike from $1B to $15B+. Flash loans debut.
- 2020 — COMP token launch pioneers yield farming — users earn governance tokens for using the protocol.
- 2022 — Multiple exploits hit Cream Finance, Inverse Finance. Euler raises $200M then loses $197M to hack (later recovered).
- 2023 — Morpho launches as a peer-to-peer optimization layer on top of existing protocols.
- 2024 — Aave generates hundreds of millions in protocol revenue, confirming lending as DeFi’s most durable business model.