Decentralized finance (often stylized as DeFi) offers
financial instruments
Financial instruments are monetary contracts between parties. They can be created, traded, modified and settled. They can be cash (currency), evidence of an ownership interest in an entity or a contractual right to receive or deliver in the form ...
without relying on
intermediaries
An intermediary (or go-between) is a third party that offers intermediation services between two parties, which involves conveying messages between principals in a dispute, preventing direct contact and potential escalation of the issue. In law ...
such as
brokerages
A stockbroker is a regulated broker, broker-dealer, or registered investment adviser (in the United States) who may provide financial advisory and investment management services and execute transactions such as the purchase or sale of stocks and ...
,
exchanges, or
banks
A bank is a financial institution that accepts deposits from the public and creates a demand deposit while simultaneously making loans. Lending activities can be directly performed by the bank or indirectly through capital markets.
Becaus ...
by using
smart contracts on a
blockchain
A blockchain is a type of distributed ledger technology (DLT) that consists of growing lists of records, called ''blocks'', that are securely linked together using cryptography. Each block contains a cryptographic hash of the previous block, a ...
. DeFi platforms allow people to lend or borrow funds from others, speculate on price movements on assets using derivatives, trade
cryptocurrencies
A cryptocurrency, crypto-currency, or crypto is a digital currency designed to work as a medium of exchange through a computer network that is not reliant on any central authority, such as a government or bank
A bank is a financial i ...
, insure against risks, and earn
interest
In finance and economics, interest is payment from a borrower or deposit-taking financial institution to a lender or depositor of an amount above repayment of the principal sum (that is, the amount borrowed), at a particular rate. It is distinct ...
in savings-like accounts.
DeFi uses a layered architecture and highly composable building blocks.
Some applications promote high
interest rates
An interest rate is the amount of interest due per period, as a proportion of the amount lent, deposited, or borrowed (called the principal sum). The total interest on an amount lent or borrowed depends on the principal sum, the interest rate, th ...
but are subject to high risk.
History
Decentralized exchange
Decentralized finance (often stylized as DeFi) offers financial instruments without relying on intermediaries such as brokerages, exchanges, or banks by using smart contracts on a blockchain. DeFi platforms allow people to lend or borrow funds f ...
s (abbreviated DEXs) are alternative payment ecosystems with new
protocol
Protocol may refer to:
Sociology and politics
* Protocol (politics), a formal agreement between nation states
* Protocol (diplomacy), the etiquette of diplomacy and affairs of state
* Etiquette, a code of personal behavior
Science and technolog ...
s for financial transactions that emerged within the framework of decentralized finance,
which is part of
blockchain technology and
FinTech
Fintech, a portmanteau of "financial technology", refers to firms using new technology to compete with traditional financial methods in the delivery of financial services. Artificial intelligence, blockchain, cloud computing, and big data are r ...
.
CEXs, DEXs and DEX aggregators are all built on the multi-layered DeFi architecture or components, where each layer serves 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 ''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
Ethereum is a decentralized, open-source blockchain with smart contract functionality. Ether (Abbreviation: ETH; sign: Ξ) is the native cryptocurrency of the platform. Among cryptocurrencies, ether is second only to bitcoin in market capita ...
blockchain popularized
smart contracts, which are the basis of DeFi, in 2017. Other blockchains have since implemented smart contracts.
MakerDAO
Dai (or DAI, formerly Sai or SAI) is a stablecoin on the Ethereum blockchain whose value is kept as close to one United States dollar (USD) as possible through a system of smart contracts and the decentralized participants those contracts incen ...
is a prominent lending DeFi platform based on a
stablecoin
Stablecoins are cryptocurrencies where the price is supposed to be pegged to a reference asset, which is either fiat money, exchange-traded commodities (such as precious metals or industrial metals), or another cryptocurrency.
In theory, the p ...
that was established in 2017. It allows users to borrow
DAI, a token pegged to the
US dollar
The United States dollar (symbol: $; code: USD; also abbreviated US$ or U.S. Dollar, to distinguish it from other dollar-denominated currencies; referred to as the dollar, U.S. dollar, American dollar, or colloquially buck) is the official ...
. Through a set of smart contracts that govern the loan, repayment, and liquidation processes, MakerDAO aims to maintain the stable value of DAI in a
decentralized
Decentralization or decentralisation is the process by which the activities of an organization, particularly those regarding planning and decision making, are distributed or delegated away from a central, authoritative location or group.
Conce ...
and autonomous manner.
In June 2020, Compound Finance started rewarding lenders and borrowers with
cryptocurrencies
A cryptocurrency, crypto-currency, or crypto is a digital currency designed to work as a medium of exchange through a computer network that is not reliant on any central authority, such as a government or bank
A bank is a financial i ...
, in addition to typical
interest
In finance and economics, interest is payment from a borrower or deposit-taking financial institution to a lender or depositor of an amount above repayment of the principal sum (that is, the amount borrowed), at a particular rate. It is distinct ...
payments to lenders, units of a cryptocurrency called COMP. This token, which is used for running Compound, can also be traded on
cryptocurrency exchanges
A cryptocurrency exchange, or a digital currency exchange (DCE), is a business that allows customers to trade cryptocurrencies or digital currencies for other assets, such as conventional fiat money or other digital currencies. Exchanges may acce ...
. 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
In finance and economics, interest is payment from a borrower or deposit-taking financial institution to a lender or depositor of an amount above repayment of the principal sum (that is, the amount borrowed), at a particular rate. It is distinct ...
and fees but also the value of additional tokens received as rewards.
In July 2020, ''
The Washington Post
''The Washington Post'' (also known as the ''Post'' and, informally, ''WaPo'') is an American daily newspaper published in Washington, D.C. It is the most widely circulated newspaper within the Washington metropolitan area and has a large nati ...
'' described decentralized finance techniques and the risks involved.
In September 2020,
Bloomberg Bloomberg may refer to:
People
* Daniel J. Bloomberg (1905–1984), audio engineer
* Georgina Bloomberg (born 1983), professional equestrian
* Michael Bloomberg (born 1942), American businessman and founder of Bloomberg L.P.; politician and ma ...
said that DeFi made up two-thirds of the
cryptocurrency
A cryptocurrency, crypto-currency, or crypto is a digital currency designed to work as a medium of exchange through a computer network that is not reliant on any central authority, such as a government or bank, to uphold or maintain it. It i ...
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 capital
Venture capital (often abbreviated as VC) is a form of private equity financing that is provided by venture capital firms or funds to startups, early-stage, and emerging companies that have been deemed to have high growth potential or which ha ...
ists such as
Andreessen Horowitz
Andreessen Horowitz (also called a16z, legal name AH Capital Management, LLC) is a private American venture capital firm, founded in 2009 by Marc Andreessen and Ben Horowitz. The company is headquartered in Menlo Park, California.
Andreessen ...
and
Michael Novogratz
Michael Edward Novogratz (born November 26, 1964) is an American investor, formerly of the investment firm Fortress Investment Group. He is currently CEO of Galaxy Investment Partners which focuses on investments in cryptocurrency.
Early life
R ...
.
''The Economist'' regarded the future of digital finance in 2022 as a "three-way fight" between:
Big Tech
Big Tech, also known as the Tech Giants, refers to the most dominant companies in the information technology industry, mostly located in the United States. The term also refers to the four or five largest American tech companies, called the Big ...
, such as
Facebook
Facebook is an online social media and social networking service owned by American company Meta Platforms. Founded in 2004 by Mark Zuckerberg with fellow Harvard College students and roommates Eduardo Saverin, Andrew McCollum, Dustin M ...
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.
Key characteristics
DeFi revolves around
decentralized applications, also known as DApps, that perform financial functions on
distributed ledgers called blockchains, a technology that was made popular by
Bitcoin
Bitcoin ( abbreviation: BTC; sign: ₿) is a decentralized digital currency that can be transferred on the peer-to-peer bitcoin network. Bitcoin transactions are verified by network nodes through cryptography and recorded in a public distr ...
and has since been adapted more broadly.
Rather than transactions being made through a centralized intermediary such as a cryptocurrency exchange or a traditional securities exchange, transactions are directly made between participants, mediated by smart contract programs.
These smart contracts, or DeFi protocols, typically run using
open-source
Open source is source code that is made freely available for possible modification and redistribution. Products include permission to use the source code, design documents, or content of the product. The open-source model is a decentralized sof ...
software that is built and maintained by a community of developers.
DApps are typically accessed through a browser extension or application. For example,
MetaMask
MetaMask is a software cryptocurrency wallet used to interact with the Ethereum blockchain. It allows users to access their Ethereum wallet through a browser extension or mobile app, which can then be used to interact with decentralized applica ...
allows users to directly interact with Ethereum through a digital wallet. Many of these DApps can be linked to create complex financial services.
For example,
stablecoin
Stablecoins are cryptocurrencies where the price is supposed to be pegged to a reference asset, which is either fiat money, exchange-traded commodities (such as precious metals or industrial metals), or another cryptocurrency.
In theory, the p ...
holders can lend assets like
USD Coin
USD Coin (USDC) is a digital stablecoin pegged to the United States dollar. USD Coin is managed by a consortium called Centre, which was founded by Circle and includes members from the cryptocurrency exchange Coinbase and Bitcoin mining company ...
or DAI to a liquidity pool in a borrow/lending protocol like Aave, and allow others to borrow those digital assets by depositing their own collateral. The protocol automatically adjusts interest rates based on the demand for the asset.
Some DApps source external (off-chain) data, such as the price of an asset, through
blockchain oracles.
Additionally, Aave introduced "flash loans", which are uncollateralized loans of an arbitrary amount that are taken out and paid back within a single blockchain transaction. Many exploits of DeFi platforms have used flash loans to manipulate cryptocurrency spot prices.
Another DeFi protocol is
Uniswap
Uniswap is a decentralized cryptocurrency exchange that uses a set of smart contracts (liquidity pools) to execute trades on its exchange. It's an open source project and falls into the category of a DeFi product (Decentralized finance) because i ...
, which is a
decentralized exchange
Decentralized finance (often stylized as DeFi) offers financial instruments without relying on intermediaries such as brokerages, exchanges, or banks by using smart contracts on a blockchain. DeFi platforms allow people to lend or borrow funds f ...
(DEX) set up to trade tokens issued on Ethereum. Rather than using a centralized exchange to fill orders, Uniswap pays users to form liquidity pools in exchange for a percentage of the fees collected from traders swapping tokens in and out of the liquidity pools. Because no centralized party runs Uniswap (the platform is governed by its users), and any development team can use the open-source software, there is no entity to check the identities of the people using the platform and meet
KYC/AML regulations. It is not clear what position regulators will take on the legality of such platforms.
Decentralized exchanges
Decentralized exchanges (DEX) are a type of
cryptocurrency exchange
A cryptocurrency exchange, or a digital currency exchange (DCE), is a business that allows customers to trade cryptocurrencies or digital currencies for other assets, such as conventional fiat money or other digital currencies. Exchanges may acce ...
which allows for direct
peer-to-peer
Peer-to-peer (P2P) computing or networking is a distributed application architecture that partitions tasks or workloads between peers. Peers are equally privileged, equipotent participants in the network. They are said to form a peer-to-peer n ...
cryptocurrency transactions to take place without the need for an intermediary.
In transactions made through decentralized exchanges, the typical third party entities which would normally oversee the security and transfer of
assets
In financial accountancy, financial accounting, an asset is any resource owned or controlled by a business or an economic entity. It is anything (tangible or intangible) that can be used to produce positive economic value. Assets represent value ...
(e.g.
banks
A bank is a financial institution that accepts deposits from the public and creates a demand deposit while simultaneously making loans. Lending activities can be directly performed by the bank or indirectly through capital markets.
Becaus ...
,
stockbrokers
A stockbroker is a regulated broker, broker-dealer, or registered investment adviser (in the United States) who may provide financial advisory and investment management services and execute transactions such as the purchase or sale of stocks a ...
, online
payment gateways, government
institutions
Institutions are humanly devised structures of rules and norms that shape and constrain individual behavior. All definitions of institutions generally entail that there is a level of persistence and continuity. Laws, rules, social conventions a ...
, etc.) are substituted by a
blockchain
A blockchain is a type of distributed ledger technology (DLT) that consists of growing lists of records, called ''blocks'', that are securely linked together using cryptography. Each block contains a cryptographic hash of the previous block, a ...
or
distributed ledger
A distributed ledger (also called a shared ledger or distributed ledger technology or DLT) is the consensus of replicated, shared, and synchronized digital data that is geographically spread (distributed) across many sites, countries, or institutio ...
. Some common methods of operation include the use of
smart contracts or order book relaying, although many other variations are possible and with differing degrees of
decentralization
Decentralization or decentralisation is the process by which the activities of an organization, particularly those regarding planning and decision making, are distributed or delegated away from a central, authoritative location or group.
Conce ...
.
Because traders on a decentralized exchange often do not need to transfer their assets to the exchange before executing a trade, decentralized exchanges reduce the risk of theft from
hacking of exchanges, but liquidity providers do need to transfer tokens to the decentralized exchange. Decentralized exchanges can also prevent price manipulation or faked trading volume through
wash trading, and are more anonymous than exchanges which implement
know your customer
Know Your Customer (KYC) guidelines in financial services require that professionals make an effort to verify the identity, suitability, and risks involved with maintaining a business relationship. The procedures fit within the broader scope of a ...
(KYC) requirements.
There are some signs that decentralized exchanges have been suffering from low trading volumes and
market liquidity
In business, economics or investment, market liquidity is a market's feature whereby an individual or firm can quickly purchase or sell an asset without causing a drastic change in the asset's price. Liquidity involves the trade-off between the ...
.
The
0x project, a protocol for building decentralized exchanges with interchangeable liquidity attempts to solve this issue.
Drawbacks
Due to a lack of
KYC processes, and no way to revert a transaction, users are at a loss if they are ever hacked for their passwords or private keys.Additionally, users staking in DeFi protocols can suffer what is called an impermanent loss.
Although liquidity pool DEX are the most widely used, they may have some drawbacks. The most common problems of liquidity pool DEXes are price slippage and
front running
Front running, also known as tailgating, is the prohibited practice of entering into an equity ( stock) trade, option, futures contract, derivative, or security-based swap to capitalize on advance, nonpublic knowledge of a large ("block") pend ...
.
Price slippage occurs because of the AMM (Automated Market Makers) nature itself — the larger the deal, the stronger impact it has on the price. For example, if the
constant product AMM is in use, every deal must keep the product xy = k constant, where x and y are quantities of two cryptocurrencies (or tokens) in the pool. So the larger is the input amount Δx, the lower is the final ratio y / x that gives an exchange price. The problem is mostly significant for large deals or small liquidity pools.
Front running is a special type of attack in public blockchains when some participant (usually a miner) seeing an upcoming trading transaction puts his own transaction ahead (playing with a transaction fee for example), making the initial transaction less profitable or even reverted.
Degrees of decentralization
A decentralized exchange can still have centralized components, whereby some control of the exchange is still in the hands of a central authority.
In July 2018, decentralized exchange Bancor was reportedly hacked and suffered a loss of $13.5M in assets before freezing funds.
In a Tweet,
Charlie Lee, the creator of
Litecoin
Litecoin (Abbreviation: LTC; sign: Ł) is a decentralized peer-to-peer cryptocurrency and open-source software project released under the MIT/X11 license. Inspired by Bitcoin, Litecoin was among the earliest altcoins, starting in October 2011. ...
spoke out and claimed an exchange cannot be decentralized if it can lose or freeze customer funds.
Operators of decentralized exchanges can face legal consequences from government regulators. One example is the founder of EtherDelta, who in November 2018 settled charges with the
U.S. Securities and Exchange Commission
The U.S. Securities and Exchange Commission (SEC) is an independent agency of the United States federal government, created in the aftermath of the Wall Street Crash of 1929. The primary purpose of the SEC is to enforce the law against market ...
over operating an unregistered securities exchange.
Errors and hacking
Coding errors and hacks are common in DeFi.
Blockchain transactions are irreversible, which means that an incorrect or fraudulent DeFi transaction cannot be corrected easily.
The person or entity behind a DeFi protocol may be unknown, and may disappear with investors' money.
Investor Michael Novogratz has described some DeFi protocols as "
Ponzi
Charles Ponzi (, ; born Carlo Pietro Giovanni Guglielmo Tebaldo Ponzi; March 3, 1882 – January 15, 1949) was an Italian swindler and con artist who operated in the U.S. and Canada. His aliases included ''Charles Ponci'', ''Carlo'', and ''Cha ...
-like".
DeFi has been compared to the
initial coin offering
An initial coin offering (ICO) or initial currency offering is a type of funding using cryptocurrencies. It is often a form of crowdfunding, although a private ICO which does not seek public investment is also possible. In an ICO, a quantity of cr ...
craze of 2017, part of a
cryptocurrency bubble. Inexperienced investors are at particular risk of losing money because of the sophistication required to interact with DeFi platforms and the lack of any intermediary with customer support.
On the other hand, as the code for DeFi smart contracts is generally
open-source software
Open-source software (OSS) is computer software that is released under a license in which the copyright holder grants users the rights to use, study, change, and distribute the software and its source code to anyone and for any purpose. Op ...
that can be copied to set up competing platforms, experienced users and user-created bots might create instabilities as funds shift between platforms which share the same code.
In addition, DeFi platforms might inadvertently provide incentives for cryptocurrency miners to destabilize the system.
In 2021, half of cryptocurrency crime was related to DeFi. This rise has been attributed to a combination of developer incompetence and non-existent or poorly enforced regulations.
Theft from DeFi can come from either external hackers stealing from vulnerable projects, or "rug pulls", where the developers and influencers promote a project and then take the money, as a form of
pump-and-dump
Pump and dump (P&D) is a form of securities fraud that involves artificially inflating the price of an owned stock through false and misleading positive statements, in order to sell the cheaply purchased stock at a higher price. Once the opera ...
.
[
]
Regulation
In October 2021, the FATF
The Financial Action Task Force (on Money Laundering) (FATF), also known by its French name, ''Groupe d'action financière'' (GAFI), is an intergovernmental organisation founded in 1989 on the initiative of the G7 to develop policies to combat m ...
included DeFi in the guidance for crypto service providers, making the authority's aim to regulate this type of asset. They are expecting each individual country to determine if individuals involved in DeFi can be considered a virtual asset provider and be subjected to the FATF's guidelines.
See also
* Global financial system
The global financial system is the worldwide framework of legal agreements, institutions, and both formal and informal economic actors that together facilitate international flows of financial capital for purposes of investment and trade financ ...
* Blockchain
A blockchain is a type of distributed ledger technology (DLT) that consists of growing lists of records, called ''blocks'', that are securely linked together using cryptography. Each block contains a cryptographic hash of the previous block, a ...
* Cryptocurrency wallet
A cryptocurrency wallet is a device, physical medium, program or a service which stores the public and/or private keys for cryptocurrency transactions. In addition to this basic function of storing the keys, a cryptocurrency wallet more often a ...
References
{{Cryptocurrencies, state=collapsed
Cryptocurrencies
Ethereum
Finance