What DeFi Lending Protocols Do
DeFi lending protocols are decentralized money markets. Suppliers deposit assets to earn yield paid by borrowers. Borrowers take loans against over-collateralized crypto positions. The protocol's smart contract sets interest rates algorithmically using a utilization rate model: when demand for borrowing rises, rates increase automatically, attracting more supply and reducing borrowing until equilibrium is reached.
This happens without any bank officer, credit check, or human decision-maker. Anyone with a wallet and collateral can borrow. Anyone with assets to supply can earn interest. The protocol is the intermediary — a piece of code that enforces all the rules automatically, on-chain, in real time.
The result is a money market that operates 24 hours a day, 7 days a week, is accessible to any wallet address anywhere in the world, and settles every transaction on a public blockchain where anyone can verify the protocol's state at any moment.
How the Supply Side Works
When you supply USDC to Aave, you receive aUSDC — an interest-bearing token representing your deposit plus accrued interest. The exchange rate between aUSDC and USDC increases continuously as interest accrues. When you redeem your aUSDC, you receive the original USDC plus the accumulated interest. No claiming, no manual compounding — your balance grows in real time.
Supply APR varies by asset and utilization. USDC on Aave typically yields 2–8% depending on market conditions — higher when borrowing demand spikes (during bull markets, when traders want leverage), lower when liquidity exceeds demand. ETH supply rates are typically lower (1–3%) since fewer people borrow ETH directly. Stablecoin supply yields tend to be the most consistent and are the most commonly used by people seeking predictable DeFi income.
Key concept: Supply APR is variable. It changes every block based on utilization. A 6% rate today could be 2% next week if borrowing demand drops. Never assume the rate you see at deposit time will persist.
How the Borrow Side Works
To borrow, you first deposit collateral. Each asset has a Loan-to-Value (LTV) ratio — the maximum you can borrow as a percentage of collateral value. If ETH has an 80% LTV on Aave, you can borrow up to $800 USDC against $1,000 of ETH. The debt accrues interest continuously, so your total debt grows over time even if you never add to the position.
The critical number to watch is your health factor. Here is the formula the protocol uses:
As long as health factor remains above 1.0, your position is safe. If ETH's price falls and health factor drops below 1.0, a liquidator bot can repay part of your debt and receive a portion of your collateral at a discount — typically a 5–10% bonus. This liquidation bonus compensates external liquidators for keeping the protocol solvent by closing underwater positions quickly.
Managing Liquidation Risk
The key discipline in DeFi lending is maintaining a significant buffer above the liquidation threshold. Borrowing at 95% of your maximum LTV means any small price move puts you at liquidation risk. A conservative approach: borrow no more than 30–50% of your maximum borrowing capacity. This gives you a wide cushion to absorb price swings before the health factor approaches the danger zone.
Practical safeguards to protect your position:
- Set price alerts for your collateral asset at multiple thresholds — for example at -10%, -20%, and -30% from your deposit price
- Maintain extra collateral in your wallet ready to deposit immediately if the market moves against you
- Consider borrowing stablecoins against volatile collateral — your debt stays fixed in dollar value while collateral fluctuates
- Use Aave's built-in safety module calculator to model multiple price scenarios before establishing a borrow position
- Monitor your health factor directly in the Aave or Compound dashboard or through portfolio trackers like DeBank or Zapper
The worst outcome is not a partial liquidation — it is a cascade liquidation where price drops quickly, liquidators close most of your position, and you end up with little collateral remaining. Proper buffer management is not optional.
Flash Loans — DeFi's Unique Product
Flash loans are uncollateralized loans that must be borrowed and repaid within a single blockchain transaction. If the full loan plus fee is not repaid before the transaction closes, the entire transaction reverts as if it never happened. This makes flash loans completely risk-free for the protocol — but powerful for sophisticated users who can compose complex multi-step actions within a single atomic transaction.
Flash loans enable arbitrage across DEXs, collateral swaps without liquidation, self-liquidation (repaying a borrow position and reopening it with better terms), and governance attacks on protocols with inadequate safeguards. They are not a beginner tool — building a flash loan strategy requires smart contract development skills. But they illustrate the programmability that makes DeFi structurally different from any traditional lending product. No bank offers a billion-dollar unsecured loan for two seconds.
Why flash loans matter even if you never use them: They enable efficient arbitrage that keeps DeFi prices aligned across markets. They also expose poorly designed protocols. If a protocol can be drained via flash loan manipulation of its price oracle, that is a critical design flaw — not a flash loan problem.
Major DeFi Lending Protocols
The lending protocol landscape has consolidated around a small number of well-audited, battle-tested platforms. Each has a distinct design philosophy:
- Aave v3: The largest by TVL. Deployed on Ethereum, Base, Arbitrum, Polygon, Optimism, and Avalanche. Features isolation mode for riskier assets, efficiency mode (e-mode) for correlated asset borrowing at higher LTVs, and cross-chain liquidity portals. The most feature-complete lending protocol available.
- Compound v3: Simplifies the risk model by focusing on single-asset borrow markets — for example, a USDC market where USDC is the only borrowable asset. This eliminates some complexity but limits flexibility. Compound v3 on Base and Ethereum remains a significant protocol by TVL.
- Morpho: A peer-to-peer matching layer originally built on top of Aave and Compound that routes matched lenders and borrowers directly to each other for better rates. Morpho Blue (the standalone version) is a permissionless lending primitive that allows anyone to create isolated lending markets with custom parameters.
- Spark Protocol: MakerDAO-affiliated lending market designed for DAI-centric strategies. Allows borrowing DAI at rates set by Maker governance. Integrated deeply with the MakerDAO ecosystem and a primary venue for leveraged ETH strategies using sDAI as collateral.
Always verify current TVL, audit history, and oracle setup before supplying or borrowing. DeFi protocols change — governance decisions can alter risk parameters, new chains get added, and exploit history matters. DefiLlama is the standard reference for TVL data across all chains.