Blockchain, Crypto and Defi Bridging Finance and Technology
"This book is a definitive, exhaustive resource on blockchain technology and crypto/DeFi that bridges academic theory with real-world applications and coding practices. There is a growing need for a such a book that could be used to teach a course on blockchain. This one offers the flexibility...
Otros Autores: | |
---|---|
Formato: | Libro electrónico |
Idioma: | Inglés |
Publicado: |
Hoboken, New Jersey :
John Wiley & Sons, Inc
[2025]
|
Edición: | First edition |
Materias: | |
Ver en Biblioteca Universitat Ramon Llull: | https://discovery.url.edu/permalink/34CSUC_URL/1im36ta/alma991009852333006719 |
Tabla de Contenidos:
- Cover
- Title Page
- Copyright Page
- Contents
- Preface
- Acknowledgments
- Chapter 1 Chain Reactions: From Basement Miners to Blockchain Revolutionaries
- Preface
- 1. Introduction
- 2. Blockchain in 16 Questions
- 1. Isn't blockchain just a database like an Excel file?
- 2. What Is a Hash?
- 3. What Is a Block?
- 4. What Is a Merkle Tree? How Is the Merkle Root Calculated?
- 5. Why Are Transactions in Blocks?
- 6. What Is a Node and a P2P Network?
- 7. What Is a Consensus Mechanism?
- 8. How Does Bitcoin Fit into This?
- 9. Who Are Miners? And What Do They Do?
- 10. Why Are They Doing All of This Work?
- 11. Putting All of These Elements Together, How Does PoW Work?
- 12. What Happens If Two Blocks Are Mined at the Same Time?
- 13. What Prevents People from Double Spending Their Digital Currency?
- 14. What Would It Take to Tamper with a PoW Blockchain?
- 15. How Are Transactions Selected to Be Included in a Block?
- 16. What Happens If the Wrong Transaction Is Submitted?
- 3. Where It All Started: Bitcoin
- History of Bitcoin: Early Concepts
- Who Is Satoshi Nakamoto?
- Timeline of Bitcoin
- 2009: Creation
- 2010-2012: Early Days of Bitcoin
- 2013-2016: Bitcoin's Expansion and Turbulence
- 2017-2021: Mainstream Adoption and Market Volatility
- 2022: Regulatory Challenges and Market Corrections
- 2023: Resilience and Institutional Integration
- Is Bitcoin the digital gold?
- Ownership and Identity
- 4. Isn't It Too Slow and Clunky to Be Used for Payments? Enter the Lighting Network
- 5. Energy Consumption
- 6. Concluding Remarks
- Coding Exercises
- Creating Blockchain on Python
- End-of-Chapter Questions
- Multiple-Choice Questions
- Open Questions
- Chapter 2 Ethereum: The "Windows" to the Blockchain Universe-Now Loading Smart Contracts and Oracle Magic
- Preface
- 1. Introduction.
- Historical Background
- 2. Ethereum 1.0: Key Concepts
- 3. Ethereum 2.0
- The Beacon Chain
- The Merge: When Two Become One
- Sharding
- How Sharding Works
- Consensus Algorithm: Proof of Stake
- Staking: The High Roller's Game
- Consensus Mechanism: The Art of Blockchain Politics
- Rewards and Penalties: The Carrot and the Stick
- The Ghost of Inaction: Nothing at Stake Problem
- The Battleground of Network Security
- Economic Incentives
- Unintended Consequences: The Aristocracy of Cryptocurrency
- Ethereum Improvement Proposals (EIPs)
- 4. Burn‐and‐Mint Model
- Transaction Fees Before EIP‐1559
- The Mechanics of EIP‐1559
- Example of Burn and Mint in EIP‐1559
- Impact of EIP‐1559
- Dynamic Burn‐and‐Mint
- 5. Ethereum as an Operating System: Smart Contracts
- Development Platforms
- The Birth of Smart Contracts
- 6. Important Components of Smart Contracts: Oracles
- Beyond the Veil of the Blockchain
- The Trust Conundrum
- What can go wrong?
- 7. Latest Developments in Ethereum: Account Abstraction
- What Is Account Abstraction?
- 8. Concluding Remarks
- End‐of‐Chapter Questions
- Multiple‐Choice Questions
- Open Questions
- Blockchain Explorer Project
- Exercise 1: Viewing Blocks
- Exercise 2: Viewing Transactions
- Exercise 3: Viewing Accounts
- Exercise 4: Using the API for Data Analysis
- Chapter 3 Beyond Ethereum: A Gas-Guzzling Escape to the Holy Grail of Scalability
- Preface
- 1. Introduction
- 1.1 Layer 1 Scalability Solutions
- 1.2 Layer 2 Scalability Solutions
- 1.3 Blockchain 3.0
- 2. Layer 2 Solutions: How Do They Work?
- 2.1 State Channels
- 2.2 Plasma: Scaling Ethereum Through Hierarchical Blockchains
- 2.3 Sidechains
- 2.4 Rollups
- 2.5 Zero-Knowledge Rollups (ZK-Rollups)
- 3. Alternative Blockchains (Ethereum Competitors)
- 3.1 Polygon
- 3.2 Solana
- 3.3 Cardano
- 3.4 Polkadot.
- 4. Cross-chain Interoperability
- 4.1 Bridges
- 4.2 Layer Zero
- 5. Concluding Remarks
- End-of-Chapter Questions
- Multiple-Choice Questions
- Open Questions
- Exercise 1: State Channel Implementation
- Exercise 2: Rollup Contract for Batch Transactions
- Exercise 3: Cross-chain Asset Transfer
- Exercise 4: Plasma Chain Contract
- Exercise 5: Implementing a DAO with Layer 2 Scaling
- Chapter 4 Riding the Crypto Rollercoaster: How Stablecoins Keep Their Cool
- Preface
- 1. Introduction
- 2. Stability Mechanisms
- 2.1 Gold-Backed Stablecoins
- 2.2 Crypto-Backed Stablecoins
- 2.3 Algorithmic Stablecoins
- 2.4 Fiat-Backed Stablecoins
- 3. Concluding remarks
- End-of-Chapter Questions
- Multiple-Choice Questions
- Open Questions / Numerical Exercises
- Coding Exercises
- Exercise 1: Implement a Basic Stablecoin Smart Contract
- Exercise 2: Analyzing Stablecoin Price Stability
- Exercise 3: Simulate a Stablecoin Collateralization Mechanism
- Exercise 4: Smart Contract for Algorithmic Stablecoin
- Exercise 5: Stablecoin Transaction Analysis
- Chapter 5 The CBDC Saga: Rewriting the Rules of Money
- Preface
- 1. Introduction
- 2. How to Design it?
- 2.1 Retail CBDCs: Democratizing Digital Currency Access
- 2.2 Wholesale CBDCs: Streamlining Interbank Operations
- 2.3 Single-Tier or Two-Tier Systems
- 2.4 Account-Based or Token-Based CBDC
- 2.5 Balancing Act: Navigating the Trade-Offs
- 3. Detailed Examples of CBDC Initiatives
- 3.1 Different Approaches and Challenges
- 4. Technical Challenges in Implementing CBDCs
- 5. New Monetary Policy Transmission
- 6. Who Opposes the Introduction of CBDCs?
- 7. Concluding Remarks
- End-of-Chapter Questions
- Multiple-Choice Questions
- Open Questions
- Coding Exercises
- Exercise 1: Creating a CBDC with a Variable Interest Rate (Solidity).
- Exercise 2: Privacy-Preserving CBDC Transactions (Solidity)
- Exercise 3: Implementing a Tiered Interest Rate System for CBDC (Solidity)
- Chapter 6 Money Grows on Distributed Trees: The DeFi Forest of DAOs and DApps
- Preface
- 1. Introduction
- 2. Key Benefits of Making Finance Decentralized
- 3. Overview of DeFi Protocols
- 4. Decentralized Autonomous Organizations (DAOs)
- 4.1 A Little Bit of History: The DAO
- 4.2 How Does a DAO Work?
- 5. Traditional Finance vs. DeFi Lending
- 5.1 Real Examples and Impacts
- 5.2 Utilization Rate and Interest Models
- 6. Case Study: Lending in the Digital Age: The Compound Blockchain Solution/with permission of President &
- Fellowsof Harvard College
- 7. AAve
- 7.1 How Flash Loans Work
- 8. Concluding Remarks
- End-of-Chapter Questions
- Multiple-Choice Questions
- Numerical Exercises
- Exercise 1: Understanding Over-Collateralization
- Exercise 2: Flash Loan Arbitrage Opportunity
- Open Questions
- Coding Exercises
- Exercise 1: Deploy a Simple Lending Contract
- Exercise 2: Implement a Borrowing Functionality with Collateral
- Exercise 3: Create a DAO for Lending Protocol Governance
- Chapter 7 The AMM Time Machine: Back to the Future of Finance
- Preface
- 1. Introduction
- Traditional Financial Markets
- 2. The Core of AMM Mechanics
- 2.1 Advantages of AMMs
- 2.2 Market Manipulation and Attacks
- 2.3 Liquidity Providers and Impermanent Loss
- 3. What Is Better: AMMs or Traditional Markets?
- 3.1 Limitations on Price Discovery
- 3.2. Adverse Selection and Liquidity Providers
- 3.3 Which Is Better Then?
- 4. Prominent Protocol: Uniswap
- 4.1 Uniswap V3: Concentrated Liquidity and Innovation
- 4.2 Uniswap V4
- 4.3 Additional Trading Strategies
- 5. Other Prominent AMMs
- 5.1 Prominent Protocol: Curve Finance
- 5.2 Prominent Protocol: Balancer Overview.
- 6. Concluding Remarks
- End-of-Chapter Questions
- Multiple-Choice Questions
- Open Questions
- Numerical Exercises
- Exercise 1: Calculating Price Impact in an AMM
- Exercise 2: Understanding Impermanent Loss
- Coding Exercises
- Appendix
- Chapter 8 Liquidity Pools: Dive Deep into the Ocean of DeFi (Lifebuoys Not Included)
- Preface
- 1. Introduction
- 1.1 The Bigger Picture Within DeFi
- 1.2 The Advent of Liquidity Provision
- 1.3 The Emergence of Yield Farming
- 2. How to Build a Liquid Market?
- 2.1 Differences and Complementarities in a Nutshell
- 3. The Curve Wars
- 3.1 More Details about the Underlying Economic Incentives
- 3.2 The Bribing System and Its Implications
- 4. Economic Implications and Game Theory
- 4.1 Tokenomics Implications
- 4.2 Renting vs. Owning Liquidity
- 4.3 Sustainability of Rewards
- 4.4 Impact on Token Distribution
- 5. Liquid Staking
- Summary
- 6. Concluding Remarks
- End-of-Chapter Questions
- Multiple-Choice Questions
- Open Questions
- Coding Exercises
- Exercise 1: Liquidity Mining Rewards Distribution Smart Contract
- Exercise 2: Yield Farming Strategy Simulation
- Exercise 3: Liquid Staking Contract with Reward Optimization
- Chapter 9 The Tokenization Transformation from Wall Street to Your Street
- Preface
- 1. Introduction
- 2. How does it work?
- 2.1 Key Benefits
- 2.2 What is the achievable market?
- 2.3 The MakerDAO Transition toward RWA
- 2.4 Art Tokenization Example
- 3. Completing the Security Market Line
- 3.1 Isn't this just a fancy way of reinventing ETFs?
- 3.2 Private Markets
- 4. On-Chain vs. Off-Chain Tokenization
- 4.1 Mortgages
- 4.2 Saving the Environment
- 4.3 Tokenizing IP
- 4.4 Synthetic Assets
- 5. Satoshi's Vision?
- 6. The Path Forward
- End-of-Chapter Questions
- Multiple-Choice Questions
- Open Questions
- Coding Exercises.
- Exercise 1: Creating a Basic ERC-20 Token.