What makes DeFi distinct from cryptocurrencies like Bitcoin is that it expands the use of the blockchain from direct value transfers to more complex financial use cases. While bitcoin can only be used as a store of value, DeFi – powered by decentralised applications (dApps) – allow parties to exchange, lend, borrow, and trade directly using the blockchain without any intermediaries and costs.
At the core of DeFi are smart contracts, which is computer code that acts as a digital agreement between two parties. Running on the blockchain, smart contracts automatically execute transactions if certain conditions are met, and can be used for a variety of financial protocols like issuing crypto-backed loans and paying out interest on holdings.
Smart contracts are the fuel that powers DeFi and its protocols like Aave, Compound, and hundreds of others. Because they are processed on the blockchain, smart contracts can be sent automatically without a third party involved. Most DeFi projects are built on top of Ethereum – the second largest cryptocurrency platform – because its programming languages are specifically designed for creating and deploying flexible smart contracts. They have since expanded to other networks that use smart contracts as well. These include Solana and Avalanche. Anyone can use DeFi products by going to an application’s website and connecting with a DeFi-enabled crypto wallet (such as MetaMask on Ethereum, or Phantom on Solana). Because the apps are built on the blockchain, users must then use that blockchain’s tokens to transact. For example, Ether is required to pay for transactions on the Ethereum network and SOL is necessary on the Solana network.