DeFi stands for Decentralised Finance. In simple terms, it is an ecosystem of financial applications built on blockchains that lets users access services such as trading, lending, borrowing, and staking without depending on a traditional financial institution.
The idea is fairly simple. Instead of a bank or broker sitting between two parties and managing the transaction, DeFi uses smart contracts to handle the rules and execution.
Take lending as an example. On a traditional platform, a bank decides who can borrow, how much they can borrow, and at what interest rate. In DeFi, these rules are built into a protocol. Users can supply their crypto assets to a lending pool, while borrowers can access those assets by providing the required collateral.
This gives users more direct control over their assets, but it also means they take on responsibilities that a bank would normally handle. There is no customer service desk to reverse a transaction sent to the wrong address, and a bug in a smart contract can potentially put funds at risk.
That tradeoff is central to understanding DeFi. More control and open access also come with more responsibility.
Most DeFi activity happens through smart contracts deployed on blockchain networks. These contracts contain the rules of a protocol and execute transactions when the required conditions are met.
Users interact with these protocols through crypto wallets. Instead of creating an account and depositing money with a financial institution, a user can connect a wallet and interact directly with the application.
Different types of DeFi applications handle different financial activities.
A decentralised exchange (DEX) allows users to swap crypto assets without placing their funds in the custody of a centralised exchange. Many DEXs use liquidity pools, where users deposit assets that other participants can trade against.
DeFi lending protocols work in a similar way. Users deposit assets into lending pools and can earn interest, while borrowers deposit collateral to access funds.
The important point is that the blockchain records these transactions and the smart contract manages the underlying logic. Users don't need to trust an institution to manually process every transaction, but they do need to trust that the protocol's code, mechanisms, and supporting infrastructure work as intended.
Types of DeFi: DEXs, lending, yield farming, liquid staking, and stablecoins
DeFi is not a single product. It is a broad ecosystem made up of different protocols and financial use cases.
DEXs: Decentralised exchanges allow users to trade or swap crypto assets directly from their wallets. Liquidity often comes from pools rather than a traditional order book.
Lending and borrowing: DeFi lending platforms connect suppliers and borrowers through smart contracts. Suppliers can earn interest, while borrowers generally need to provide collateral before accessing a loan.
Yield farming: Yield farming involves putting assets to work across DeFi protocols to earn potential returns. These returns can come from trading fees, lending interest, or token incentives. The headline yield, however, can change quickly and does not represent a guaranteed return.
Liquid staking: Liquid staking allows users to stake assets while receiving a token representing their staked position. That token can then potentially be used in other DeFi applications, giving users greater flexibility with their capital.
Stablecoins: Stablecoins are crypto assets designed to maintain a relatively stable value, usually by tracking an external reference such as the US dollar. They have become an important part of DeFi because they allow users to transact, lend, and provide liquidity without taking the same level of price exposure as more volatile crypto assets.
Together, these applications form much of the infrastructure that people refer to when they talk about the DeFi ecosystem.
DeFi uses blockchain networks and smart contracts to replace some of the functions traditionally handled by financial intermediaries.
For example, a DeFi lending protocol can connect people who want to lend their crypto with people looking to borrow it. The smart contract manages deposits, collateral, interest, and repayments according to the protocol's rules.
The important difference is that users interact with the protocol directly rather than relying on a bank to manage the transaction.
The main difference is who controls the platform and the assets involved.
In CeFi, or Centralised Finance, a company or financial institution manages the platform. A centralised crypto exchange, for example, may hold your assets on your behalf.
In DeFi, users generally interact directly with blockchain-based protocols through their own wallets. This can give users greater control over their assets, but it also means they are responsible for things such as wallet security, transaction approvals, and understanding the protocol they are using.