# Blockchain Introduction
2021 Fall, CSIE 5300, Tue A:18:30-19:20, BC:19:30-21:10, at DT 德田 R105 or R104 depending on the class size.
We adopt [NTUCOOL](https://cool.ntu.edu.tw/courses/9248) in class but no remote lectures except the first 3 weeks or requested by the University.
[:point_up:](/4B8EfN00SrisMcrKis_m9g) up layer
[:point_left:](/nDaYbk-eSB-r3qm29QAZiw) last year
==還要選修的同學請 email cwhsueh@csie.ntu.edu.tw, 若有多的座位, 開放旁聽, 旁聽還是要依照疫情需求登記座位.==
## Forum
* [Lecture Notes](/nGudFv29Qje2JRnMQ7vQ9Q)
* [Myth Correction](https://hackmd.io/q5oRmL0YSzy99zdfsBbKFw)
* [Neutral Number Theory](https://hackmd.io/QMdKVF_0R3WpBTopqkt-TQ?view#Neutral-Number)
* [Benevolence License](/KpMx2d-wQd2t_gwQ97D9Cg#Benevolence-License)
* [OurForum](https://hackmd.io/_1GglHblRlu8fICR-koWFA?view), [Blockchain Forum](https://hackmd.io/Nv9zOaytT0ukfa6dA3YWWw?view)
## Announcement
* 0912: Please group in 3-5 students. CSIE_guest WiFi access will be posted in NTUCOOL.
修課人數限於80人, 因為疫情規定且本課程需要實體上課才能真正有效討論. 請真正想要學習並願意貢獻於區塊鏈的同學第一堂課來瞭解課程內容後再決定加退選, 我可以提供解決區塊鏈及其應用大部分問題的方法(包含目前無解), 需要花點力氣才能學好並有所貢獻! 歡迎挑戰(別踢館), 請準備好誠心正意地接受不同的觀念. 很多問題我可能沒聽過, 你清楚說明問題, 也許我也可以解決. 如果我一時解決不了, 相信我們改天可以解決. 疫情期間排座位恕無法旁聽, 為了落實學習, 不提供錄影, 請參閱投影片, 並自行記錄心得!
已經選到課的同學請在 NTUCOOL 分組, 3-5人一組, 其他人請在[Lecture Notes](/nGudFv29Qje2JRnMQ7vQ9Q) 找分組同學, 分好組且有期末專題構想的請寄email 附上所有組員 ID 給我 (cwhsueh@csie.ntu.edu.tw), 構想好的可優先加選到70人為止. 剩下10名額預留為特殊狀況處理
* 0928: Lectures begin at U Webinar, 18:30-21:10 https://u.cyberlink.com/meeting/622299155
* 1005: 改用 Google meet https://meet.google.com/otb-szzx-uhv, 18:30-21:10, 請準備好能開攝影機, 大家認識一下.
* 1012: 還是線上, https://meet.google.com/kux-xunv-fiu
* 1019: 實體上課, R105.
* 0118: 線上進行, https://meet.google.com/ifm-vzob-hhz
## Homework
* Download Bitcoin/OurChain source code, compile it, and run it.
* Suppose many people throw many-face dices in many rooms. The one with the hash value of the number thrown and room ID less than or equal to some number target wins, i.e. SHA256(number thrown, room ID) ≤ target. How do we estimate how many times the winner threw?
* Each team discusses how to build a paper tower with 10 A4 used paper in 10 minutes using only hands, with no tape, glue, knife … The higher, the better. Send a photo < 3MB and a text file, the smaller, the better, (to a blockchain) to prove your work.
## Projects
* B-Chain, Benevolence Blockchain with hidden lock
* Forum
* Browser
* Consensus
* TPS
* Hot/Cold IPFS
* GDPR
* Return Policy
* Cash/Interest
* Cross Chain
* Distributed Exchange
* Liquidity
* Barter
* OurChain
* STO, ORC, NFT
* ZKContract
* Lightning Network
* Offline Transaction
* GrandChain
* 祖鏈, 公公鏈
* ChainFoundry
* ChainBook
* ChainProject
* Autonomous Certificate
* Autonomous ID
* B-Project
* Fintech
* Insurtech
* Regtech(法遵)
* Legaltech(法律)
* Suptech(監理)
### Reports
## Scores
Grading (subject to change):
```
● participation +-5%
● proposal 5% Please post your proposal in your team page
● Forum Discussion 10% Team Leader/Member Campaign
● take-home midterm 20% by individual (peer-scoring co-verify)
● Presentation 10% (peer-scoring)
● project result 40% (50% peer appraisal)
● Project report 15%
```
# Documents
* [Course Outline](/W8NgS2hBQ1ma5Y18rYPX1A)
## Slides
* Look up in NTUCOOL. The abstracts of slides have more references.
## References
* [Bitcoin wiki](https://en.bitcoin.it/wiki/Main_Page), [source code, BIPs](https://github.com/bitcoin)
* [Mastering Bitcoin 2nd Edition - 繁中](https://github.com/ChenPoWei/bitcoinbook_2nd_zh/blob/master/README.md), English one can be found therein.
* [Mastering Ethereum - 繁中](https://github.com/ChenPoWei/ethereumbook_zh/), English one can be found therein.
* [區塊鏈原理設計與應用](https://poweichen.gitbook.io/blockchain-guide-zh/)
* Distributed Systems, concepts and design, Fifth Edition, George Coulouris, Jean Dollimore, Tim Kindberg, Gordon Blair, 2012
* Distributed Systems, design concepts, Sunil Kumar, 2017
* 區塊鏈革命, [2017](https://www.books.com.tw/products/0010753736), [2018](https://www.books.com.tw/products/F014192806).
* [related Talks](http://goo.gl/jHZL3T)
* [OurChain related](/2sQMDW3RRLaubAuXdKPImQ)
* [build OurChain line by line](https://hackmd.io/Bo8C0LogQfmq_eSuOExr0w)
* Media
* https://www.quora.com/
* https://medium.com/
* https://www.chainnews.com/
* Tools
* [Bitcoin block explorer](https://www.blockchain.com/explorer)
* [Ethereum block explorer](https://etherscan.io/)
* [CC market cap charts](https://coinmarketcap.com/charts/)
* [Bitnodes](https://bitnodes.earn.com/nodes/)
* [Bitcoin Developer Guide](https://bitcoin.org/en/developer-guide)
## Office Hour DT 322 after the 3rd week
Tue 2:00-5:00 PM
Tur 2:30-4:00 PM
Or by appointment.