Bitcoin—a payment system in which anyone on earth can send money to anyone else—was just the start of the crypto revolution. The people building DeFi applications seek to take accessibility one step further. Decentralized finance has been touted as a possible solution to lowering the barrier of entry for those who struggled to access bank accounts. And more recently, it’s being utilized by cryptocurrency owners for another purpose: to make more money.
Let’s take a look.
What is DeFi?
Taken collectively, DeFi apps are financial products that run on a public blockchain, such as Ethereum. These products are permissionless, meaning they don’t use third parties. Instead of financial intermediaries, such as brokers and banks, everything is automated into the protocol via smart contracts.
What Are Smart Contracts and How Do They Work? (2021)
We’re all familiar with apps and app stores. You browse, download the app you want, and away you go. Behind the lovely UX and UI interfaces, these apps are performing a specific set of instruc…
Matt Hussey, Daniel Phillips
Jan 8, 2021
11 min read
Want to take out a loan? You don’t need the bank to hand you money. You can get a loan directly from your peers. Ready to bet on Bitcoin futures and other derivatives? Forget finding a bookie. You can let the protocol handle it. Looking to swap one asset for another? Decentralized exchanges can facilitate the transaction without taking a huge cut.
Who invented DeFi?
There is no single inventor of DeFi, but DeFi applications first appeared on top of Ethereum, which was invented by Vitalik Buterin. They have since expanded to other networks that use smart contracts to automate transactions. These include Solana, Binance Smart Chain, and Avalanche.
Did you know?
Prominent venture capital firm Andreessen Horowitz led multi-million dollar investment rounds in both Compound and MakerDAO–pillars of the current DeFi ecosystem.
What’s so special about it?
DeFi has several key features.
First, it’s “open,” meaning you can use the applications by creating a wallet—often without displaying any identifying information, such as name and address. That’s theoretically (if not technologically) simpler than having a bank account.
Second, you can move funds around near-instantaneously via a blockchain, so no waiting for the bank transfer to clear.
#DeFi, a full exchange, running on a blockchain, with just a few lines of code, without any human intervention. The simplicity is beautiful.
— CZ 🔶 Binance (@cz_binance) August 4, 2021
Third, the rates (for now, at least) are much better than at traditional banks, though transaction costs vary depending on the blockchain network.
Last, DeFi applications work together like “money Legos.” This “composability” allows anyone to create, modify, mix and match, link, or build on top of any existing DeFi product without permission. Unfortunately, this feature may also be DeFi’s biggest weakness, because if a key component, such as the DAI stablecoin, becomes vulnerable or corrupted, the whole ecosystem built around DAI may come crashing down.
What can you do with DeFi?
There are three basic types of DeFi applications.
💰 Lending/borrowing: If you own cryptocurrency, you can lend it to a protocol such as Aave or Compound in exchange for interest and/or rewards. Likewise, you can borrow digital assets from such a protocol, which is particularly useful if you want to make a trade. Be careful, though! Most DeFi protocols use over-collateralization, meaning you must put up more than the amount you want to borrow; if the asset’s value falls too much, the protocol may take your collateral to avoid losses.
Many DeFi users utilize this as a way to earn assets through “yield farming,” in which they lock up funds in a pool of assets to get rewards. Since rates vary depending on protocol and asset, skilled yield farmers move their assets to capitalize on the best rates.
The top 5 crypto news stories & features in your inbox each day.
Get Daily Digest for the best of Decrypt. News, original features and more.
💱 Trading: With centralized exchanges such as Coinbase and Binance, you’re relying on the exchange to take custody of your assets with each trade. Decentralized exchanges remove the intermediary so people can trade directly with one another. Moreover, DEXes such as Uniswap and PancakeSwap allow people to list new tokens for trading. The lack of vetting increases the risks, but it also allows people to “get in early” on new assets before they hit wider markets.
💸 Derivatives: Sometimes you don’t want to be limited to trading particular coins or tokens. Derivatives platforms such as dYdX and Synthetix allow people to do more than spot trading. For example, users can make leveraged trades in which they bet more than they have, or even create “synthetic assets” that mimic traditional stocks and commodities.
How are DeFi applications produced?
Anyone capable of writing smart contracts is able to create DeFi applications. There are several tools for testing and/or deploying smart contracts, among them Truffle and Ganache for Ethereum. After downloading a framework to build smart contracts, you can create a token that allows a protocol to utilize the blockchain network. On Ethereum, this is an ERC20 token; on Solana it’s called SPL; and Binance Smart Chain has BEP20s.
Having a token allows the protocol to interact directly with the layer-1 blockchain’s coin. But projects have also promoted their tokens to push decentralization. Lending protocol Compound, for instance, uses COMP as a governance token; those who hold it get to make decisions about the protocol’s code and treasury allocations.
How do you use DeFi products?
Anyone can use DeFi products by going to an application’s website and connecting with a DeFi-enabled crypto wallet, such as