Skip to content
Menu
Finabase Learn

Crypto · DeFi and staking

What is DeFi? How decentralized finance works and where it breaks

What decentralized finance is, the five layers every DeFi product rests on, how decentralized it really is, and how risks stack when products are combined.

On this page
  1. From a firm to a contract
  2. The five layers
  3. What people do with it
  4. How decentralized is it, really?
  5. Risks stack when products are combined
  6. What goes wrong in practice
  7. US rules, as of November 2026
  8. DeFi, centralized crypto firms and traditional finance
  9. How Finabase does it
  10. Frequently asked questions
  11. Summary
  12. Check your understanding

Decentralized finance, or DeFi, is the name for financial services that run as programs on a blockchain instead of inside a company. A user with a crypto wallet can swap one token for another, lend, borrow, or earn a reward for locking up coins, by sending transactions to smart contracts. No account is opened, no employee approves anything, and the service is open at all hours to anyone who can pay the network fee.

The promise is finance without intermediaries. The reality is finance with different intermediaries: code, the people who can change the code, the services that feed it prices, and the websites that stand between a user and the contracts. Each of them can fail, and when one does there is usually nobody with the power or the duty to make users whole.

This lesson gives the map. It shows the five layers every DeFi product rests on, what each kind of product does, how to judge how decentralized something really is, and why combining products multiplies risk. The lessons that follow take the main products one at a time.

From a firm to a contract

Take a simple service: exchanging dollars for euros. A bank or broker does it by holding both currencies, quoting a price, updating two account balances and keeping records. You trust the firm to hold the money, quote fairly and stay solvent, and the firm is licensed, audited and supervised to back that trust.

A DeFi exchange does the same job with a contract. The contract holds a reserve of two tokens. A rule written into it sets the price. A user sends one token and the contract sends back the other in the same transaction, which either completes in full or does not happen. The records are the blockchain itself.

Two kinds of account exist on a chain such as Ethereum. An ordinary account is controlled by whoever holds its private key. A contract account is controlled by its code. Anything "deposited in DeFi" is held by a contract account, and what can happen to it is whatever that code allows, including the things its authors did not intend.

The idea was tested early and painfully. In 2016 an investment fund run as a contract, called The DAO, lost about 3.6 million ether, a third of what it had raised, through a flaw in its code. The Ethereum community changed the chain's history to undo the theft, in a fork on July 20, 2016 that split the network in two. That rescue was a one-off decision by a young network. Users of a protocol that fails today should not expect another.

The five layers

The DeFi stack and what can fail at each layer 5. Front ends and wallets Websites and wallet apps that build the transaction you sign. 4. Applications Exchanges (pools), lending markets, staking pools, derivatives. Each is a set of smart contracts that holds users’ tokens. 3. Oracles Services that write outside prices on chain, so a lending market knows what collateral is worth. 2. Tokens Stablecoins, wrapped assets and protocol tokens: the money that moves. 1. Settlement chain A blockchain that runs contracts (Ethereum, its layer 2 networks, Solana and others). It orders transactions and charges gas. What can fail here A fake site, a bad approval What can fail here A bug or an admin key What can fail here A wrong or manipulated price What can fail here A failed peg or bridge What can fail here Congestion, high fees, a halt Every layer depends on the ones under it. A user is exposed to all five.
The layers a DeFi product depends on. A problem in any layer reaches every position built above it.
  1. Settlement chain. A blockchain that can run contracts: Ethereum, the layer 2 networks built on it, Solana and others. It orders transactions, charges a fee for each (gas), and is the final record of who owns what. If it is congested, a transaction that needed to happen now, such as topping up collateral, may be too slow or too expensive.
  2. Tokens. The assets that move: the chain's own coin, Stablecoins: how dollar tokens hold a $1 peg and how they fail that stand in for dollars, wrapped versions of coins from other chains, and tokens issued by the protocols themselves. A token is only as good as whatever backs it.
  3. Oracles. A contract cannot look up a price. Oracle networks publish market prices on chain so that, for example, a lending market knows what collateral is worth. A wrong price is acted on instantly and automatically.
  4. Applications. The protocols: exchanges, lending markets, staking pools, derivatives. Each is a set of contracts that takes custody of users' tokens while they use it.
  5. Front ends and wallets. Almost nobody talks to a contract directly. A website builds the transaction and a wallet asks the user to sign it. The site is usually run by a company, can be blocked, altered or imitated, and is where many ordinary users are robbed, by signing something that is not what it claims to be.

What people do with it

