DeFi (Decentralized Finance)

DeFi is an ecosystem of blockchain-based financial applications that enable trading, borrowing, and earning interest without banks.

Decentralized Finance (DeFi) represents a paradigm shift in financial services, aiming to recreate traditional financial systems using blockchain technology, primarily Ethereum. It operates without central intermediaries like banks or brokers, relying instead on smart contracts – self-executing contracts with the terms of the agreement directly written into code. The core principles of DeFi include openness, transparency, composability, and permissionlessness. Openness means anyone can access DeFi services. Transparency is achieved through public blockchains, where transactions are verifiable. Composability, often referred to as 'money legos', allows different DeFi applications to interact and build upon each other, creating complex financial products. Permissionlessness ensures that participation is not restricted based on geography, identity, or other factors. Key DeFi applications include decentralized exchanges (DEXs) for token swapping, lending and borrowing platforms, stablecoins, yield farming protocols, derivatives, and insurance. These applications are powered by smart contracts that automate financial logic, manage collateral, and facilitate transactions directly between users (peer-to-peer). While offering significant potential for financial inclusion and innovation, DeFi also faces challenges related to scalability, user experience, regulatory uncertainty, and security risks.

        graph LR
  Center["DeFi (Decentralized Finance)"]:::main
  Pre_logic["logic"]:::pre --> Center
  click Pre_logic "/terms/logic"
  Rel_stablecoins["stablecoins"]:::related -.-> Center
  click Rel_stablecoins "/terms/stablecoins"
  Rel_yield_farming["yield-farming"]:::related -.-> Center
  click Rel_yield_farming "/terms/yield-farming"
  Rel_decentralized_finance_defi["decentralized-finance-defi"]:::related -.-> Center
  click Rel_decentralized_finance_defi "/terms/decentralized-finance-defi"
  classDef main fill:#7c3aed,stroke:#8b5cf6,stroke-width:2px,color:white,font-weight:bold,rx:5,ry:5;
  classDef pre fill:#0f172a,stroke:#3b82f6,color:#94a3b8,rx:5,ry:5;
  classDef child fill:#0f172a,stroke:#10b981,color:#94a3b8,rx:5,ry:5;
  classDef related fill:#0f172a,stroke:#8b5cf6,stroke-dasharray: 5 5,color:#94a3b8,rx:5,ry:5;
  linkStyle default stroke:#4b5563,stroke-width:2px;

      

🧠 Knowledge Check

1 / 3

🧒 Explain Like I'm 5

DeFi is like a digital playground where you can trade, borrow, and lend money using special computer programs instead of banks, and everyone can see what's happening.

🤓 Expert Deep Dive

The architecture of DeFi is fundamentally based on smart contract platforms, with Ethereum being the dominant ecosystem. Smart contracts, typically written in Solidity, define the rules and logic for financial primitives. Composability is a defining characteristic, enabling the creation of complex financial strategies by integrating multiple protocols. For example, a user might borrow assets from a lending protocol (e.g., Aave), use those assets to provide liquidity to a DEX (e.g., Uniswap), and stake the resulting LP tokens in a yield aggregator. This 'money lego' effect allows for rapid innovation but also introduces systemic risk, as a failure in one component can impact others. Oracles play a crucial role in bridging external data (like asset prices) to smart contracts, but they represent a significant centralization and attack vector. Governance mechanisms, often token-based, are implemented to manage protocol upgrades and parameter changes, though they can be susceptible to plutocracy or manipulation. Scalability remains a persistent challenge, driving the development of Layer 2 solutions and alternative L1 blockchains.

🔗 Related Terms

Prerequisites:

📚 Sources