DeFi — Decentralized Finance

Decentralized Finance Protocols
The Complete Guide 2025

The open financial system built on blockchain — no banks, no intermediaries, no permission required. How DeFi protocols work, the top platforms, and how to use them safely.

March 2025 26 min read Intermediate DeFi

In traditional finance, every transaction passes through a middleman — a bank, a broker, an exchange. You need permission to open an account. You pay fees for every service. You trust that institutions will be honest with your money.

Decentralized Finance (DeFi) protocols eliminate the middleman entirely. They are open-source programs running on blockchain that automatically execute financial services — lending, borrowing, trading, earning yield — for anyone, anywhere, with no account required.

In 2025, over $100 billion in assets are locked in DeFi protocols. This guide explains exactly how they work, who the major players are, and how you can use them.

What you will learn
What DeFi protocols are and how they work — Smart contracts as the foundation — 6 types of DeFi protocols — Deep dives into Uniswap, Aave, MakerDAO, Compound, Curve — Yield farming and liquidity mining — Risks and how to stay safe — How to get started step by step
$100B+
Total Value Locked in DeFi (2025)
500+
Active DeFi protocols across all chains
$1T+
Cumulative DEX trading volume all-time
2018
Year DeFi term was coined (MakerDAO era)

01 What Are DeFi Protocols?

A DeFi protocol is a set of smart contracts — self-executing code on a blockchain — that automatically provides financial services. There is no company behind the protocol in the traditional sense, no customer service team, and no central authority controlling the funds.

The rules are written into the code. The code runs on a blockchain. The blockchain is maintained by thousands of independent nodes globally. This makes DeFi protocols permissionless (anyone can use them), transparent (all transactions visible on-chain), and non-custodial (you always control your own funds).

DeFi vs Traditional Finance — The key difference
In a bank, your money sits in the bank's account and the bank lends it out. You trust the bank. In DeFi, your money sits in a smart contract. You trust the code. The code is public and auditable by anyone. There is no CEO who can disappear with your funds.

The Smart Contract Foundation

Every DeFi protocol runs on smart contracts — programs that live on the blockchain and execute automatically when conditions are met. When you deposit funds into a DeFi lending protocol, a smart contract holds your funds, tracks your balance, calculates interest every block, and releases funds when you request withdrawal. No human intervention required at any step.

02 6 Types of DeFi Protocols

🔄
Type 1

Decentralized Exchanges (DEX)

Trade crypto tokens directly from your wallet — no account, no KYC, no centralized order book. Uses Automated Market Makers (AMM).

🏦
Type 2

Lending & Borrowing

Deposit assets and earn interest. Or post collateral and borrow against it. Rates set algorithmically by supply and demand — no credit check needed.

💵
Type 3

Stablecoin Protocols

Issue decentralized stablecoins backed by crypto collateral. DAI (MakerDAO) is the most prominent — $1 stablecoin backed by ETH, WBTC, and RWAs.

📈
Type 4

Yield Aggregators

Automatically move your funds between protocols to maximize yield. Yearn Finance pioneered this — deposit once, algorithm optimizes returns constantly.

🔮
Type 5

Derivatives & Perps

Trade perpetual futures, options, and synthetic assets on-chain. dYdX, GMX, and Synthetix let you trade with leverage without a centralized exchange.

🌉
Type 6

Cross-Chain Bridges

Transfer assets between different blockchains. Move ETH from Ethereum to Arbitrum, or USDC from Solana to Base. Bridge protocols are critical DeFi infrastructure.

03 DEX Protocols — How Decentralized Exchanges Work

Centralized exchanges (Binance, Coinbase) use an order book — buyers and sellers post orders and get matched. DEXs use a fundamentally different model: Automated Market Makers (AMMs).

How AMMs Work

Instead of matching buyers with sellers, an AMM uses liquidity pools — smart contracts holding reserves of two tokens. The price is determined by a mathematical formula:

The AMM formula (Uniswap v2)
x × y = k — where x and y are the token reserves and k is a constant. When you buy token Y with token X, you add X to the pool and remove Y. This shifts the ratio, changing the price automatically. No order book. No matching engine. Just math.
🦄
Uniswap
Largest DEX — Ethereum + 8 chains

The most widely used DEX protocol. Pioneered the AMM model. Over $1 trillion in cumulative trading volume. Available on Ethereum, Arbitrum, Optimism, Base, Polygon, BNB Chain, and more. Governed by UNI token holders.

$4B+
Daily Volume
$5B+
Liquidity (TVL)
UNI
Governance Token
🌊
Curve Finance
Stablecoin DEX specialist

Optimized for stablecoin swaps (USDC↔USDT↔DAI) and similar-priced assets. Uses a different formula that minimizes slippage when trading assets of equal value. Essential DeFi infrastructure — nearly every protocol routes stablecoin swaps through Curve.

$2B+
Daily Volume
$3B+
TVL
CRV
Governance Token

04 Lending Protocols — Borrow and Earn Without a Bank

DeFi lending protocols let you do two things: deposit assets and earn interest, or deposit collateral and borrow other assets. All automated. All non-custodial. All permissionless.

How DeFi Lending Works

1

Lenders deposit assets

You deposit USDC, ETH, or WBTC into the protocol's smart contract. You receive interest-bearing tokens representing your deposit (e.g. aUSDC on Aave).

2

Borrowers post collateral

To borrow, you first deposit more value than you want to borrow (over-collateralization). If you want to borrow $1,000 USDC, you might deposit $1,500 ETH as collateral.

3

Interest rates auto-adjust

Rates are set algorithmically. High demand to borrow = higher rates. More supply = lower rates. The protocol constantly balances incentives.

4

Liquidation if collateral drops

