DeFi & Yield Farming
DeFi & Yield: Free Learning Path
Investment Education, Research & Tools for Smarter Decisions.
Learn decentralized finance from the transaction layer up. This curriculum covers DeFi foundations, lending and borrowing, liquidity pools, yield farming, vaults, protocol due diligence, and position management. No wallet connection required.
Start here
Direct answer: Decentralized finance uses blockchain networks, wallets, smart contracts, assets, liquidity, oracles, and governance to provide financial functions such as swaps, lending, borrowing, liquidity provision, and automated strategies. The right way to learn DeFi is to understand the transaction and risk stack first, then study each method, its source of return, and its exit path.
This public learning path is designed for readers who want to understand DeFi without being pushed into a product, token, or trade. It progresses from system mechanics to lending, automated market makers, yield strategies, and due diligence.
DeFi can make financial rules more inspectable and allow direct interaction with software-defined markets. It can also expose users to irreversible transactions, smart-contract failure, stablecoin instability, liquidation, oracle errors, bridges, governance control, thin liquidity, fraud, and operational mistakes. A yield percentage should never be the first or only reason to use a protocol.
Choose your path
| Goal | Start with | Then read | Use |
|---|---|---|---|
| Understand DeFi | What Is DeFi? | Transaction Lifecycle | Glossary |
| Compare self-custody and services | DeFi vs. CeFi | DeFi Risk Stack | Protocol scorecard |
| Supply or borrow | How DeFi Lending Works | LTV, Health Factor, and Liquidation | Protocol scorecard |
| Provide liquidity | Liquidity Pools Explained | Impermanent Loss | Yield & IL calculator |
| Evaluate yield | DeFi Yield Explained | APR vs. APY | Yield & IL calculator |
| Research a protocol | How to Evaluate a DeFi Protocol | Position Management | Protocol scorecard |
The DeFi position lifecycle
Every DeFi activity should be understood as a lifecycle, not a one-time click.
1. Define the purpose
State what the position is supposed to do: exchange assets, borrow, provide liquidity, earn fees, hedge, or automate a strategy. Do not begin with a token or APY and work backward to a purpose.
2. Map the system
Identify the blockchain, wallet, front end, contracts, assets, oracles, governance, bridges, and external protocols. A position can fail at any critical dependency.
3. Verify and authorize
Confirm official domains and contract addresses. Understand whether the wallet is requesting a login signature, token approval, permit, swap, deposit, borrow, or multicall. Limit authority where practical.
4. Execute with guardrails
Check network, recipient, amount, expected output, minimum output, slippage, deadline, gas, and simulation. A transaction can revert and still consume fees.
5. Confirm the position
Verify the final transaction status, actual assets, receipt tokens, debt, approvals, health factor, LP range, and claimable rewards. Save records.
6. Monitor dependencies
Track protocol changes, governance, incidents, asset prices, stablecoin conditions, liquidity, utilization, oracles, rates, ranges, emissions, bridges, and network operation.
7. Exit deliberately
Know every unwind step before entry. Maintain gas and repayment liquidity. Document fallback routes if the primary interface is unavailable.
8. Review the outcome
Compare realized return with the original benchmark after fees, gas, slippage, principal changes, and relevant taxes. Record which assumptions were wrong.
Curriculum
DeFi Foundations
Build the mental model required to read wallet requests and protocol documentation.
Lending & Borrowing
Understand pooled capital, utilization-sensitive rates, collateral, health factors, and liquidation.
- How DeFi Lending and Borrowing Work
- LTV, Health Factor, and Liquidation
- Where Stablecoin Yield Comes From
Liquidity Pools & AMMs
Learn how pool formulas quote trades, change provider inventory, and create fee and divergence outcomes.
Yield Farming & Vaults
Separate base return from incentives, compounding assumptions, leverage, and automation.
Risk & Due Diligence
Use evidence, dependency maps, exposure limits, alerts, and exit procedures.
- How to Evaluate a DeFi Protocol
- The DeFi Risk Stack
- DeFi Position Sizing, Monitoring, and Exit Planning
DeFi Glossary
Key terms used across DeFi protocols, transactions, and risk documentation.
Interactive tools
DeFi Yield & Impermanent-Loss Calculator
Model gross and net yield, simple APR/APY conversion, price-ratio scenarios, constant-product impermanent loss, fees, incentives, gas, and other costs. Results must be labeled as scenarios, not forecasts.
DeFi Protocol Risk Scorecard
Document evidence across contracts, privileges, governance, assets, oracles, liquidity, economics, incidents, operations, and exit. Critical unknowns remain visible instead of being hidden by an aggregate score.
What DeFi yield can represent
A displayed yield may combine:
- interest paid by borrowers;
- trading fees paid by users;
- token emissions funded by a protocol;
- staking-related rewards;
- derivatives funding or basis;
- credit or real-world-asset income;
- leveraged or recursive strategies;
- modeled compounding.
The same percentage can describe very different risk. A 6% lending rate on a liquid asset is not directly comparable with a 6% vault return that depends on a bridge, incentive token, derivatives exchange, and leveraged hedge.
Risk is not one number
A DeFi position can inherit:
- wallet and approval risk;
- smart-contract and integration risk;
- governance and upgrade risk;
- oracle and data risk;
- token, stablecoin, wrapper, and bridge risk;
- liquidity and slippage risk;
- leverage and liquidation risk;
- incentive and dilution risk;
- network, sequencer, and fee risk;
- front-end and phishing risk;
- legal, tax, and recordkeeping risk;
- human operational risk.
A protocol score cannot prove safety. The purpose of scoring is to force consistent questions, preserve evidence, and expose unknowns.
Core formulas
Loan-to-value
LTV = debt value ÷ collateral value
Simplified health factor
health factor = liquidation-adjusted collateral value ÷ debt value
APR to APY
APY = (1 + APR ÷ n)n − 1
where n is the number of compounding periods.
Simple constant-product impermanent loss
IL = 2 × √r ÷ (1 + r) − 1
where r is the ending relative price divided by the starting relative price.
These formulas build intuition. Protocols can use different accounting, thresholds, curves, weights, fees, ranges, and data sources. Always verify current documentation.
Safety principles
- Learn without connecting a wallet.
- Verify official sources through more than one channel.
- Use a separate wallet and limited test amount for unfamiliar workflows.
- Read every wallet request.
- Constrain approvals where practical.
- Keep gas for maintenance and exit.
- Never treat stablecoins, audits, TVL, or APY as proof of safety.
- Define monitoring and exit before depositing.
- Preserve records.
- Avoid complexity that cannot be explained and unwound.
Frequently asked questions
Is DeFi only for advanced users?
No. Anyone can learn the concepts. Direct use requires security, transaction, risk, and recordkeeping skills because mistakes may be difficult or impossible to reverse.
Is DeFi yield guaranteed?
No. Rates change and principal can be lost through market movement, depeg, liquidation, contract failure, governance action, oracle failure, bridge failure, liquidity shortage, fraud, or operational mistakes.
Does an audit make a protocol safe?
No. An audit is scoped evidence about a code version. It does not guarantee that all defects, economic failures, upgrades, integrations, or future attacks have been addressed.
Is TVL a safety rating?
No. TVL measures deposited value under a methodology. It can be concentrated, incentivized, leveraged, duplicated, or illiquid.
Can DeFi transactions be reversed?
Usually not through customer support. Some protocols have governance or emergency controls, but users should assume a confirmed authorization can have lasting effects.
Should I choose a protocol from the highest APY?
No. First identify the source of yield, principal asset, contracts, governance, oracle, liquidity, leverage, costs, and exit.
Educational disclaimer
Educational information only; not investment, tax, legal, or personalized financial advice. DeFi can result in partial or total loss. Verify current primary documentation and consider qualified professional advice for personal circumstances.