What is DeFi?
Decentralized Finance (DeFi) is a set of financial applications built on public blockchains (primarily Ethereum) that operate without traditional financial intermediaries like banks, brokerages, or exchanges. Instead, smart contracts automatically enforce rules and execute transactions.
The core promise: anyone with a crypto wallet and internet access can access financial services — lending, borrowing, trading, earning yield — without ID verification, credit checks, or permission from any institution.
Key DeFi Protocol Types
- Decentralized Exchanges (DEXs): Uniswap, Curve, dYdX — swap tokens directly from your wallet without a centralized exchange. Prices determined by automated market makers (AMMs).
- Lending Protocols: Aave, Compound — supply assets to earn interest, or borrow against collateral. Rates determined algorithmically by supply and demand.
- Yield Aggregators: Yearn Finance, Convex — automatically move funds between protocols to maximize yield.
- Liquid Staking: Lido, Rocket Pool — stake ETH and receive liquid tokens (stETH) you can use elsewhere while earning staking rewards.
- Stablecoins: MakerDAO (DAI), Frax — algorithmic or collateral-backed stablecoins issued by smart contracts.
Your Wallet in DeFi
Your non-custodial wallet is your DeFi identity. When you "connect wallet" to a DeFi protocol:
- The protocol reads your wallet address (to display balances)
- You sign transactions to authorize specific actions
- Your funds never leave your wallet until you explicitly sign a transaction
- No email, password, or personal information required
MetaMask is the most common browser extension wallet for Ethereum DeFi. For Solana, Phantom is the standard. Most protocols also support WalletConnect for mobile wallet access.
Understanding Gas Costs
Every DeFi interaction requires gas fees paid in the native token of the blockchain (ETH for Ethereum, SOL for Solana). Complex DeFi interactions can cost anywhere from a few cents (Solana, Layer-2 networks) to tens or hundreds of dollars (Ethereum mainnet during congestion). Always check gas costs before confirming.
DeFi Risks to Understand
- Smart contract risk: Bugs in protocol code can be exploited, resulting in fund loss. Major hacks have drained hundreds of millions of dollars from DeFi protocols.
- Impermanent loss: Providing liquidity to AMMs can result in lower value than simply holding the assets.
- Liquidation risk: If collateral value drops in lending protocols, positions can be automatically liquidated.
- Oracle manipulation: Some protocols rely on price oracles that can be manipulated via flash loans.
- Rug pulls: Malicious projects can drain liquidity pools they control.
Start small: DeFi involves real financial risk. Always start with small amounts you can afford to lose while learning. Use only audited, established protocols.
DeFi on Layer 2 Networks
Ethereum Layer 2 networks like Arbitrum, Optimism, and Base offer the same DeFi ecosystem as Ethereum mainnet but with dramatically lower gas fees (often under $0.10). They're secured by Ethereum but process transactions off-chain. Most major DeFi protocols now have L2 deployments.