If your collateral value falls below the liquidation threshold (e.g. 80% LTV), the protocol automatically sells your collateral to repay the loan. This protects lenders.

👻
Aave
Largest lending protocol — multi-chain

The dominant DeFi lending protocol. Supports 30+ assets across 10+ chains. Invented flash loans — uncollateralized loans that must be repaid within one transaction. Powers institutional DeFi through Aave Arc. GHO stablecoin launched 2023.

$15B+
TVL
30+
Supported Assets
AAVE
Governance Token
🏛️
Compound
Pioneer lending protocol

The original DeFi lending protocol that launched the yield farming boom in 2020 with COMP token distribution. Introduced the concept of cTokens (interest-bearing tokens). Compound III (Comet) redesigned the protocol for capital efficiency.

$3B+
TVL
2020
Launched Yield Farming
COMP
Governance Token

05 MakerDAO — The DeFi Central Bank

MakerDAO is arguably the most important DeFi protocol ever built. It issues DAI — a decentralized stablecoin pegged to $1 — backed by crypto collateral locked in smart contracts called Vaults.

Why DAI matters
Every major DeFi protocol integrates DAI. It is the backbone stablecoin of decentralized finance — censorship resistant (unlike USDC which can blacklist addresses), decentralized, and battle-tested through multiple market crashes since 2017.

06 Yield Farming and Liquidity Mining

Yield farming is the practice of moving crypto assets between DeFi protocols to maximize returns. Liquidity mining is when protocols reward users with their governance tokens for providing liquidity — the mechanism that launched the DeFi boom in 2020.

StrategyHow it WorksTypical APYRisk Level
Stablecoin lendingDeposit USDC/USDT to Aave or Compound3–8%Low
Stablecoin LPProvide USDC/USDT liquidity on Curve4–12%Low–Medium
ETH-USDC LP (Uniswap)Provide liquidity to ETH/USDC pool10–40%Medium (impermanent loss)
Single-asset stakingStake governance tokens (AAVE, UNI, CRV)5–20%Medium
Leveraged yield farmingBorrow to amplify yield positions20–100%+Very High
Impermanent Loss — The hidden risk of LPs
When you provide liquidity to a pool, you deposit two tokens. If their prices diverge significantly, you end up with less value than if you had just held both tokens. This is called impermanent loss. For volatile pairs like ETH/USDC, IL can wipe out farming rewards. Always calculate IL before entering a pool.

07 Top DeFi Protocols by TVL — 2025

ProtocolCategoryTVLTokenChain
Lido FinanceLiquid Staking$35B+LDOEthereum
AaveLending$15B+AAVEMulti-chain
MakerDAO / SkyStablecoin (DAI)$10B+SKY/MKREthereum
UniswapDEX$6B+UNIMulti-chain
Curve FinanceStablecoin DEX$3B+CRVMulti-chain
CompoundLending$3B+COMPEthereum
GMXPerp DEX$600M+GMXArbitrum
Yearn FinanceYield Aggregator$500M+YFIEthereum

08 DeFi Protocol Risks

🐛
Technical

Smart Contract Bugs

Code vulnerabilities can be exploited by hackers. Over $3B lost to DeFi hacks and exploits in 2022 alone. Always use audited protocols.

📉
Market

Liquidation Risk

If collateral value drops fast, your position gets liquidated automatically. In volatile markets, cascading liquidations can happen in minutes.

🗳️
Governance

Governance Attacks

Bad actors accumulate governance tokens to pass malicious proposals. Happened with Beanstalk protocol — $182M stolen via governance exploit.

🌉
Bridge

Bridge Exploits

Cross-chain bridges are the most attacked infrastructure in DeFi. Ronin Bridge ($624M), Wormhole ($320M), Nomad ($190M) — all exploited.

09 How to Use DeFi Protocols — Step by Step

1

Get a Web3 wallet

Download MetaMask (browser) or Rainbow/Rabby. Write down your seed phrase offline — never digitally. This wallet is your DeFi identity.

2

Buy crypto on a CEX

Buy ETH or USDC on Binance or Coinbase. Withdraw to your MetaMask address. Start with a small amount you can afford to lose while learning.

3

Bridge to a low-fee chain

Ethereum mainnet gas fees can be $10-50 per transaction. Bridge to Arbitrum or Base (fees under $0.10) using the official bridge or Stargate.

4

Connect to a protocol

Go to app.uniswap.org or app.aave.com. Click "Connect Wallet". MetaMask will ask to confirm. You never give them a password — just a signature.

5

Start simple

Begin with lending stablecoins on Aave — deposit USDC, earn 4-8% APY. Low risk, easy to understand, and teaches you how DeFi transactions work.

DeFi Safety Rules
Only use protocols with multiple security audits — check DefiLlama.com for TVL and audit status. Never interact with protocols you find via Google Ads — many are phishing sites. Bookmark official URLs. Never share your seed phrase with anyone for any reason. Start small. Use hardware wallets for large amounts.

DeFi: Finance Without Permission

Decentralized finance protocols have built a parallel financial system — one that never sleeps, never discriminates, and never requires your identity. It is not without risk, but it represents the most significant financial innovation since the internet.

Whether you are earning yield on savings, accessing credit without a bank, or trading 24/7 without an exchange account — DeFi protocols make it possible for the first time in history.

More CryptoHub Articles

Related Articles

🏦

What is DeFi? The Complete Beginner's Guide 2025

DeFi Introduction - 18 min read

🏢

Real World Assets (RWA): The Complete Guide 2025

RWA - 22 min read

🌐

What is Web3? The Ultimate Complete Guide 2025

Web3 - 25 min read

🔐

Zero-Knowledge Proofs: The Complete Guide 2025

ZKP - 28 min read