Lending
Lending in DeFi refers to the practice of depositing cryptocurrency assets into a protocol so that others can borrow them, in exchange for earning interest. These decentralized lending protocols operate through smart contracts that automatically manage supply, demand, interest rates, and loan security. By providing liquidity to these pools, users become lenders and can earn a yield on their idle capital, which is paid by borrowers who use the funds.
Explain Like I'm 12
Lending is like putting your money in a savings account, but better. You give your crypto to a protocol, and it automatically lends it out to people who need it. In return, you earn interest that is paid directly to your wallet.
Why It Matters
DeFi lending allows for a permissionless, global interest rate market. It provides a way for investors to earn passive income without relying on centralized banks or legacy financial institutions.
How It Works
Liquidity providers deposit assets into a smart contract vault. The protocol aggregates these deposits and lends them to borrowers based on established collateral rules. Interest rates are determined by algorithmic supply and demand, with the protocol distributing a share of the fees back to the lenders.
Real-World Example
Compound and Aave, where users earn yield by supplying stablecoins or volatile assets to the platform.
Advantages
- Passive income generation
- Permissionless financial participation
- Transparent interest rates
Limitations
- Smart contract exploit risk
- Market volatility impacts yield
- Potential for liquidity crunches
Common Misconceptions
- Many think lending is risk-free earning.
- People assume there is a middleman deciding who gets the loan.
Knowledge Explorer
Explore This Concept in the Knowledge Graph
See how Lending connects to other concepts, books, research, and developer resources.
Related Terms
Borrowing
Borrowing in DeFi is the process of acquiring capital by providing collateral to a decentralized lending protocol. Users lock crypto assets into a smart contract to receive a loan in another asset. These protocols are typically over-collateralized, meaning the value of the deposited assets must exceed the value of the borrowed loan. This system allows users to leverage their positions or gain liquidity without having to sell their underlying assets.
Collateral
Collateral refers to the assets that a borrower locks into a smart contract to secure a loan within a decentralized lending platform. Because DeFi protocols lack traditional credit scoring systems, they require assets of significant value to be deposited as security. If the borrower fails to meet the repayment terms or if the value of their collateral drops significantly, the protocol triggers a liquidation process to recover the debt and maintain the protocol's solvency.
Liquidity
Liquidity in blockchain refers to the availability of an asset to be easily converted into another asset or fiat currency without significantly impacting its price. In DeFi, liquidity is often concentrated in 'liquidity pools,' which are large reserves of paired tokens that enable instant trades. A market with high liquidity allows for large trades to occur with minimal slippage, making the ecosystem healthier and more efficient for all participants.
Smart Contract
A smart contract is a self-executing program stored on a blockchain that automatically runs when predetermined conditions are met. These contracts eliminate the need for intermediaries by encoding terms directly into lines of code, ensuring that the agreement is enforced exactly as written without human interference. Because they reside on an immutable ledger, the execution results are verifiable, transparent, and impossible to tamper with once deployed.
Smart Contract
A self-executing program stored on a blockchain that automatically enforces and executes the terms of an agreement when predetermined conditions are met. Smart contracts are deterministic, immutable once deployed, and form the backbone of decentralized applications.
Yield Farming
Yield farming is a decentralized finance (DeFi) mechanism wherein users provide liquidity to a protocol by locking their cryptocurrency assets into smart contracts. In exchange for supplying these assets, which are utilized for purposes such as trading pairs, lending, or borrowing, users receive rewards, typically in the form of platform-native governance tokens or a share of transaction fees. This process incentivizes liquidity provision, ensuring that decentralized exchanges and lending markets have sufficient depth to operate efficiently while allowing participants to earn passive income on their held assets.