Service What the contract does What the user earns or pays Its own lesson
Exchange (DEX) Swaps tokens against a pool at a formula price Traders pay a fee; pool funders earn it Decentralized exchanges and liquidity pools: how AMMs price trades
Lending Lends pooled deposits against more collateral than debt Borrowers pay interest; depositors earn it Crypto lending and yield: where the interest comes from
Staking Pools coins to run validators on a proof-of-stake chain The network pays a reward in the coin Crypto staking: how rewards work and what can go wrong
Stablecoins Issues a token meant to hold $1 Usually nothing to the holder Stablecoins: how dollar tokens hold a $1 peg and how they fail
Bridges Locks a token on one chain, issues a claim on another A fee, to reach another chain Crypto bridges and wrapped tokens: how assets move between chains
Derivatives Runs leveraged bets on prices, settled in tokens Funding payments; losses to liquidation

One measure of how much is at work is total value locked: the dollar value of tokens deposited in a protocol's contracts. It rises and falls with token prices as well as with deposits, and the same dollar can be counted more than once when it passes through several protocols, as the example below does.

How big is it?

Finabase has no on-chain data, so this page cannot quote value locked. What the crypto list does show is the market value of the tokens that DeFi protocols have issued.

Market value of 14 DeFi protocol tokens, November 18, 2026 Chainlink (price oracles) $6.9B Uniswap (exchange) $3.3B Aave (lending) $1.7B Ethena (synthetic dollar) $1.5B Sky, formerly Maker (stablecoin) $1.2B Morpho (lending) $985M Jupiter (exchange) $843M PancakeSwap (exchange) $537M ether.fi (liquid staking) $455M Raydium (exchange) $388M Curve (exchange) $324M Pendle (yield trading) $246M Lido (liquid staking) $224M Compound (lending) $182M Together $18.8B, or 0.8% of the $2.22T crypto list. Source: Finabase crypto list.
Market cap of 14 DeFi protocol tokens on the Finabase crypto list, November 18, 2026. Together $18.8 billion, 0.8% of the $2.22 trillion list.

On November 18, 2026 the 14 largest we identified were worth $18.8 billion together, 0.8% of the $2.22 trillion value of the 996 coins on the list. Bitcoin alone was 58.1% and ether 9.9%. The two largest dollar stablecoins, USDT and USDC, were worth $244.1 billion, 11.0% of the list and thirteen times the DeFi tokens.

Two cautions about that comparison. A protocol's token is not the money in the protocol: it is a separate asset, usually carrying votes over the protocol's rules, and its price says what the market will pay for that. And the choice of which tokens count as DeFi is ours. The figure shows the order of size, not a precise share.

How decentralized is it, really?

The word describes an aim more often than a fact. Useful questions:

  • Can the contracts be changed? Many protocols are upgradeable: a controlling account can replace the code behind the address users deposit to. That allows bugs to be fixed and also allows the rules to be changed, or the funds to be moved, by whoever controls the upgrade.
  • Who holds the admin keys? Control may sit with a single key, with a group that must sign together, or with a vote of token holders followed by a delay. A delay matters: it gives users time to leave before a change takes effect.
  • Who votes? Governance tokens are often concentrated in the founders, early investors and a few large holders. A vote open to everyone can still be decided by a handful.
  • Who runs the oracle and the website? A protocol with unchangeable contracts can still depend on one price feed and one company's site.
  • Can tokens be frozen? The issuers of the two largest dollar stablecoins reserve the right, in their terms, to block or freeze tokens at specific addresses. A fully on-chain protocol that holds such a token inherits that.

None of these makes a protocol bad. A team that can pause a contract has stopped thefts in progress. The point is that "no one is in charge" is rarely literally true, and a user is trusting whoever is.

Risks stack when products are combined

DeFi products are built to plug into one another, a property called composability. The receipt token from one protocol can be deposited in a second, and the loan from the second placed in a third. Each step may add a yield. Each step certainly adds a dependency.

A worked example, with invented but realistic numbers. An investor holds 10 ETH at $2,000.

  1. They deposit the ether in a liquid staking protocol and receive 10 staking tokens, which earn the staking reward.
  2. They post the staking tokens as collateral in a lending market and borrow $10,000 of a stablecoin. With a liquidation threshold of 80%, the health factor is 20,000 × 0.80 ÷ 10,000 = 1.60.
  3. They put the $10,000 into a stablecoin pool on an exchange to earn trading fees.

The position now earns three yields on one $20,000 stake. It is also exposed to:

  • the price of ether;
  • a bug in the staking protocol, or its operators being penalized;
  • the staking token trading below the ether behind it;
  • a bug in the lending market, or a bad price from its oracle;
  • the stablecoin losing its peg;
  • a bug in the exchange pool;
  • every website and signature used along the way.

