What is DeFi (decentralized finance)?

After Bitcoin’s launch in 2009, a robust industry blossomed, stemming from the asset, its concept and its underlying technology. The crypto and blockchain space boasts different niches in which projects and companies develop solutions for various use cases. 

One such niche is the decentralized finance (DeFi) sector, which was created as an alternative to traditional financial services. More specifically, DeFi consists of smart contracts, which, in turn, power decentralized applications (DApps) and protocols. Many of the initial DeFi applications were built on Ethereum, and the majority of the ecosystem’s total value locked (TVL) remains concentrated there. 

At its core, Bitcoin (BTC) carries qualities touted as pillars of decentralization. DeFi, however, expands on those qualities, adding additional capabilities.

A subcategory within the broader crypto space, DeFi offers many of the services of the mainstream financial world in a fashion controlled by the masses instead of a central entity or entities. 

Lending may have started it all, but DeFi applications now have many use cases, giving participants access to saving, investing, trading, market-making and more. Decentralized finance’s ultimate goal is to challenge and eventually replace traditional financial services providers. DeFi often harnesses open-source code, allowing anyone the opportunity to build on pre-existing applications in a permissionless, composable manner. 

“Finance” is easy to understand, but what is “decentralization?” In short, decentralization means that no chief body controls something. To an extent, banks and other financial institutions have power over your funds. These entities can freeze your assets, and you are at the mercy of their hours of operation and cash reserves.

The decentralization aspect of DeFi is not only a dispersal of power but also a dispersal of risk. For example, if a company holds all of its customer data in one spot, a hacker needs only to access that particular site for a vast amount of data. In contrast, storing that data across several locations or removing that single point of failure could improve security.

This article will explain what DeFi means, how DeFi works and throw some light on DeFi trading and decentralized banking.

DeFi vs. CeFi (Centralized Finance)

For this comparison, commercial banks will be used as an example. In the traditional world, you may use financial institutions to store your money, borrow capital, earn interest, send transactions, etc. Commercial banks carry a lengthy, proven history of performance. Commercial banks can provide insurance and have security measures in place to ward off and protect against theft. 

On the other hand, such establishments hold and control your assets to a degree. You are limited by banking hours for particular actions, and transactions can be cumbersome, requiring settlement times on the back end. Additionally, commercial banks require specific customer details and identifying documents for participation.

DeFi is a segment that comprises financial products and services that are accessible to anyone with an internet connection and operates without the involvement of banks or any other third-party firms. The decentralized financial market doesn’t sleep and therefore, transactions take place 24/7 in near real-time, while no intermediary has the power to stop them. You can store your crypto on computers, in hardware wallets and elsewhere, and gain access at any time.

Bitcoin and most other cryptocurrencies hold these characteristics due to the underlying technology that backs these assets. Thanks to DeFi’s dependence on blockchain technology, transactions are completed faster, cheaper and — in some cases — more securely than they would with human intervention. Decentralized finance seeks to use crypto technologies to solve a plethora of issues that exist in the traditional financial markets:

People or companies in centralized finance handle the asset class and processes. However, assets are handled by a collection of smart protocols in decentralized finance. It all boils down to having faith in the people or organization behind the platform. CeFi platforms, like Coinbase.com, are custodial, which means it stores crypto for you. You can, however, utilize a Coinbase wallet in the same way you would a regular cash wallet, giving you complete control over your crypto assets.

Overall, DeFi allows participants the opportunity to access borrowing and lending markets, take long and short positions on cryptocurrencies, earn returns through yield farming, and more. Decentralized finance has the potential to be a game-changer for the 2 billion unbanked people in the world, in particular, who don’t have access to traditional financial services for one reason or another. 

DeFi solutions are built on various blockchains, with the ecosystems composed of participants interacting in a peer-to-peer (P2P) fashion, facilitated via distributed ledger technology and smart contracts, which keep the systems in check. Such results are not bound by geographic borders and do not require identifying documentation for participation. 

The framework for this financial system functions according to programmed rules. Instead of using an intermediary such as a bank to borrow capital, you would send amounts of a specific cryptocurrency to a secure digital location — a smart contract — as collateral for your loan, receiving a different asset in return. Your collateral assets would then sit locked up until you send back the loan amount.

Though you may or may not interact in a straightforward P2P manner when using DeFi solutions, the spirit of the process is P2P, in that third parties are replaced with technology that is not ruled by a central authority.

Related: DeFi vs. CeFi: Comparing decentralized to centralized finance

Why is decentralized finance(DeFi) important?

Through a P2P network, DeFi eliminates intermediaries and permits decentralized banking, which wasn't possible before due to the need to get transactions approved through third parties. The global financial crisis of 2008–09 showed that middlemen cannot be trusted as customers are frequently unaware of the underlying regulations governing financial products and services.

