Skip to content
CryptoSober

DeFi

What is DeFi?

DeFi is a set of financial services, such as lending and trading, run by smart contracts instead of companies. Learn how it works and its risks.

By Abu HosainPublished 4 min read

DeFi, short for decentralised finance, is the name for financial services that run as programs on a blockchain instead of being provided by a bank or broker. Using only a wallet, people can swap tokens, lend, borrow and earn fees by dealing directly with smart contracts. There is no account to open and no company holding your funds. There is also no company responsible when something goes wrong, which is the part beginners most need to understand.

How it differs from a bank

Ethereum.org describes DeFi as "a collective term for financial products and services that are accessible to anyone who can use Ethereum." The contrast with ordinary finance comes down to who holds the money and who enforces the rules.

Traditional finance DeFi
Who holds your funds The bank or broker You, or a smart contract you chose
Who can use it Approved customers Anyone with a wallet
Who enforces the rules Staff, courts, regulators Code
Opening hours Business hours Always
If something goes wrong Complaints process, insurance up to a limit Usually nothing

"Decentralised" is a claim worth testing. Many DeFi apps are controlled by a small team with admin keys, as explained under contract ownership.

The main things people do

Swap tokens

A decentralised exchange, or DEX, lets you trade one token for another from your own wallet. Most use an AMM: prices are set by formula from reserves held in a liquidity pool. You choose a maximum slippage, sign, and the swap settles in one transaction.

Lend and borrow

Lending apps pool deposits and lend them to borrowers, who must lock up collateral worth more than the loan. If the collateral's price falls too far, the contract sells it automatically. Depositors earn interest that changes with demand.

Provide liquidity

Anyone can deposit a pair of tokens into a pool and earn a share of trading fees. The catch is impermanent loss: if the two prices move apart, you can end up with less than if you had simply held the tokens.

Stake

Staking through a pool gives you a token representing your share of staked coins and their rewards. See Can you lose money staking crypto?

What you need to use it

  1. A non-custodial wallet you control.
  2. Some of the network's coin, such as ether, to pay each gas fee.
  3. The correct web address for the app, reached by typing it or from a bookmark.

Using an app means connecting your wallet and signing transactions. The first step is usually a token approval, which gives the app's contract permission to move a token from your wallet.

The risks, one by one

Smart contract risk. A contract does what its code says. A bug can be exploited to drain every deposit, and the transactions cannot be reversed. An audit reduces the chance of an obvious flaw and guarantees nothing.

Approval risk. Ethereum.org warns that when a platform has unlimited access rights to a token in your wallet, it can spend all of those tokens. Malicious sites exist only to collect approvals. Approve the amount you need, and revoke what you no longer use.

Scam tokens. Anyone can list anything on a DEX. A honeypot cannot be sold. A rug pull removes the pool's funds. Fake tokens copy real names. Check the contract address and its signals with Coin Check before swapping.

Liquidation risk. If you borrow and the market moves against you, your collateral can be sold at a loss in seconds, with no call from a bank first.

Oracle and bridge risk. Apps rely on an oracle for prices, and on a bridge to move assets between networks. Both have been points of failure. Ethereum.org notes that many of the top hacks in the sector involved bridges.

Yield that is too good. High advertised returns are payment for high risk, or bait. Ask where the yield comes from. If the only answer is new deposits, it is a Ponzi scheme.

No safety net. The US Federal Trade Commission notes that crypto holdings are not insured the way bank deposits are. In DeFi there is often not even a company to complain to.

User error. A wrong address, a wrong network or a signature on the wrong prompt is final.

Tax still applies

DeFi activity is not invisible to tax authorities. In the UK, HM Revenue and Customs states that tokens received from activities such as staking or lending count as income, and that this includes "any income earned from Decentralised Finance." Swapping one token for another is generally a disposal in the US, UK and Canada. See How crypto is taxed.

If you want to try it carefully

  • Finish the 7-step series first, especially Protecting your assets.
  • Use a separate wallet with a small balance, not the wallet that holds your savings.
  • Start with long-established apps and simple actions.
  • Read every prompt before signing. If you do not understand a transaction, reject it.
  • Assume any amount you put in could be lost entirely.

Key points

  • DeFi replaces financial companies with smart contracts that you use directly from your wallet.
  • Common uses are swapping, lending, borrowing, providing liquidity and staking.
  • You take on the risks a bank would carry: faulty code, bad tokens, liquidation and your own mistakes.
  • Token approvals are the most common route for theft. Keep them small and revoke old ones.
  • No insurance or compensation scheme stands behind DeFi deposits.

Sources

  1. 01Ethereum.org, What is DeFi?
  2. 02Ethereum.org, Smart contracts
  3. 03Ethereum.org, How to revoke smart contract access to your crypto funds
  4. 04Ethereum.org, Introduction to blockchain bridges
  5. 05US Federal Trade Commission, What to know about cryptocurrency and scams
  6. 06HM Revenue and Customs, Check if you need to pay tax when you receive cryptoassets

This page is educational. It is not financial, investment, legal, or tax advice. See our editorial policy and how to report an error.