Announcements
Mid-term examination: Week 10.
How to ask questions
[IERG5590].
Use your institutional address to reduce the chance of your email being filtered.
Contacts (both under the ie.cuhk.edu.hk domain)
Teaching Assistant: py022
Weekly structure
-
Week 1: Course model, decentralization, and trust
W1Why blockchain is not merely a database topic. Trust distribution, adversarial thinking, and the role of cryptography in systems without a single trusted operator.
focus: problem setting keywords: decentralization, trust, cryptography outcome: course mental model -
Week 2: Bitcoin and blockchain basics
W2Blocks, transactions, hash chaining, proof of work, validation, and the basic logic of the Bitcoin system. This week fixes the vocabulary used later in the course.
focus: base-layer mechanics keywords: blocks, PoW, transactions outcome: common language -
Week 3: Variants, forks, and mining incentives
W3Altcoins, proof-of-space style variants, hard versus soft forks, mining pools, and selfish-mining style incentive issues. The point is to see which parts are engineering choices and which parts are structural.
focus: protocol evolution keywords: forks, pools, incentives outcome: design trade-offs -
Week 4: UTXO model and smart contracts
W4UTXO as state, transaction validation, txid stability, SegWit motivation, script templates, and the shift from UTXO execution to account-based smart-contract platforms with gas and re-entrancy risk.
focus: execution model keywords: UTXO, txid, gas, re-entrancy outcome: model comparison -
Week 5: Public-key cryptography I
W5History and motivation of public-key cryptography, Diffie-Hellman key agreement, modular arithmetic, multiplicative groups, discrete logarithm, and the CDH/DDH viewpoint. The goal is to build the algebraic language needed for the signature systems used later.
focus: PKC foundations keywords: DH, DLP, CDH, DDH, groups outcome: algebraic toolkit -
Week 6: Public-key cryptography II
W6Public-key signatures and related constructions, including Schnorr, DSA, ECDSA, public-key recovery, RSA, pairing-based cryptography, BLS, threshold signatures, multisignatures, and rogue-key attack.
focus: signatures keywords: Schnorr, ECDSA, RSA, BLS, threshold, multisig outcome: signature design space -
Week 7: Privacy-enhancing signatures
W7How signatures can provide privacy rather than only authentication. Topics include pseudonymity versus unlinkability, confidential transactions, blind signatures, ring signatures, linkable ring signatures, and the zero-knowledge(ZK) viewpoint behind privacy-preserving signature constructions.
focus: signatures with privacy keywords: blind signatures, linkable ring signatures, ZK outcome: how privacy coins use signatures -
Week 8: Privacy in blockchain systems
W8Pseudonymity limits, privacy goals, mixers, and private-transaction systems such as RingCT, Zerocoin, and Zerocash. Accumulators and zero-knowledge ideas appear here as system tools rather than as detached theory.
focus: privacy mechanisms keywords: mixers, Zerocoin, Zerocash, accumulators outcome: privacy threat model -
Week 9: Payment channels and off-chain protocols
W9Why off-chain protocols are needed, how payment channels work, and which assumptions are shifted rather than removed. The emphasis is on protocol logic, dispute handling, and the trust boundary between on-chain enforcement and off-chain interaction.
focus: off-chain scaling keywords: payment channels, off-chain protocols, disputes outcome: scaling trade-offs -
Week 10: Brief project introduction and mid-term
W10Brief introduction to the possible directions for the project. The mid-term is also scheduled in this week.
keywords: project topics, mid-term -
Week 11: Privacy-preserving payment channel network
W11Privacy-preserving layer-2 approaches for retail payment (LDSP@ICDCS21) and atomic off-chain payments with on-chain settlement.
focus: privacy mechanisms keywords: mixers, blind signatures, randomizable signatures outcome: scaling privacy-preserving layer-2 solutions -
Week 12: Invited talk 1, and CBDC
W12Safeguarding the Web3 Fintech Ecosystem Across the Full Stack
by Prof. Daoyuan Wu(Interested students may refer to the GPTScan paper for possible final course project ideas: Its current implementation may also serve as a starting point for extending vulnerability rules and detectors.)
The "regular" lecture is on privacy-preserving central bank digital currency.
focus: invited perspective keywords: web3, fintech, full stack, code outcome: exposure to an external research -
Week 13: Invited talk 2, and MEV
W13Understanding Security and Compliance Risks in Stablecoins
by Prof. Yajin Zhou
Introduction to stablecoins: fundamental concepts, key security risks, e.g., smart contract vulnerabilities, depegging events, and attack surfaces in DeFi integrations, emerging compliance and regulatory challenges, e.g., anti-money laundering (AML)The "regular" lecture is on maximal extractable value attacks, their defenses, and presentation tips.
focus: security & compliance keywords: stablecoins, DeFi, AML, depegging outcome: evaluate attack surfaces and regulatory challenges of pegged assets -
Week 14: Student Project Presentations (Preliminary)
W14Preview version of the research-project presentation
focus: learn how to teach; learn from each other
Sample project directions
- Security analysis of off-chain protocols, escrow protocols, or channel variants.
- Privacy-preserving cryptocurrency design, including mixer or zero-knowledge based mechanisms.
- Transaction-level cryptography for blockchain, such as multisignature, threshold, or adaptor-signature variants.
- Critical study of smart-contract trust boundaries, oracle assumptions, or MEV-related incentive failures.