A FIELD GUIDE TO CRYPTO
Blockchain Technology5 min read

What Is Decentralized Finance (DeFi)?

DeFi uses smart contracts and digital assets to offer financial-style services on public networks. Learn how protocols work, where control sits, and why permissionless access does not remove risk.

ETH
Smart contracts linking digital assets to exchange and lending protocol modules
Smart contracts linking digital assets to exchange and lending protocol modules

Key takeaways

  • DeFi applications use smart contracts to implement rules for actions such as swapping or lending tokens.
  • Users interact through wallets and remain responsible for transactions and approvals.
  • Code, oracle, liquidity, governance, bridge, and key-management risks remain.
01

DeFi as software-mediated financial services

Decentralized finance, or DeFi, refers to applications that use blockchain networks and smart contracts to provide services such as token exchange, lending, borrowing, and collateral management. A smart contract is software executed according to network rules; it can hold assets and apply programmed conditions.

The term covers a wide range of projects. Some components are open and composable, while front ends, governance, upgrade keys, or service providers may remain controlled by identifiable organizations. 'Decentralized' is not a guarantee that no party can influence or interrupt a system.

02

A simple example: a token swap

A decentralized exchange may use a liquidity pool holding two tokens. A user’s transaction asks a contract to exchange one token for another under the pool’s pricing formula and current balances. The actual output can differ from a displayed estimate because of price impact, fees, transaction ordering, and network conditions.

Before the swap, a wallet may request permission to spend a token. That approval can authorize a contract to move tokens up to a specified limit or under the wallet’s chosen setting. Review the token, spender, allowance, network, and transaction details; malicious or faulty contracts can misuse approvals.

03

Lending, collateral, and composability

A lending protocol can match suppliers and borrowers through contract rules. Borrowers commonly post collateral and may be liquidated if its value falls below a required threshold. An oracle may provide external price inputs, and the protocol’s behavior depends on its code, market liquidity, governance, and operating environment.

DeFi protocols can be composed: one application may use another protocol’s token or liquidity. This can make new products possible, but it also creates chains of dependencies. A failure or exploit in one component can affect other applications that rely on it.

04

Risks and a careful inspection

Risks include smart-contract bugs, stolen keys, phishing interfaces, oracle errors, governance capture, liquidity shocks, liquidation, bridge vulnerabilities, stablecoin depegs, and network congestion. Transactions are often difficult to reverse. Yield displays are not guarantees, and a high quoted rate may reflect changing incentives or elevated risk.

  • Identify the chain, contract address, and token contracts from reliable project documentation.
  • Understand who can upgrade, pause, or control contracts and whether audits have limitations.
  • Check collateral, liquidation, oracle, and withdrawal rules before interacting.
  • Use Ethereum.org’s DeFi guide (opens in a new tab) for a high-level overview.

Frequently asked questions

Does DeFi mean there is no company involved?

Not necessarily. A protocol may use on-chain contracts while a company operates its interface, manages upgrades, or influences governance. Inspect the actual control structure.

Sources and further reading

This guide is for general education and is not investment advice. Digital assets involve substantial risks, including possible loss of value.