2 min to read.
DeFi
Decentralised finance: financial services such as trading, lending and borrowing run by smart contracts instead of banks or brokers.
What is DeFi?
DeFi, short for decentralised finance, is the collective name for financial services that run on public blockchains through smart contracts. Instead of a bank or broker holding funds and keeping the books, code holds the funds and applies the rules, and users take part directly from their own wallets.
How it works
DeFi applications are sets of smart contracts, mostly on Ethereum and similar networks. A user connects a wallet, signs a transaction, and the contract carries out the operation. Common building blocks are:
- Decentralised exchanges, which let users swap tokens against pools of liquidity.
- Lending protocols, where deposits are lent to borrowers who post more collateral than they borrow.
- Stablecoins, which give the system a unit that tracks a currency.
- Derivatives and yield products built on top of the above.
Because contracts can call each other, applications are often stacked like building blocks.
Example
A user deposits a stablecoin into a lending protocol. Another user locks ether as collateral and borrows that stablecoin. If the value of the collateral falls below a set threshold, the contract sells it automatically to repay the lenders; this is called liquidation.
Why it matters
DeFi is open to anyone with a wallet, runs around the clock and is transparent: balances and rules are visible on-chain. It shows that some financial functions can operate without a central intermediary.
Risks
- Smart contract risk: bugs and exploits have caused large losses.
- Liquidation risk for borrowers when prices move quickly.
- Dependence on price feeds (oracles) and on stablecoins keeping their peg.
- Fraud, including rug pulls and fake front ends.
- No deposit insurance, no customer service, and usually no way to reverse a mistake.
- Returns advertised by protocols are variable and can fall or disappear.
Common misunderstanding
"Decentralised" is a matter of degree. Many protocols have teams with administrative keys, and regulation of DeFi differs from country to country.