The goal of DeFi is to create an open, trustless and permissionless financial market. Much of the technology in the DeFi space aims to improve the current financial system, potentially improving the user experience (for both businesses and their clients).

How does DeFi work?

Though DeFi is frequently mentioned in connection with cryptocurrencies, it goes beyond the creation of new digital money or value. DeFi's smart contracts are designed to take the place of traditional financial systems.

There are no banks or institutions to manage your money because there are no intermediaries to authorize transactions for DeFi applications. Furthermore, the code is open to anyone's scrutiny, so there's a sense of transparency in DeFi protocols. Also, there are open networks that span national boundaries. There are numerous applications available for users, most of which are built on the Ethereum blockchain.

What makes up decentralized finance(DeFi)?

DeFi boomed in 2020, bringing an influx of projects into the cryptosphere and popularizing a new financial movement. Since Bitcoin essentially holds many DeFi characteristics, no firm start date exists for the inception of the DeFi sector, other than Bitcoin’s launch in 2009. 

Following 2017, however, several ecosystems — such as Compound Finance and MakerDAO — gained prevalence, popularizing additional financial capabilities for crypto and DeFi. In 2020, the DeFi niche took off as additional platforms surfaced, in line with folks harnessing DeFi solutions for strategies such as yield farming. 

Decentralized exchanges (DEXs) 

DEXs allow users to trade digital assets in a noncustodial way without the need for an intermediary or third-party service provider. Although they comprise only one element of the DeFi sector, DEXs have been a part of the overall crypto industry for years. They offer participants the ability to buy and sell digital currency without creating an account on an exchange. 

DEXs let you hold assets away from a centralized platform while still allowing for trading at will from your wallets via transactions that involve blockchains. Automated market makers, a type of DEX, became prevalent in 2020 and use smart contracts and liquidity pools to facilitate the purchase and sale of crypto assets.

DEXs are typically built on top of distinct blockchains, making their compatibility specific to the technology on which they are developed. DEXs built on Ethereum’s blockchain, for example, facilitate the trading of assets built on Ethereum, such as ERC-20 tokens. 

Using DEXs requires having compatible wallets. In general, self-custody crypto wallets let you control your assets, and some of them are compatible with DEXs. However, this type of asset storage puts more responsibility on you for the security of your funds. Additionally, certain DEXs may have fewer features and higher associated financial fees than centralized exchanges.

DEXs have come a long way in terms of liquidity and accumulating a regular user base, which continues to grow. As DEXs become more scalable — that is, faster and more efficient — their trading volumes are expected to increase even more.

Aggregators and wallets

Aggregators are the interfaces by which users interact with the DeFi market. In the most basic sense, they are decentralized asset management platforms that automatically move users’ crypto assets between various yield-farming platforms to generate the highest returns.

Wallets are locations for holding and transacting digital assets. Wallets can store multiple different assets, or just a single asset, and can come in an array of forms, including software, hardware and exchange wallets. Self-hosted wallets — wallets for which you manage your private keys — can be a key component of DeFi, helping to facilitate various DeFi platform uses, depending on the wallet. Exchange-based wallets, in contrast, govern your private keys for you, giving you less control, but also less security responsibility.

Decentralized marketplaces

Decentralized marketplaces represent a core use case for blockchain technology. They put the “peer” in peer-to-peer networks in that they allow users to transact with one another in a trustless way — that is, without the need for an intermediary. The smart contract platform Ethereum is the top blockchain facilitating decentralized marketplaces, but many others exist that allow users to trade or exchange specific assets, such as nonfungible tokens (NFTs).

Oracles/prediction markets 

Oracles deliver real-world off-chain data to the blockchain via a third-party provider. Oracles have paved the way for the prediction markets on DeFi crypto platforms where users can place bets on the outcome of an event, ranging from elections to price movements, for which the payouts are made via a smart contract-governed automated process.

Layer 1

Layer 1 represents the blockchain that the developers choose to build on. It is where the DeFi applications and protocols are deployed. As discussed, Ethereum is the main layer-1 solution in decentralized finance but there are rivals, including Polkadot (DOT), Tezos (XTZ), Solana (SOL), BNB, and Cosmos (ATOM). These solutions will inevitably interact with one another as the DeFi space matures. 

Having DeFi sector solutions run on different blockchains has several potential benefits. Blockchains may be forced to improve speed and lower fees, based on the performance of competing blockchains, creating a competitive environment that potentially results in improved functionality. The existence of different layer-1 blockchains also leaves more room for development and traffic, instead of everyone trying to pile onto a single layer-1 option.

Related: The DeFi Stack: Stablecoins, exchanges, synthetics, money markets, and insurance

DeFi use cases 

