區塊鏈開發與金融科技
Blockchain Development and FinTech
| 節 | 週二 |
|---|---|
A 18:30–19:20 | 區塊鏈開發與金融科技 EC329 3 節連堂 |
B 19:30–20:20 | |
C 20:30–21:20 |
* 根據陽明交大上課時間表所列
授課教師:李嵩聲(Quantstamp Head of Developer Relations / Senior Research Engineer) 課程概述與目標: Blockchain technology enables a publicly verifiable ledger to exist on top of the internet. Started as a grassroots movement from cryptographers, it now has become a valid infrastructure for financial assets. In this course we quickly go over the history and basic concepts of blockchain, and dive deep into smart contract development on EVM, the dominant smart contract execution environment that has been adopted by most chains. Along the way, we will discuss different financial infrastructures that have been built and how they have been attacked. Finally, we will touch on concepts outside of smart contract development such as MEV, Layer 2, Privacy that are being push forward in the blockchain industry. 區塊鏈科技使得公開可驗證帳簿之基礎設施得以存在於網路上。由密碼學家的草根運動開始的區塊鏈科技現已經成為重要而不可忽視的金融系統基礎設施。在這個課程中我們會從區塊鏈的緣起以及基本概念介紹起,然後藉由已經在鏈上存在的應用程式來深入探討基於EVM的智能合約開發。最後我們會快速介紹在智能合約開發以外的重要且正在被推進的觀念,如 MEV、Layer 2、隱私等等。
資料結構、演算法
1. 學期作業 每週實作 + 期末專題 2. 考試狀況 隨堂小考 3. 評量方法 Final Projects 35% each Lab 35% Class Participation and Quiz 30%
| 週次 | 主題 |
|---|---|
| 第 1 週 | Intro to cryptography and cryptocurrencies* Basic Cryptography concepts required* Overview of the industry, the scope of our learning |
| 第 2 週 | Bitcoin (PoW, UTXO) & amp amp Ethereum (PoS, account, gas) & amp amp Fork (BIP and EIP)* The security model behind PoW and PoS* Why gases are needed in Turing Complete Blockchains* How do blockchains upgrade? * Tradeoffs of important improvement proposals (e.g. Scaling) |
| 第 3 週 | Support Infrastructure - Wallet, Centralized Exchange, API provider* What is a wallet* What is a smart contract wallet* Understanding the role of Centralized Exchange and how it is NOT blockchain* Understanding how interactions with blockchains are facilitated by API providers and what risks do they bring. |
| 第 4 週 | Introduction to EVM* Computation model of EVM* Important features of EVM |
| 第 5 週 | Introduction to Solidity (solc, hardhat/foundry) and ERC20* Introduction to the Solidity basic syntax* Using development framework Hardhat / Foundry* Learning the concept and importance of ERC20 |
| 第 6 週 | Centralized Stablecoin & amp amp Oracle* Learning to use OpenZeppelin library to implement ERC20* Understands what Oracle does and its limit |
| 第 7 週 | Dapps (Structure of Dapps) & amp amp Fungible Asset Exchange: ICO, Token upgrade, DEX* The architecture of a basic DApp. * UniswapV2 basic concept* Building Basic Asset Exchanges |
| 第 8 週 | The balance between centralized and decentralized: Upgradeability, Timelock, and MultiSig* Understanding Upgradability patterns in EVM. (Immutable code doesn’t mean the functions cannot change!)* Understanding common patterns in On-chain governance & amp amp execution: Timelock contracts and MultiSig contracts |
| 第 9 週 | Midterm Proposal |
| 第 10 週 | Decentralized Stablecoin - MakerDAO* System architecture of MakerDAO*Understanding the classic liquidation mechanism |
| 第 11 週 | Lending Protocol & amp amp Flashloan* Architecture, Risks, and variations of Lending Protocol* Understanding Flashloan: How to borrow millions of funds with no collateral and return in back in 1 transaction. |
| 第 12 週 | Yield Aggregating protocols* Architecture, risks, and variations of Yield aggregating protocols* Historical attacks on yield aggregators with flash loans |
| 第 13 週 | Options protocol* Architecture, risks, and variations of options protocols |
| 第 14 週 | Overview of important topics outside of Defi: MEV, Scaling, Privacy (1)* What is Miner Extractable Value* Why do we need to scale blockchain and how we are doing now |
| 第 15 週 | Overview of important topics outside of Defi: MEV, Scaling, Privacy (2)* Why privacy is important and the state of privacy now on Blockchain apps. |
| 第 16 週 | Final Project Presentations - 1 |
| 第 17 週 | |
| 第 18 週 |
講師自行準備上課講義