Level 4 · Money and marketsThe gold rush#278

DeFi explained: the boomtown that replaced its clerks with machines

DeFi, short for decentralised finance, is a set of smart contracts that swap, lend and pool coins without a bank or broker in the middle. The machines run on their own, which removes the clerk and also the person you could complain to.

Every boomtown had a row of clerks. One changed gold dust into coins, one lent money against a nugget, one sold you cover for the trip home. Each sat behind a counter and kept a ledger.

Now imagine the clerks gone and the counters replaced by machines. Put gold in one slot, coins come out of another. Leave your gold in a strongbox and earn a cut of every swap. Pawn your nugget and the machine sells it the moment it is worth too little.

That's DeFi. Decentralised finance is the same old money business, swapping, lending, earning and insuring, run by smart contracts instead of clerks. It works without a company in the middle, and without anyone to say sorry.

What it is

DeFi is a group of smart contracts on public blockchains, mostly Ethereum and its relatives, that hold coins and follow fixed rules. Anyone with a wallet can use them. Nobody opens an account for you or checks your passport at the contract itself.

Each machine does one job, and they can be plugged into each other. A coin you get from one can be fed straight into the next, which is why people call them money legos.

How it works

Four machines do most of the work in this section.

Swap. A decentralised exchange trades one token for another from your own wallet. Uniswap describes itself as "a decentralized exchange protocol built on Ethereum" (Uniswap). The next articles explain the machine inside, the automated market maker.

Earn. The coins a swap machine trades against come from a liquidity pool that ordinary users fill. In return they get a share of the trading fees, and a risk of their own called impermanent loss.

Lend. Lending protocols take deposits and lend them out against collateral. Aave calls itself "a decentralized system of smart contracts for supplying and borrowing digital assets", and borrowers must "supply assets of greater value than the amount they wish to borrow" (Aave). If the collateral falls too far, a liquidator repays part of the debt and takes collateral at a discount.

Insure. Cover against a contract failing exists too, though not always as insurance. Nexus Mutual calls itself "a decentralized insurance alternative" that "operates as a discretionary mutual" (Nexus Mutual). Discretionary means members decide whether a claim is paid.

How big is the town? The usual yardstick is total value locked (TVL): the value of the coins sitting in these contracts. DefiLlama's headline figure for "Total Value Locked in DeFi", read on 19 November 2026 at 17:08 UTC, was 70.878 billion dollars (DefiLlama). Ethereum alone held about 37.8 billion, a little over half (DefiLlama API, per chain; dashboard on DefiLlama Chains).

Now the same measure on 9 November 2021: about 177.5 billion dollars (DefiLlama). So the town held about 40% of the gold it held then. Most of that change is token prices, not people leaving: if ether halves, every pool full of ether is worth half as much without one coin moving. The article on reading a DeFi dashboard explains the traps.

Why it matters

The machines change who earns the clerk's wage. On a swap, the fee goes mostly to the people who filled the pool. On a loan, the interest goes to the depositors. The shovel sellers, the protocol teams and the websites in front of the contracts, earn from tokens, protocol fees and front-end charges instead.

They also change who carries the risk. A bank has a compliance department, a deposit guarantee and a regulator. A smart contract has code, and the code does what it says, bugs included. If it is exploited, there is usually no fund that pays you back.

The sheriff has noticed, late as usual. On 7 September 2023 the US Commodity Futures Trading Commission settled with the companies behind three DeFi protocols, Opyn, ZeroEx and Deridex, over derivatives trading offered to US users, with penalties of 250,000, 200,000 and 100,000 dollars. Its enforcement director said: "Somewhere along the way, DeFi operators got the idea that unlawful transactions become lawful when facilitated by smart contracts." Then: "They do not." (CFTC).

Where people get it wrong

  • "Decentralised means nobody is in charge." Many protocols have admin keys, upgradeable contracts or token votes that can change the rules. Someone usually holds a lever.
  • "DeFi yields are interest, like a bank's." Some are interest paid by borrowers. Many are fees, or reward tokens printed by the protocol and worth what the market pays for them.
  • "Big TVL means safe." TVL measures how much gold is in the strongbox, not how good the lock is. Large contracts are the most attractive target for claim jumpers.
  • "The website is the protocol." The website is a front end run by a company or a person. The contracts sit on the chain, and a fake website can drain a real wallet.
  • "If it's on the blockchain, it's checked." Anyone can deploy a contract. An audit lowers the risk; it doesn't remove it.

Ask who can stop the machine

Before you put a coin into any DeFi contract, find one answer: who can change or pause it, and who cannot?

The project's documentation or its block explorer page should say whether the contract is upgradeable and who holds the keys. If nobody can change it, nobody can fix it either. If somebody can, you are trusting that somebody, just without a counter to stand at.

The boomtown got rid of its clerks. It kept the outlaws.

Frequently asked questions

What is DeFi in simple terms?

DeFi, or decentralised finance, is a collection of smart contracts on public blockchains that let people swap, lend, borrow and pool crypto without a bank or broker in between. Anyone with a wallet can use them. The rules are in the code, and nobody at the contract can reverse a mistake.

How big is DeFi?

DefiLlama's headline figure for total value locked in DeFi was 70.878 billion dollars on 19 November 2026, with a little over half on Ethereum. On 9 November 2021 the same measure stood at about 177.5 billion dollars. Most of the change comes from token prices rather than deposits.

Is DeFi regulated?

Partly. In the US, the CFTC has fined companies that ran DeFi protocols, including Opyn, ZeroEx and Deridex in September 2023. In the EU, MiCA's recital 22 leaves out services provided "in a fully decentralised manner without any intermediary" (EUR-Lex), but companies that run front ends or control a protocol can still fall under the rules.

Is DeFi safe?

DeFi removes the risk of a company running off with your coins but adds the risk of bugs, hacks, price crashes and fake websites. There is usually no deposit guarantee and nobody who can refund a loss. Treat every contract as a machine that will do exactly what its code says.

Do I need an account to use DeFi?

No. You connect a self-custody wallet and sign transactions. That also means nobody can recover your access if you lose your keys.

Sources

  1. DefiLlama, Total Value Locked in DeFi (home page headline), read on 19 November 2026
  2. DefiLlama, TVL of all chains (free API, /v2/chains), read on 19 November 2026
  3. DefiLlama, historical TVL of all chains (free API, /v2/historicalChainTvl)
  4. DefiLlama, Chains (dashboard page)
  5. Uniswap, The Uniswap protocol (developer documentation)
  6. Aave, Aave 101 (documentation)
  7. Nexus Mutual, Overview (documentation)
  8. CFTC, Release 8774-23: CFTC issues orders against operators of three DeFi protocols (7 September 2023)
  9. EUR-Lex, Regulation (EU) 2023/1114 on markets in crypto-assets (MiCA), recital 22

Read next.