Decentralized finance (often stylized as DeFi) provides financial instruments and services through smart contracts on a programmable, permissionless blockchain. This approach reduces the need for intermediaries such as brokerages, exchanges, or banks. DeFi platforms enable users to lend or borrow funds, speculate on asset price movements using derivatives, trade cryptocurrencies, insure against risks, and earn interest in savings-like accounts. The DeFi ecosystem is built on a layered architecture and highly composable building blocks. While some applications offer high interest rates, they carry high risks. Coding errors and hacks are a common challenge in DeFi. DeFi protocols exhibit varying degrees of decentralization, with truly decentralized protocols potentially acting as neutral infrastructure, while false decentralization leaves protocols open to manipulation and fraud or to being regulated as financial intermediaries. A core principle of DeFi is its accessibility. By operating on public blockchains, DeFi applications (commonly referred to as "dApps") enable users from across the globe to access financial services without the need for a centralized authority or compliance with traditional Know Your Customer (KYC) and Anti-Money Laundering (AML) regulations. DeFi also introduces programmability and composability to finance. Developers can create interoperable financial products by combining different DeFi protocols like building blocks, a concept often referred to as "money Legos".
History
Decentralized exchanges (abbreviated DEXs) are alternative payment ecosystems that use new protocols for financial transactions. They emerged within decentralized finance (DeFi), a sector of blockchain technology and fintech. Centralized exchanges (CEXs), DEXs and DEX aggregators are all built on a multi-layered DeFi architecture, with each layer serving a well-defined purpose. (See Figure: Multi-layered Architecture of the DeFi Stack). While they share common components of the first four layers, such as the Settlement layer, Asset layer, Protocol layer and Application layer, DEX aggregators have an additional component or Aggregator layer, which allows them to connect and interact with other DEXs via smart contracts. The Ethereum blockchain popularized smart contracts, which are the basis of DeFi, in 2017. Other blockchains have since implemented smart contracts. Alternative Layer 1 protocols, such as Radix, have been developed utilizing sharded consensus mechanisms to attempt to resolve scalability issues inherent in earlier blockchains. As of 2021, MakerDAO was a prominent lending DeFi platform based on a stablecoin that was established in 2017. It allowed users to borrow DAI, a token pegged to the US dollar. Through a set of smart contracts that govern the loan, repayment, and liquidation processes, MakerDAO aimed to maintain the stable value of DAI in a decentralized and autonomous manner. In September 2024, MakerDAO rebranded as Sky, and its stablecoin DAI was renamed USDS. In June 2020, Compound Finance, a decentralized finance protocol enabling users to lend or borrow cryptocurrency assets and which provides typical interest payments to lenders, started rewarding lenders and borrowers with a cryptocurrency called Comp. This token, which is used for running Compound, can also be traded on cryptocurrency exchanges. Other platforms followed suit, leading to stacked investment opportunities known as "yield farming" or "liquidity mining", where speculators shift cryptocurrency assets between pools in a platform and between platforms to maximize their total yield, which includes not only interest and fees but also the value of additional tokens received as rewards. In July 2020, The Washington Post described decentralized finance techniques and the risks involved. In September 2020, Bloomberg said that DeFi made up two-thirds of the cryptocurrency market in terms of price changes and that DeFi collateral levels had reached $9 billion. Ethereum saw a rise in developers during 2020 due to the increased interest in DeFi. DeFi has attracted venture capitalists such as Andreessen Horowitz and Michael Novogratz. The Economist regarded the future of digital finance in 2022 as a "three-way fight" between: Big Tech, such as Facebook with its digital wallet; "big rich countries" that have been testing their own digital currencies; and software developers "building all sorts of applications" to decentralize finance. Handling the risks presented by crypto-assets already valued at $2.5 trillion was a particular challenge for US regulators. The evolution of Decentralized Finance (DeFi) began with Bitcoin in 2009 and matured with Ethereum’s 2015 launch, which introduced smart contracts and enabled decentralized applications. By 2021, DeFi protocols such as MakerDAO, Compound, Aave, and Uniswap had driven total value locked (TVL) to over $180 billion. The 2022 crypto market crash, which followed events like the collapse of Terra/LUNA and FTX, exposed critical vulnerabilities in the DeFi space and triggered a downturn. In 2023, DeFi began recovering. A key trend was the tokenization of real-world assets (RWA) such as treasury bills, real estate, and carbon credits. Platforms like MakerDAO and Centrifuge enabled institutional investors to access on-chain yield tied to off-chain assets. Layer 2 scaling solutions such as Arbitrum and Optimism also gained traction, reducing transaction fees and increasing throughput on top of Ethereum. This period also marked the rise of intent-based DeFi, allowing users to specify desired outcomes, with protocols handling transaction logic (Bankless, 2023). In 2024, regulatory developments shaped DeFi's evolution. The European Union’s MiCA framework (Markets in Crypto-Assets Regulation) came into effect, impacting stablecoin issuers and custodial services. In response, many DeFi projects began adopting hybrid models, combining decentralized architecture with off-chain compliance layers to navigate legal requirements. Meanwhile, interoperability improved with the deployment of cross-chain bridges like Wormhole V2 and Chainlink CCIP, enabling liquidity to flow between Ethereum, Solana, Avalanche, and other ecosystems.
… excerpt ends here. Continue reading the full article.
