What Is DeFi Lending? Complete Guide to Crypto Lending, Yield Vaults & Staking

Everything you need to understand how decentralized finance works — from supplying crypto for interest to borrowing against collateral, earning automated vault yields and staking tokens for governance rewards.

Updated August 16, 2026 · 12 min read

1. What Is DeFi?

DeFi — short for decentralized finance — is a system of financial applications built on public blockchains. Unlike traditional banking, DeFi removes intermediaries like banks, brokers and exchanges. Instead, self-executing smart contracts handle lending, borrowing, trading and earning — automatically, transparently and without anyone's permission.

Anyone with a crypto wallet can access DeFi protocols. There are no application forms, credit checks, bank accounts or minimum balances. You connect your wallet, interact with smart contracts and retain full custody of your assets throughout.

DeFi protocols like Moonwell operate across multiple blockchains — Base, Optimism, Moonbeam and Moonriver — giving users access to a wide range of financial tools from a single wallet connection.

2. How DeFi Lending Works

DeFi lending operates on a supply-and-borrow model. Here's the basic flow:

  1. Suppliers deposit crypto assets (USDC, ETH, cbBTC, etc.) into shared lending pools managed by smart contracts
  2. Borrowers post collateral (typically worth more than their loan) and draw funds from these pools
  3. Borrowers pay Borrow APY — variable interest that adjusts based on demand
  4. That interest flows back to suppliers as Supply APY — the yield you earn for lending

No one decides who gets to borrow. If you have enough collateral, the smart contract approves the loan automatically. If your collateral drops too low, the smart contract liquidates part of it to protect the pool. Everything is algorithmic, transparent and permissionless.

Example: You deposit 1,000 USDC into a lending pool earning 7.3% Supply APY. Over one year, you'd earn approximately 73 USDC in interest — paid continuously, not monthly. You can withdraw your USDC plus earned interest at any time.

3. Supplying: Earn Interest on Crypto

Supplying is the simplest way to earn in DeFi. You deposit a supported asset into a lending market and start earning Supply APY immediately. Your deposit sits in an audited smart contract — not in anyone's custody — and accrues interest every block (roughly every 2 seconds on Layer 2 networks).

Key benefits of supplying

  • Passive income — your crypto earns interest 24/7 without any action from you
  • No lock-ups — withdraw anytime, there are no minimum holding periods
  • Non-custodial — you retain ownership, the protocol can't touch your funds
  • Collateral power — supplied assets can also back a loan (more on this below)

What determines supply rates?

Supply APY is driven by utilization — the percentage of the pool currently being borrowed. When demand for borrowing is high, rates go up to attract more suppliers. When demand is low, rates fall. This is all algorithmic — no one sets rates manually.

4. Borrowing: Liquidity Without Selling

DeFi borrowing solves a common problem: you need cash but don't want to sell your crypto. Instead of selling ETH (and triggering a taxable event), you can deposit ETH as collateral and borrow stablecoins like USDC against it.

How borrowing works step by step

  1. Supply a supported asset (ETH, cbBTC, USDC, etc.) as collateral
  2. The protocol assigns a collateral factor — e.g., ETH at 80% means you can borrow up to 80% of your ETH's value
  3. Draw a loan in any supported asset and use it however you want
  4. Pay variable Borrow APY on the outstanding balance
  5. Repay anytime to unlock your collateral

What is liquidation?

If your collateral value drops below a certain threshold (the liquidation point), the protocol automatically sells part of your collateral to repay the loan. This protects lenders but means you can lose collateral in a downturn. Always monitor your health factor — the higher it is, the safer your position.

5. Understanding APY vs APR

Two acronyms you'll see everywhere in DeFi:

  • APR (Annual Percentage Rate) — simple interest. 10% APR on 1,000 USDC = 100 USDC after one year, paid linearly
  • APY (Annual Percentage Yield) — compound interest. 10% APY on 1,000 USDC = more than 100 USDC because earned interest is reinvested and also earns interest

In DeFi, lending rates are usually displayed as APY (because interest compounds every block), while staking rewards are shown as APR (because they need to be manually claimed or auto-compounded).

Both are variable. The 7.3% Supply APY you see today may be 4% tomorrow or 12% next week. Rates respond to market conditions in real time.

6. What Are Yield Vaults?

Yield vaults are automated strategies that manage your DeFi positions for you. Instead of manually choosing which pool to supply, monitoring rates and moving funds when conditions change, you deposit into a vault and let a professional curator handle everything.

How vaults work

  1. You deposit a single asset (e.g., USDC) into the vault
  2. The vault's curator allocates your deposit across the highest-performing lending pools
  3. As rates shift, the vault automatically rebalances to stay optimal
  4. Earned interest is auto-compounded — reinvested without you lifting a finger
  5. Withdraw your deposit plus earnings at any time
Moonwell Flagship Vaults: USDC vault delivers 6.7% APY with $51M deposited. ETH vault earns 2.3% APY on $33M. EURC vault provides 3.2% APY on $9.5M. All on Base network. Explore vaults →

Vaults vs direct lending

Direct lending gives you full control — you choose the exact asset, chain and pool. Vaults trade that control for automation and efficiency. Most users who don't want to actively manage positions prefer vaults. Experienced users who want to optimize for specific rate spreads prefer direct lending.

7. Crypto Staking Explained

Staking means locking tokens in a protocol to earn rewards and contribute to its security or governance. It's different from lending — you're not providing liquidity to borrowers, you're backing the protocol itself.

How staking works on Moonwell

  • You lock WELL tokens in the protocol's safety module
  • In return, you earn WELL rewards — up to 9.5% APR on Base
  • Your staked WELL (stkWELL) also gives you governance voting power
  • Staked tokens backstop the protocol during Shortfall Events (insurance function)
  • To unstake, you initiate a 7-day cooldown before withdrawal

Staking is ideal for long-term token holders who want to earn passive rewards while supporting the protocol they use. The cooldown period means staking isn't for short-term traders.

8. DeFi Risks You Should Know

DeFi is powerful but not risk-free. Before you deposit anything, understand these risks:

  • Smart contract risk — bugs in code could lead to loss of funds, even with audits
  • Liquidation risk — borrowed positions can be liquidated if collateral values drop
  • Market risk — crypto prices are volatile and can decline rapidly
  • Rate variability — APY/APR rates change constantly and are never guaranteed
  • Staking slashing — staked tokens may be partially lost during protocol shortfalls
  • Network risk — blockchain outages or congestion can prevent timely actions
  • Regulatory risk — the legal status of DeFi is evolving globally

Rule of thumb: never deposit more than you can afford to lose. Diversify across protocols, assets and strategies. Monitor your positions, especially if you're borrowing. Read the full risk disclaimer before using any DeFi protocol.

9. How to Get Started

Getting started with DeFi on Moonwell takes under two minutes:

  1. Get a wallet — install MetaMask, Coinbase Wallet or any WalletConnect-compatible wallet. Fund it with crypto (ETH + USDC is a good starting pair)
  2. Visit Moonwell and connect your wallet — no sign-up, no email, no KYC
  3. Choose your strategy — swap tokens, supply to lending markets, deposit into a vault or stake WELL
  4. Confirm on-chain — approve and sign the transaction in your wallet. Gas on Base is under $0.01
  5. Earn — your position starts accruing interest immediately. Monitor and withdraw whenever you want

Ready to Start Earning?

Swap, lend, earn vault yields and stake WELL — non-custodial, cross-chain, no sign-up.

Open Moonwell →

Related