And the risks interact. On its own, the loan in step 2 is liquidated if ether falls 37.5%, to $1,250. Now suppose ether falls 34%, to $1,320, and in the same panic the staking token slips to a 5% discount to ether, which is the kind of gap that opens when many holders sell at once. The collateral is worth 10 × 1,320 × 0.95 = $12,540, and the health factor is 12,540 × 0.80 ÷ 10,000 = 1.003. One more tick down and the position is liquidated, at a price fall that the investor believed left a margin. Events that seem independent in calm markets arrive together in a crisis, because the same people are selling everything at once.

What goes wrong in practice

  • Contract bugs and exploits. Code that holds money is attacked constantly. An audit lowers the odds of a flaw. It is not a guarantee.
  • Oracle manipulation. If a protocol trusts a price that can be pushed around in a thin market, an attacker can borrow against inflated collateral and leave bad debt behind.
  • Governance and insider risk. Whoever controls upgrades or the treasury can misuse them. Where the creators can simply withdraw the pool, the result is a rug pull.
  • Pegs and bridges. Stablecoins and wrapped tokens are claims on something held elsewhere. When the backing fails, everything built on the token fails with it.
  • Liquidation cascades. Falling prices trigger automatic sales of collateral, which push prices down further and trigger more.
  • User error. A transaction sent to the wrong address or the wrong network, or an approval granted to a malicious contract, cannot be reversed by anyone.
  • Phishing. Fake sites, fake support staff and fake tokens take funds from individuals without needing any flaw in a protocol.

What is absent matters as much. No FDIC insurance covers a deposit in a contract. SIPC does not cover it. There is no card network to dispute a payment with and no regulator-run compensation scheme.

US rules, as of November 2026

The rules for DeFi are less settled than for exchanges and funds, and this section says only what we could confirm on a primary source.

  • Securities law. An interpretation adopted by the SEC on March 17, 2026, jointly with the CFTC, sorts crypto assets into categories and says that protocol mining, staking and wrapping, as it describes them, "do not involve the offer and sale of a security". It does not declare DeFi protocols in general to be outside the securities laws.
  • Tax reporting. A Treasury rule that would have treated DeFi front ends as brokers, required to report users' sales to the IRS, was disapproved by Congress (Public Law 119-5, April 10, 2025) and removed. So a DeFi protocol sends no tax form.
  • Tax owed. That changes reporting, not liability. The IRS treats digital assets as property and says transactions must be reported "whether or not they result in a taxable gain or loss". Swapping one token for another is a disposal. Keeping the records is the user's job.

DeFi, centralized crypto firms and traditional finance

DeFi protocol Centralized crypto firm Bank or broker
Who holds your assets A contract; you hold the keys The firm The firm, under custody rules
Who can use it Anyone with a wallet Approved customers Approved customers
Opening hours Always Always Business hours, mostly
Rules enforced by Code The firm's terms Law, regulators and the firm
Records Public, on chain Private Private, audited
Mistaken or stolen payment Final Sometimes recoverable Often recoverable
If it fails Losses fall on users at once Bankruptcy; customers are creditors Insurance and resolution regimes
Typical failure Exploit, bad oracle, lost peg Insolvency, fraud, frozen withdrawals Insolvency, rarely reaching customers

How Finabase does it

Finabase covers DeFi as market prices. The crypto list includes the tokens of DeFi protocols alongside coins and stablecoins, and each has a quote page with price, change over one week to two years, volume and market cap, for example LINK.X, UNI.X and AAVE.X. The chart on this page was built from that list, frozen on November 18, 2026.

Finabase does not show on-chain data: no total value locked, pool balances, lending rates, staking yields or wallet holdings. It does not connect to wallets and offers no swapping, lending or staking. A protocol token's page tells you what the token trades for. It does not tell you what the protocol holds, what it pays, or whether its contracts are sound, and a token's price can fall to nothing while the protocol keeps running, or the reverse.

Frequently asked questions

Is DeFi safe?

It carries risks that a bank account or brokerage account does not: contract bugs, price feed failures, tokens that lose their backing, and irreversible mistakes, with no insurance behind any of them. Some protocols have run for years without loss. None can promise it.

What is the difference between DeFi and CeFi?

In DeFi a contract holds the assets and the user holds the keys; in centralized finance (CeFi) a company holds the assets and the user holds a claim on the company. DeFi's typical failure is an exploit. CeFi's is insolvency, as with the lenders that froze withdrawals in 2022.

Do you need to own ether to use DeFi?

On Ethereum and its layer 2 networks you need some ether to pay transaction fees, whatever tokens you are moving. Other chains charge fees in their own coin.

