🌾

DeFi

Finance without the banker, the broker, the business hours, or the bailouts.

Share:

What is DeFi (Decentralized Finance)?

DeFi is a financial system built on blockchain smart contracts that operates without banks, brokers, or intermediaries. Anyone with a crypto wallet can lend, borrow, trade, earn interest, and access financial services 24/7, globally — with no account sign-ups, credit checks, or business hours.

At its peak, DeFi protocols held over $180 billion in total value locked (TVL). The ecosystem includes DEXs, lending protocols, yield aggregators, stablecoins, derivatives, and more — all running on code that executes automatically and transparently.

🏊 Liquidity Pools: Everyone Throws Money in the Pot

A liquidity pool is a smart contract holding two tokens that traders can swap against. Instead of needing a buyer for every seller (like traditional order books), traders swap directly against the pool. Liquidity providers (LPs) deposit pairs of tokens and earn a share of every trade fee that flows through.

Example: Deposit $500 of ETH and $500 of USDC into Uniswap's ETH/USDC pool. Every time someone swaps ETH for USDC (or vice versa), you earn a portion of the 0.3% trading fee. The more trading volume, the more you earn.

The catch: impermanent loss (see below). Liquidity provision is not risk-free passive income — it's active position management in disguise.

🌾 Yield Farming: Making Your Crypto Work Overtime

Yield farming means deploying cryptocurrency across DeFi protocols to earn the maximum possible returns. Farmers provide liquidity, stake LP tokens, lend assets, and sometimes loop positions across multiple protocols to compound returns.

During the DeFi summer of 2020, some farms offered APYs in the thousands of percent — funded by governance token emissions. Those yields were often unsustainable and collapsed. Today's yields are more modest but more realistic: 3–20% APY on major pools, with higher yields on newer or riskier protocols.

Reality check: If an APY looks too good to be true, it almost certainly is. High yields = high risk. New protocols, unaudited code, and Ponzi-structured emissions have lost users billions. Start with established protocols with audited smart contracts and significant TVL.

🤖 AMMs: Trading Without a Counterparty

An Automated Market Maker (AMM) is the smart contract engine behind liquidity pools. Instead of matching buy and sell orders (like a traditional exchange), an AMM uses a mathematical formula to determine prices.

The most famous: Uniswap's x * y = k formula. If the pool has tokens X and Y, multiplied together they always equal the constant K. Buy some X, and Y's price goes up (more X, less Y in pool). The math automatically reprices with every trade. No orderbook. No market makers. Just a formula.

Uniswap, SushiSwap, Curve (optimized for stablecoins), and Balancer are the major AMM DEXs on Ethereum. TinyMan and Pactfi operate on Algorand; Orca and Raydium on Solana.

📉 Impermanent Loss: The Universe Charging You Rent

Impermanent loss (IL) happens when you provide liquidity to a pool and the ratio of the two tokens changes compared to when you deposited. The AMM rebalances your position automatically — selling some of the appreciating token to maintain the ratio — meaning you end up with less of the outperformer than if you'd just held both tokens in your wallet.

Example: Deposit $1,000 ETH + $1,000 USDC. ETH doubles in price. When you withdraw, you have less ETH and more USDC than if you'd just held. The pool "sold" ETH as it rose. Your position grew, but less than pure holding would have.

It's called "impermanent" because it reverses if prices return to their original ratio. But if you withdraw while prices are divergent, the loss becomes permanent. Stablecoin pools (USDC/USDT) experience minimal IL since prices don't diverge — which is why they're popular with conservative LPs.

⚠️ DeFi Risks: Read This Before You Farm Anything

⚠️
Smart contract risk. Bugs in code can be exploited. Even audited protocols have been drained. Check if protocols have audits, bug bounties, and significant TVL before depositing.
⚠️
Rug pulls. A team launches a protocol, accumulates liquidity, then drains the pool and disappears. Red flags: anonymous team, no audit, no timelock on admin keys, inflated APY.
⚠️
Oracle manipulation. DeFi protocols rely on price oracles for asset values. Flash loan attacks manipulate oracle prices to exploit lending protocols. This has drained tens of millions from multiple protocols.
⚠️
Liquidation risk. If you borrow against collateral and your collateral value falls, your position can be liquidated automatically. Keep healthy collateralization ratios.
⚠️
Regulatory uncertainty. DeFi operates in regulatory grey areas in many jurisdictions. Rules are evolving. What's legal today may not be tomorrow.
🛡️

