1: Introduction and Overview of DeFi
Explore the transformative world of Decentralized Finance (DeFi), where financial services operate on blockchain technology without traditional intermediaries. Understand its core properties, technology stack, and the potential impact on global finance.
2: Introduction to Blockchain Technology
This chapter delves into the foundational concepts of blockchain technology, tracing its evolution from Bitcoin's inception to modern scaling solutions and cross-chain interoperability that are shaping the future of decentralized finance.
3: Introduction to Traditional Finance
Explore the foundations of traditional finance systems, understanding how banks, markets, and intermediaries operate. Learn about the structure, mechanisms, and limitations of conventional financial services that DeFi aims to transform.
4: Introduction to Smart Contracts
Dive into smart contracts, the foundational technology powering DeFi. Learn how programmable contracts execute automatically on blockchains, enabling trustless financial applications and decentralized protocols.
5.1 Introduction to Decentralized Exchanges
Understand the evolution from traditional order book exchanges to automated market makers. Learn how DEXs revolutionize trading through smart contracts and liquidity pools.
5.2 Constant Product Market Makers: The Uniswap Model
Deep dive into the constant product formula (x*y=k) that powers Uniswap. Learn the mathematics behind automated market makers, price determination, and how liquidity pools work.
5.3 The Economics of Liquidity Provision
Understand the economics of being a liquidity provider. Learn about impermanent loss, fee generation, risk-return tradeoffs, and strategies for profitable liquidity provision in DeFi.
5.4 Arbitrage and Price Discovery in AMMs
Learn how arbitrageurs keep AMM prices aligned with markets. Understand arbitrage mechanics, flash loans, multi-hop strategies, and why arbitrage is essential for AMM functionality.
5.5 Beyond Constant Product: Generalizing AMMs
Explore advanced AMM designs beyond the constant product formula. Learn about Curve's StableSwap, Balancer's weighted pools, Uniswap v3's concentrated liquidity, and how different invariant curves optimize for specific use cases.
5.6 StableSwap and Trading Similar Assets
Deep dive into Curve Finance's StableSwap algorithm. Learn how combining constant sum and constant product formulas creates the most efficient AMM for stablecoins and pegged assets.
DeFi Fundamentals: Mastering Decentralized Finance
Master the fundamentals of Decentralized Finance (DeFi) and learn how blockchain technology is revolutionizing traditional financial services through permissionless protocols and smart contracts.