Defi

Global, Permissionless Finance

Defi

DeFi ecosystems are not just an assortment of financial services but an interconnected web of permission-less systems. The essence of these applications is token utility and interoperability.

To start undersanding DeFi, it's essential to understand the fundamental building blocks that make these systems possible. At the core of the crypto ecosystem lies a crucial distinction between different types of digital assets, each serving unique purposes.

The distinction between coins and tokens, while not strictly technical or universally adopted, provides a helpful framework for understanding crypto assets.

Type Description
Coins Native currencies of blockchains, used to pay transaction fees (like ETH for Ethereum, SOL for Solana, etc.)
Tokens Smart contracts deployed on top of blockchains. Can be either fungible (like ERC20 tokens) or non-fungible (NFTs), each serving different purposes through their programmable nature

Smart Contracts and Tokenomics

Smart contracts are self-executing programs that enable token functionality and form the backbone of DeFi applications. The economic design of these tokens, known as Tokenomics, is crucial for their sustainability. Investors analyze factors like vesting schedules and distribution mechanisms to assess token value.

Stable Coins

Stablecoins are among the highest-priority issues in the regulatory landscape. They are intended to retain a peg to another asset, such as a USD and the biggest stablecoins in the world are USDT and USDC, amounting to roughly $100 billion in combined value.

Three variations of stablecoins have gained prominence.

Type Description Examples Risk Level
Asset-backed Each token is backed by $1 or $1 worth of assets in reserve USDT, USDC Low
Over-collateralized Users deposit excess collateral (e.g., $200 worth of BTC for $100 DAI) to mint stablecoins. Collateral ratios fluctuate based on market conditions MakerDAO's DAI Medium
Algorithmic Uses smart contracts and market incentives to maintain the peg without direct collateral backing Terra Classic (failed) High

Other stablecoins are out there, but most fall into one of the above categories and are tied to 1 USD. While it's possible to peg stablecoins to other values (like 2 USD or even $3.1415926535), most stablecoins focus on maintaining a 1:1 peg with USD. There are also stablecoins pegged to other currencies like EUR and AUD, but USD-based stablecoins dominate in terms of volume and use cases.

DeFi

In traditional finance (TradFi), they've built an entire system on layers of trust in intermediaries. The likelihood of nefarious behavior in your banking system really depends on where you live - and Defi seeks to give everyone an equal opportunity at financial sovereignty and independence.

Consider these everyday scenarios in traditional finance:

  1. Banking Access
    • You trust bank-displayed balances blindly
    • Banks can secretly:
      • Lend your money without notice
      • Freeze accounts arbitrarily
      • Manipulate transaction records
      • Change terms of service
  2. Trading Integrity
    • Every brokerage trade requires trust in:
      • Accurate price execution
      • Fair order processing
      • Complete transaction transparency
      • Protection from front-running
  3. Payment Processing
    • A single card transaction involves multiple trust points:
      • Your bank's fund release
      • Payment network's processing
      • Merchant bank's acceptance
      • Various intermediary handlers
  4. Financial Services
    • Traditional finance gatekeepers control:
      • Access to financial products
      • Service availability
      • Account approval processes
      • Transaction limits

The Global Trust Divide

In developed economies, trust in financial institutions is often taken for granted. However, recent history has shown that no financial system is immune to crisis:

Developing Economies Face:

  • Hyperinflation and currency collapses (Venezuela, Zimbabwe)
  • Sudden bank nationalizations
  • Rampant financial corruption
  • Arbitrary asset seizures and capital controls
  • Limited access to basic banking services

Developed Economies Experience:

  • Bank runs and failures (2008 Financial Crisis)
  • Account freezes during political unrest
  • Payment censorship
  • Trading halts during market volatility
  • Negative interest rates on savings accounts

Price Action Preceding Innovation

Ethereum paved the way for decentralized projects to bootstrap their funding rounds by issuing tokens in their 2014 ICO (Initial Coin Offering), leading to the ICO mania in 2017. Much has been documented about this time period as it was rife with scams and bewitching celebrities attempting cash grabs while the price of Ethereum soared to nearly $1500 and Bitcoin to almost $20,000.

In the following years, Ethereum crashed to less than $100, and Bitcoin fell to $3200 during the COVID drop in March 2020. Then it was up only, down only, then up only, and yada yada.

Price movements historically drive public interest in cryptocurrency. While the 2020 DeFi Summer coincided with Bitcoin's dramatic price recovery, this correlation mainly affected user adoption. Behind the scenes, developers had been consistently building and improving DeFi infrastructure since 2017, regardless of market conditions.

Defi Summer & The Standard Stack

As Bitcoin and Ethereum recovered during the remainder of 2020 after the COVID drop in March, something called DeFi Summer took off. This movement has been in the background since 2017. Protocols like Uniswap, MakerDAO, Curve, Yearn, and Aave took off on Ethereum, enabling the world's first decentralized lending, borrowing, and trading markets.

This period was rampant with innovation and, at the same time, speculation. Prices were rising at unsustainable rates, and some protocols were failing while their tokens were going to zero. Ecosystems have collectively evolved to establish a core set of essential financial services that are now considered fundamental building blocks.

These services typically include:

  1. Decentralized Exchanges (DEX) for token swapping
  2. Lending and borrowing protocols
  3. Liquidity pools and yield farming
  4. Stablecoin mechanisms
  5. Asset bridging solutions

They form what's known as the "DeFi stack" - a foundational layer that new blockchains must implement to be considered viable for modern decentralized applications. When a new blockchain launches, developers typically prioritize building these core services first, which explains why you'll find similar protocols (like Uniswap-style DEXes or Aave-like lending platforms) replicated across different blockchain ecosystems.

Case Study

To truly understand crypto, you need to participate in on-chain transactions.

Let's compare aspects of the trade process at ETrade, one of the world's largest centralized exchanges (CEX), vs. Jupiter Aggregator, Solana's most advanced decentralized exchange (DEX). Jupiter is not just a DEX; it is an aggregator of different DEXes.

If you submit a trade and Jupiter finds two ways to do it, you'll be presented with the option that offers the better deal.

ETrade vs Jupiter Aggregator Comparison

Feature ETrade (CEX) Jupiter (DEX)
Account Setup Complex account opening process (documentation, verification) Simple wallet connection
Trading Timeline Multi-day waiting periods Immediate trading capability
Availability Limited trading hours 24/7 operation
Custody Centralized custody and market makers Non-custodial
Market Making Payment for order flow (PFOF) model Automated market makers (AMMs)

Conclusion

DeFi is powerful, yet it is still only a toddler, and there are growing pains. There have been dozens, if not hundreds, of blockchain applications and exploits, and if you want to get involved, you need to know what you're doing. The remainder of this course focuses on the media's media's buzzwords – NFTs and DAOs. What is essential to consider is these sub-industries within crypto are just logical extensions of what DeFi can do.

Consensus methods are the foundation of blockchains.

Blockchains are the foundations of DeFi.

DeFi is the foundation of everything else.