To help answer the question “What is DeFi?” it helps to explore its use cases. Whether you want to lend or borrow, trade on DEXs, stake your digital assets, or something else — even games — there are new ways to satisfy those needs. Below is a list of some of the key use cases for decentralized finance.

Lending platforms 

Lending and borrowing have become some of the most popular activities in DeFi. Lending protocols allow users to borrow funds while using their cryptocurrency as collateral. Decentralized finance has seen massive amounts of capital flow through its ecosystem, with lending solutions commanding billions of dollars in total value locked, or TVL — the amount of capital held locked in any solution at a given time.

Payments and stablecoins

For DeFi to qualify as a financial system, comprising transactions and contracts, there must be a stable unit of account, or asset. Participants must be able to expect that the bottom will not fall out in the value of the asset they are using. This is where stablecoins come in. 

Stablecoins bring stability to the activities that are common in the DeFi market, such as lending and borrowing. Considering that stablecoins are generally pegged to a fiat currency, such as the U.S. dollar or the euro, they don’t exhibit nearly as much volatility as cryptocurrencies and therefore are desirable for commerce and trading.

Margin and leverage 

The margin and leverage components take the decentralized finance market to the next level, allowing users to borrow cryptocurrencies on margin using other cryptocurrencies as collateral. In addition, smart contracts can be programmed to include leverage to potentially ramp up the user’s returns. The use of these DeFi components also increases the risk exposure for the user, especially considering that the system is based on algorithms and there is no human component if there is a problem. 

DeFi-native activities 

Liquidity pools are a necessary tool for many decentralized exchanges to facilitate trading. They provide trading liquidity for buyers and sellers, who pay a fee for their transactions. To become part of a pool, liquidity providers can send specific funds to a smart contract and receive pool tokens in return, earning passive profit based on the fees traders pay when they interact with that pool. Pool tokens are the key to getting your deposited funds back.

Sometimes known as liquidity mining, yield farming is another activity in the DeFi space that involves searching for profit via various DeFi projects through participating in liquidity pools. While there are intricacies to yield farming, there is one key reason why market participants are flocking to this phenomenon: It allows you to use your crypto holdings to earn even more crypto.

When yield farming, users lend out their crypto to other users and earn interest that is paid in crypto — usually “governance tokens” that give liquidity providers a say in the operation of the protocol. It is a way for investors to put their crypto to work to enhance returns and is a key innovation in the DeFi market. Yield farming has been dubbed the “Wild West” of DeFi, with market participants hunting down the best strategies that they then often keep close to the vest so as not to tip their hand to other traders and lose the magic.

DeFi risks?

For all its promise, the decentralized finance space remains a nascent market that is still experiencing some growing pains.

DeFi has yet to reach wide-scale adoption, and for it to do so, blockchains must become more scalable. Blockchain infrastructure remains in its early form, much of which is clunky to use for developers and market participants alike. 

On some platforms, transactions move at a snail’s pace and this will continue to be the case until scalability improves, which is the idea behind the development of Ethereum 2.0, also known as Eth2. Fiat on-ramps to DeFi platforms can also be painfully slow, which threatens to hold back user adoption.

DeFi has grown significantly. Given its youth and innovation, the legal details around DeFi have likely not yet fully materialized. Governments across the globe may aim to fit DeFi into their current regulatory guidelines, or they may construct new laws pertaining to the sector. Conversely, DeFi and its users may already be subject to specific regulations.

In terms of adoption, it is uncertain how exactly things will pan out in the future. One potential outcome might include traditional finance adopting aspects of DeFi while retaining elements of centralization rather than DeFi completely replacing mainstream financial options. Any entirely decentralized solutions, however, may continue to operate outside of mainstream finance.

How do you make money with DeFi?

Depositing your cryptocurrency onto a platform or protocol that will pay you an annual percentage yield is the most straightforward approach to earning a passive income through DeFi

Staking is the process of locking tokens into a smart contract in exchange for more of the same token. Yield farming is another way of rewarding yourself with more of the same token or a new token.

Your initial step will be to use a fiat on-ramp to purchase some cryptocurrency (i.e., using cash to buy cryptocurrencies). However, before you proceed with purchasing your crypto, keep in mind that the vast bulk of DeFi is based on the Ethereum blockchain, so BTC is rarely accepted.

Is it safe to invest in DeFi?

In general, the smaller a token's market capitalization is, the riskier it is as an investment. Therefore, look at the liquidity of tokens before committing your funds. Ensure you know how long a DeFi protocol has been in operation and how much money it has in total deposits before you invest. 

You can look at its website to see if the company has taken reasonable steps to reduce its risks. You can also look for news items about the protocol being hacked on the internet and their precautions to prevent it from happening again.

To make it clear, there is no DeFi protocol without risk, but the above considerations can help you to evaluate the investment risk before you put your money into any protocol.