DeFi Basics
What Is Decentralized Finance (DeFi)?
Learn what decentralized finance (DeFi) is, how it works, and why it matters. Understand the core concepts of DeFi including smart contracts, blockchain, and permissionless financial services.
Learn what a DeFi protocol is, how decentralized finance protocols work, the different types of DeFi protocols, and how they are governed by their communities.
A DeFi protocol is a collection of smart contracts deployed on a blockchain that together provide a specific financial service — all without relying on traditional intermediaries like banks, brokerages, or insurance companies. These protocols form the backbone of decentralized finance, enabling anyone with an internet connection and a crypto wallet to access financial services that were once the exclusive domain of established financial institutions.
The term "protocol" reflects the systematic, rule-based nature of these systems. Just as an internet protocol like HTTP defines the rules for transferring web pages, a DeFi protocol defines the rules for executing financial transactions. The key difference is that DeFi protocols are enforced by code running on a blockchain, making them transparent, permissionless, and resistant to censorship.
Every DeFi protocol is built on smart contracts — self-executing programs stored on a blockchain. These contracts contain the business logic of the financial service, including rules for deposits, withdrawals, interest calculations, collateral management, liquidations, and fee distribution.
When a user interacts with a DeFi protocol, they are sending a transaction to a smart contract on the blockchain. The contract processes the transaction according to its programmed rules, updates its state, and emits events that can be tracked by front-end interfaces. This entire process happens transparently on-chain, meaning anyone can verify what the protocol is doing at any time.
One of the defining features of DeFi protocols is permissionless access. Unlike traditional financial services that require accounts, identity verification, credit checks, and geographic eligibility, DeFi protocols are open to anyone who can connect a compatible wallet. There is no application process, no minimum balance requirement (beyond gas fees), and no business hours — DeFi protocols operate 24 hours a day, 7 days a week, 365 days a year.
This permissionless nature has made DeFi protocols particularly valuable for people in regions with limited access to traditional banking infrastructure, enabling them to save, borrow, trade, and insure their assets through global, censorship-resistant platforms.
DeFi protocols are designed to be composable — they can interact with and build upon each other like Lego blocks. A user might deposit ETH into a lending protocol, receive a receipt token, deposit that token into a yield farming protocol, and use the yield farming position as collateral for another loan — all in a single transaction.
This composability enables complex financial strategies that would be impossible or extremely expensive in traditional finance. It also means that DeFi protocols collectively form a larger ecosystem where value and functionality flow freely between different applications.
However, composability also introduces systemic risk. When protocols depend on each other, a failure in one can cascade through the entire stack, affecting all connected protocols and their users.
Lending protocols are among the most important categories of DeFi protocols. They allow users to lend their crypto assets to earn interest and borrow assets by providing collateral. Major lending protocols include Aave, Compound, and Morpho.
These protocols use algorithmic interest rate models that adjust based on supply and demand. When more people want to borrow an asset than supply it, interest rates rise. When supply exceeds demand, rates fall. This dynamic pricing mechanism ensures that markets tend toward equilibrium.
Borrow is a lending aggregator that connects users to multiple lending protocols simultaneously. Rather than checking rates on each protocol individually, you can use Borrow to compare interest rates, collateral requirements, and liquidation parameters across the protocols Borrow supports, making it easier to find the best terms for your needs.
Decentralized exchanges allow users to trade cryptocurrencies directly from their wallets without a centralized intermediary. Instead of traditional order books, most DEXs use automated market makers (AMMs) that rely on liquidity pools to facilitate trades.
DEX protocols like Uniswap, SushiSwap, and Curve have become essential infrastructure for the DeFi ecosystem, processing billions of dollars in trading volume and providing liquidity for thousands of token pairs.
Stablecoin protocols issue tokens designed to maintain a stable value, typically pegged to a fiat currency like the US dollar. These protocols use various mechanisms to maintain their peg:
Derivatives protocols enable trading of financial contracts based on underlying assets, including perpetual futures, options, and synthetic assets. These protocols bring sophisticated financial instruments to DeFi, allowing users to hedge risk, speculate on price movements, and gain exposure to assets they might not otherwise access.
DeFi insurance protocols allow users to purchase coverage against smart contract failures, stablecoin depegging, and other DeFi-specific risks. Protocols like Nexus Mutual and InsurAce have created decentralized insurance marketplaces where coverage is underwritten by the community rather than traditional insurance companies.
Yield aggregator protocols automate the process of yield farming by deploying user funds into optimized strategies across multiple DeFi protocols. They automatically compound rewards, rebalance positions, and seek the highest returns, saving users the time and gas costs of managing complex strategies manually.
Most DeFi protocols issue governance tokens that give holders the right to participate in protocol decision-making. Token holders can propose changes, discuss them in community forums, and vote on whether to implement them.
Governance tokens serve several purposes:
The governance process typically follows a pattern:
Governance systems are not without their challenges. Low voter participation can mean that a small group of large token holders effectively controls the protocol. Governance attacks — where someone acquires enough tokens to push through a malicious proposal — are a growing concern. Some protocols address this with timelocks (delays between a vote passing and its execution) to give the community time to react to potentially harmful proposals.
Total Value Locked is one of the most widely used metrics for evaluating DeFi protocols. TVL measures the total amount of assets deposited in a protocol's smart contracts. While not a perfect indicator of quality, a high TVL generally signals community trust and robust smart contract security.
However, TVL can be inflated through token incentives or leveraged strategies, so it should be considered alongside other factors when evaluating a protocol.
A protocol's security history is perhaps the most important factor to consider. Key questions include:
The strength of a protocol's development team and community directly affects its long-term viability. Active development, responsive communication, and a vibrant user community are all positive signals. Conversely, protocols with anonymous teams, sparse documentation, and inactive governance forums should be approached with caution.
DeFi protocols should be open-source, allowing anyone to inspect and verify the code. Transparency extends to governance decisions, treasury management, and protocol metrics. Protocols that operate opaquely undermine the core principles of decentralized finance.
DeFi protocols continue to evolve rapidly, with several emerging trends:
Borrow serves as a gateway to the DeFi lending ecosystem by aggregating multiple lending protocols into a single, easy-to-use interface. Instead of needing to understand the technical details of each individual protocol, Borrow users can:
This approach reduces the complexity and risk of interacting with DeFi protocols directly, making decentralized borrowing more accessible to a broader audience. Whether you are looking to borrow against your Bitcoin or explore lending opportunities, Borrow simplifies the process while maintaining the transparency and permissionless access that make DeFi protocols so powerful.
Common Questions
A DeFi protocol is a set of smart contracts deployed on a blockchain that provides financial services without traditional intermediaries like banks or brokerages. These protocols automate financial operations like lending, borrowing, trading, and insurance through code that executes transparently and permissionlessly. Anyone with a compatible wallet can interact with a DeFi protocol, regardless of their location or financial status.
Related Questions
DeFi Basics
Learn what decentralized finance (DeFi) is, how it works, and why it matters. Understand the core concepts of DeFi including smart contracts, blockchain, and permissionless financial services.
DeFi Basics
Understand how DeFi lending protocols work, including how interest rates are set, how collateral is managed, and which protocols are most widely used for crypto-backed borrowing.
Borrow by Sats Terminal
A detailed overview of every lending protocol available on Borrow by Sats Terminal, including Aave v3, Morpho Blue, and CeFi partners, with comparisons of their features and risk profiles.
DeFi Basics
Learn about the key risks of decentralized finance (DeFi), including smart contract vulnerabilities, protocol risk, systemic risk, and how to protect your assets.