How does DeFi make money for users?

Through payments from other users or from the network: traders' fees to pool funders, borrowers' interest to depositors, and new coins to stakers. Many protocols add their own reward tokens. Each yield is compensation for a risk, and Crypto lending and yield: where the interest comes from sets out a way to trace it.

Is DeFi regulated in the United States?

Partly, and the rules were still being written in November 2026. The SEC's March 2026 interpretation addresses when crypto assets and activities such as staking fall under the securities laws, and the IRS taxes DeFi transactions like any other disposal of property. A rule that would have made DeFi front ends report users' sales was repealed in 2025. This page describes how the technology works, not what is lawful in your circumstances.

Summary

DeFi rebuilds exchange, lending, staking and dollar-like tokens as smart contracts that anyone can use from a wallet. Every product stands on five layers, a chain, tokens, oracles, application contracts and a front end, and inherits the failure modes of each. The label "decentralized" hides admin keys, upgradeable code and concentrated votes more often than not. Products combine freely, and so do their risks: a 5% discount on a staking token turned a 37.5% margin of safety into 34% in the example here. On November 18, 2026 the 14 largest DeFi tokens on the Finabase list were worth $18.8 billion, under 1% of the crypto market. Nothing in DeFi is insured, and a mistake or a theft is final.

Check your understanding

5 questions on this lesson. Each answer comes with the reason, and nothing is scored.

  1. When a user "deposits into a DeFi protocol", who holds the tokens?

    1. The company that built the website
    2. A smart contract, which releases them only as its code allows
    3. The user’s own wallet, unchanged
    Show the answer

    B. A smart contract, which releases them only as its code allows The tokens move to a contract account controlled by code. What can happen to them is whatever that code permits, including outcomes its authors did not intend.

  2. A lending protocol’s contracts cannot be changed by anyone, but it reads collateral prices from a single price feed. Which statement is most accurate?

    1. It is fully decentralized, so it carries no trust risk
    2. Its users still depend on that price feed being correct and available
    3. Its users are protected by SIPC if the feed fails
    Show the answer

    B. Its users still depend on that price feed being correct and available Decentralization is a matter of degree across layers. Unchangeable contracts remove one kind of trust, but a wrong price from the oracle is acted on automatically.

  3. An investor borrows $10,000 against 10 liquid staking tokens when ether is $2,000, with an 80% liquidation threshold. Ether falls to $1,400 and the staking token trades 5% below ether. What is the health factor?

    1. 1.12
    2. 1.06
    3. 0.95
    Show the answer

    B. 1.06 Collateral = 10 × 1,400 × 0.95 = $13,300. Health factor = 13,300 × 0.80 ÷ 10,000 = 1.064. Without the discount it would be 1.12: stacking a second product on the first brought liquidation closer.

  4. The tokens of 14 DeFi protocols were worth $18.8 billion on November 18, 2026. What does that figure measure?

    1. The money deposited in those protocols
    2. The market value of the tokens the protocols issued, which is a separate asset from the deposits
    3. The fees the protocols earned in a year
    Show the answer

    B. The market value of the tokens the protocols issued, which is a separate asset from the deposits A protocol token is not the money in the protocol. Deposits are measured by total value locked, which Finabase does not show; the token’s market cap is what the market pays for the token itself.

  5. A DeFi protocol sends its US users no tax form. What follows?

    1. Their swaps are not taxable
    2. Their swaps are still reportable disposals of property, and the record-keeping is theirs
    3. Only gains above $10,000 need reporting
    Show the answer

    B. Their swaps are still reportable disposals of property, and the record-keeping is theirs The rule that would have made DeFi front ends report sales was repealed in 2025, which changed reporting, not liability. The IRS treats digital assets as property and requires transactions to be reported.

Sources and further reading

  1. Ethereum.org — Decentralized finance (DeFi)
  2. Ethereum.org — History of Ethereum (the DAO fork of July 20, 2016)
  3. Ethereum.org — Accounts (externally owned accounts and contract accounts)
  4. SEC — Report of Investigation: The DAO, Release No. 81207, July 25, 2017
  5. Aave — Liquidations (health factor formula)
  6. Uniswap documentation — How Uniswap works
  7. Circle — USDC terms (blocklisting: the right to block transfers to and from an address)
  8. SEC — Fact sheet: Application of the federal securities laws to certain types of crypto assets (Release 33-11412, adopted March 17, 2026)
  9. Federal Register — Removal of the gross proceeds reporting rule for DeFi brokers (July 11, 2025)
  10. IRS — Digital assets, page dated September 2, 2026
  11. Finabase crypto list — market cap of 996 coins, frozen November 18, 2026