
Understanding DeFi Protocols
Deep dive into DeFi lending, borrowing, DEXes, yield farming, and liquid staking - with risk breakdowns for each protocol type.
Understanding DeFi Protocols
DeFi (Decentralised Finance) is the ecosystem of financial applications built on blockchain networks. It recreates traditional financial services - lending, borrowing, trading, earning interest - without banks, brokers, or intermediaries.
This guide explains the core protocol types and how to navigate them safely.
Traditional finance requires trust in centralised institutions. DeFi replaces trust with code:
| Traditional Finance | DeFi | |---|---| | Bank holds your deposits | Smart contract holds funds | | Loan approved by credit check | Loan issued against collateral | | Trading through brokers | Trading directly on DEXes | | 1-3 day settlement | Instant settlement | | Interest set by banks | Interest set by supply and demand | | Access requires documentation | Access requires a wallet |
DEXes let you swap tokens directly with other users through liquidity pools - no order books, no matching engine, no middleman.
Automated Market Makers use a mathematical formula instead of order books:
Constant product formula: x * y = k x = amount of Token A in pool y = amount of Token B in pool k = constant
When you buy Token A, you add Token B to the pool and remove Token A. The formula adjusts the price automatically based on the new ratio.
| Protocol | Chain | Feature | |---|---|---| | Uniswap | Ethereum, L2s | Largest AMM, v3 concentrated liquidity | | PancakeSwap | BNB Chain | Lower fees, gamified features | | Curve | Ethereum, L2s | Optimised for stable swaps | | Jupiter | Solana | Aggregator + DEX with best routing | | Raydium | Solana | Hybrid AMM + order book |
Lending protocols let you:
- Earn yield by depositing assets that others can borrow
- Borrow assets by depositing collateral (typically overcollateralised)
- Deposit 1 ETH as collateral into Aave
- Borrow up to ~70% of your collateral value in USDC
- Repay USDC + interest to reclaim your ETH
- If ETH price drops too far, your position gets liquidated
| Protocol | Collateral Required | Notable Feature | |---|---|---| | Aave | Yes (overcollateralised) | Flash loans, multiple chains | | Compound | Yes | Algorithmic interest rates | | Morpho | Yes | Peer-to-peer matching layer | | Spark (MakerDAO) | Yes | DAI-focused lending |
NOTEKey Risk: Liquidation. If your collateral value drops below the required ratio, your position can be liquidated at a discount, and you lose part of your collateral.
Yield farming involves providing liquidity to protocols in exchange for rewards - typically a share of trading fees plus governance tokens.
- Deposit equal value of two tokens (e.g. ETH + USDC) into a Uniswap LP
- Receive LP tokens representing your share of the pool
- Earn a percentage of every swap that uses your liquidity
- Optionally stake LP tokens on a farm for extra rewards
- Impermanent loss: When token prices diverge, your LP position may be worth less than simply holding
- Smart contract risk: Bugs or exploits can drain the pool
- Token devaluation: Farm rewards tokens can drop sharply in value
Ethereum requires 32 ETH to run a validator. Liquid staking protocols pool funds so anyone can stake any amount.
How it works:
- Deposit ETH into Lido or Rocket Pool
- Receive a liquid staking token (stETH, rETH)
- Your stETH earns staking rewards (~3-5% APY)
- You can use stETH in other DeFi protocols while still earning yield
| Protocol | LST Token | Notable Feature | |---|---|---| | Lido | stETH | Largest, most liquid | | Rocket Pool | rETH | Fully decentralised | | Frax | sfrxETH | Higher yield via Frax ecosystem |
Stablecoins are tokens designed to maintain a stable value (typically $1). They are the backbone of DeFi.
| Type | Example | How It Works | |---|---|---| | Fiat-backed | USDC, USDT | Backed 1:1 by USD reserves | | Crypto-backed | DAI | Overcollateralised by ETH/USDC | | Algorithmic | FRAX | Partially collateralised + algorithm |
- Fund a wallet with ETH and a stablecoin (USDC)
- Try a simple swap on Uniswap (e.g. USDC to ETH)
- Deposit into Aave to earn lending yield
- Explore liquidity pools with small amounts
- Track your positions using DeBank or Zapper
NOTEBeginner Rule: Start with stablecoin pools first. They have minimal impermanent loss and let you learn the mechanics safely.
| Tool | Purpose | |---|---| | DeBank / Zapper | Portfolio tracker across all protocols | | DefiLlama | Protocol TVL and metrics | | Revoke.cash | Manage token approvals | | DexScreener | Real-time DEX trading data | | Etherscan | Transaction explorer and contract verification |
DeFi is permissionless, global, and open 24/7. But with great power comes great responsibility - always DYOR before depositing funds into any protocol.
Found this guide helpful? Share it with others

