Learn DeFi · Lesson 1 of 8

What DeFi is, and where its yield comes from

Decentralized finance, or DeFi, is financial services run by code on a public blockchain. Lending, trading, saving and borrowing happen through smart contracts: programs that hold the money and follow fixed rules, so there is no bank or broker in the middle. Anyone with a wallet and an internet connection can use them, and every transaction is recorded on a ledger anyone can inspect.

The building blocks

  • Blockchains such as Ethereum, Solana, Base and Arbitrum are the settlement layer. Each has its own fees, speed and set of apps.
  • Wallets hold the keys that control your funds. In DeFi you hold your own keys, which means full control and full responsibility.
  • Apps (often called dApps) are the front ends you use: an exchange like Uniswap or Aero, a lending market like Aave, a staking protocol like Lido or ether.fi.

Where the yield comes from

Every DeFi yield is paid by someone. If you cannot say who, be careful. There are four honest sources:

  1. Borrowers. Lending markets pay depositors the interest that borrowers pay. More borrowing demand means higher rates.
  2. Traders. Liquidity pools pay providers a share of every swap fee. More volume means more fees.
  3. The network. Proof-of-stake chains pay stakers for securing them. This is the base rate of a chain such as Ethereum or Solana.
  4. Real-world assets. Tokenized Treasury funds pass through the yield of US government bills. This is the on-chain risk-free rate, and every other yield should beat it to be worth the extra risk.

A fifth source is common and much weaker: reward tokens, new tokens a protocol prints to attract deposits. They can be valuable, but they are paid in a token whose price often falls as it is distributed. That is why the Yield X-Ray separates them from real fees and interest.

The first question for any yield: who is paying it, and will they keep paying when the market turns?