Skip to content

DeFi: Lending, Swaps & Liquidity Pools

Decentralized finance (DeFi) rebuilds financial services as smart contracts. Lending protocols let you deposit crypto to earn interest or borrow against collateral; automated market makers (AMMs) let you swap tokens against a pool of funds supplied by 'liquidity providers' instead of an order book. Providers earn trading fees but face impermanent loss: if the two tokens' prices diverge, they end up with less value than if they had simply held. Yields come from borrowers' interest, trading fees or newly issued tokens — and token rewards fade. The extra risks are smart-contract bugs, price-oracle manipulation and rug pulls.

Key points

  • Lending yield is paid by borrowers; if there is no clear payer, ask who is
  • Providing liquidity earns fees but exposes you to impermanent loss
  • No customer support, no deposit insurance, and often no way to recover from a mistake

Related lessons

This lesson ends with a 4-question quiz.

The Learn map