Is DeFi safe?

DeFi ranges from battle-tested protocols (Uniswap, Aave, Compound with years of track record and billions TVL) to brand-new unaudited projects that could rug-pull tomorrow. Safety is protocol-specific. Always check audit reports, TVL, team transparency, and smart contract age before depositing.

💵

What is a stablecoin?

A stablecoin is a cryptocurrency pegged to a stable asset — usually the US dollar. USDC and USDT are fiat-backed (each token backed 1:1 by dollars held in reserve). DAI is decentralized and crypto-collateralized. They're the backbone of DeFi, allowing dollar-denominated positions without exchange exposure.

🗳️

What is a governance token?

A governance token gives holders voting rights over a protocol's decisions — fee rates, treasury allocation, new features. UNI (Uniswap), AAVE, MKR (MakerDAO) are examples. Token holders vote on proposals, creating a form of decentralized corporate governance.

What is a flash loan?

A flash loan is an uncollateralized loan that must be borrowed and repaid within a single blockchain transaction. If not repaid in the same transaction, the entire transaction reverts. Used legitimately for arbitrage; used maliciously in attack vectors that exploit price oracle vulnerabilities.

💰

What is TVL in DeFi?

TVL (Total Value Locked) is the total dollar value of assets deposited in DeFi protocols. It's the primary metric for measuring a protocol's scale and adoption. DeFiLlama.com tracks real-time TVL across all major DeFi protocols and chains.

🏦

What is a lending protocol in DeFi?

Lending protocols (Aave, Compound) allow users to deposit crypto as collateral and borrow other assets against it, or deposit assets to earn interest from borrowers. All loans are over-collateralized — borrowers must put up more value than they receive — enforced automatically by smart contracts.

Frequently Asked Questions

What is DeFi?+

DeFi (Decentralized Finance) is a financial system built on blockchain smart contracts that operates without centralized intermediaries. Anyone with a crypto wallet can access lending, borrowing, trading, yield earning, and other financial services 24/7, globally — no account required, no credit check, no business hours.

How do liquidity pools work?+

Liquidity pools are smart contracts holding two tokens that traders swap against. Liquidity providers deposit pairs of tokens and earn a share of trading fees. Automated Market Makers (AMMs) use mathematical formulas to price trades based on the token ratios in the pool, eliminating the need for traditional order books and market makers.

What is yield farming?+

Yield farming involves deploying cryptocurrency across DeFi protocols to earn maximum returns. Farmers provide liquidity, stake LP tokens to earn governance tokens, lend assets, and compound returns across multiple protocols. Yields vary from conservative (3–8% on stablecoins) to speculative (100%+ on new, unaudited protocols).

What is impermanent loss?+

Impermanent loss occurs when the price ratio of tokens you've deposited in a liquidity pool changes compared to when you deposited. The AMM automatically rebalances your position, meaning you end up with less of the appreciating token than if you'd simply held both tokens. It becomes permanent if you withdraw while prices are divergent.

What is staking in DeFi?+

DeFi staking involves locking tokens in a smart contract to earn rewards — either from protocol fees, governance token emissions, or network security. Different from Ethereum network staking, DeFi staking is protocol-specific. Examples include staking UNI on Uniswap or staking AAVE in Aave's Safety Module.

What are the biggest risks in DeFi?+

Key DeFi risks: smart contract bugs (even audited code can have exploits), rug pulls (teams abandoning protocols and stealing funds), oracle manipulation (flash loan attacks), liquidation risk (if collateral falls below threshold), regulatory uncertainty, and general market volatility. Never deposit more than you can afford to lose completely.

H
Hunger4Crypto Editorial TeamCrypto Education & Research

Our editorial team combines years of blockchain industry experience with a commitment to clear, unbiased crypto education. All content is reviewed for accuracy and updated regularly.

Updated:

Your DeFi activity earns you reputation.

Hunger4Crypto tracks your DeFi activity across Ethereum, Solana, and Algorand and converts it into a portable reputation score.