httpsgoogljHZL3T 2019 區塊鏈技術發展與產業應用座談會 淡江大學產業經濟系 薛智文副教授 cwhsuehcsientuedutw 20191220 1 38 2018 May 03 治好您的區塊鏈恐慌症 ID: 778308
Download The PPT/PDF document "區塊鏈的落地 : 以國家數位貨..." is the property of its rightful owner. Permission is granted to download and print the materials on this web site for personal, non-commercial use only, and to display it on your personal computer provided you do not modify the materials and that you retain all copyright notices contained in the materials. By downloading content from our website, you accept the terms of this agreement.
Slide1
區塊鏈的落地: 以國家數位貨幣、供應鏈金融、與電力碳權交易為例https://goo.gl/jHZL3T 2019 區塊鏈技術發展與產業應用座談會淡江大學產業經濟系
薛智文副教授
cwhsueh@csie.ntu.edu.tw
2019.12.20
Slide21/382018 May 03,治好您的區塊鏈恐慌症 Cure Blockchain Panic Disorder 2018 Jul 28,一語道破區塊鏈的前世、今生與未來 Blockchain In a Word2018 Nov 15,運用在本行的業務 Apply In My Business2019 Jun 05,
壓軸!那些對的、錯的,以及應該掃進歷史塵埃裡的
Finale, The Right and Wrong and To-be-Wiped Out
曾經的過高期待
Past
Overexpectation
Slide3/382
相關單位、人員與活動
長官
行政院
/部長 主委 處長市長 校長 研發長…教授在職,
轉職
,
退休
學生
博士後 研究生 大學生 國高中生家長跨校(國)
經紀人贊助商新創創投天使銀行協(學)會機關公司
立委記者名嘴講員親友神秘客台商
TalkPanelSummitBook/JournalRadioVentureVisitLectureDiscussion
少數人
:
很敢
(
吹、騙、吃、殺
)
多數事
:
為少數人與五斗米折腰
自主共享、眾志成城超難
團結行動
:
真相論壇
Slide4/38… 忠孝仁愛 信義和平 … 德peerto peerconsensusproof of work3 blocks
public chain
autonomous
distributed
X
信
private chain
3
老子
38
章—上德不德 是以有德 … 故失道而後德 失德
而後仁 失仁而後義 失義而後禮夫禮者忠信之薄 而亂
之首 金剛經—一切聖賢皆以無為法而
有差別
Slide5/99
/28
4
確權溯源
時窮節乃見
自主共享
一一垂丹青
德有以是德不德上
4
落地
Realize
Slide6迷思 Myth/38去(低)中心化(De)Centralization區塊鏈/分散式帳本 Blockchain/DLT 1.0/2.0/3.0/4.0實名/匿名Real Name/AnonymityGDPR公/私/聯盟 鏈Public/Private/Consortium Blockchain
…
…
…
…
…
…
…
…
…
每秒交易
TPS
Scalability
5
不可竄改
Immutable
最終性
Finality
代幣
Token
貨幣化
Monetization
以物易物
Barter
共產主義
Communism
加密
貨幣
/
立委
/
島
Cryptocurrency/
Legislator/Island
Slide7貨幣/99非現金貨幣準貨幣
定存
外幣
儲蓄存款
其他信用
電子貨幣
2
悠遊卡
一卡通
里程卡
金融卡儲值卡籌碼…
瑞波幣支付寶Paypal…M0≈通貨M1≈M0+活存M2≈M1+定存
註1: 信用卡事後才付款, 常不被視為是貨幣。 註2: 也有電子貨幣分類不包含數位貨幣。虛擬貨幣第一類遊戲幣天幣…
第三類密碼貨幣
比特幣以太幣狗狗幣
…
第二類
點數
P
幣
…
數位貨幣
6
現金
活存
信用卡
1
古幣
?
Slide8BlockChain:.Distributed Ledger Technology Trust MachineTransaction Operating SystemTrusted, Distributed, Real-Time /38
PoW
Consensus
Cryptocurrency
Smart Contract
Level-DB
IPFS
Priority Scheduling
Single
tasking
Distributed File System
Memory
UTXO
MemPool
CSIE(OS, AI), Network,
Cryptography, Math, Probability, Statistics, Politics,
Economics
, finance,
MBA, Psychology, Criminology
…
Domain
Knowhows
Yet To Come
7
資訊
(OS, AI),
網路
,
密碼
,
數學
,
機率
,
統計
,
政治
,
經濟
,
金融
,
企管
,
心理
,
犯罪
…
各行業專業知識
方興未艾
Slide9/38
4900
+
blockchains/altcoins
Open Source
R3
Patented
…
…
…
…
…
…
…
…
…
OurChain
Microsoft Azure Bletchley
8
Slide10/99Currency = f (Culture)Money Trusted Currency賭具
9
Slide11/9910
Slide12ProblemsImmutable, CAPTransaction global order, finalitydelay, network timecostPrivacyIdentificationMoney laundryEconomics (lost)Politics水清則無魚!/38
Non-problems
Immutable,
CAP
AttacksDouble-spending, Selfish mining
Sybil Attack
Eclipse Attack
Data is not encrypted
Energy consumption
> 25M USD/dayCapitalism, Distributed/RedistributedTransaction Per Second < 10
Blockchain Size > 190 GBNo incentives to mine11To solve or not?
Slide13CAP Theory /41AtomicityConsistencyIsolationDurabilityBasically Available, Soft state, Eventually consistent
12
A
vailability
C
onsistency
P
artition Tolerance
-FLP impossibility 1985
-conjecture, Eric Brewer, UCB,
1998-proposed, PODC 2000-proven, Nancy Lynch and Seth Gilbert, MIT, 2002
Slide14PowerTimeStamp/38time
Global/Partial Ordering?
Computing Power
Pierre Simon Laplace
.
Théorie analytique des probabilités
. Courcier,
1820
.
Cheng
Yueh
, Algorithmic solutions and applications for robust estimating with scale-contaminated normal error function, NTU CSIE Master Thesis, 2018. Lamport,
L.,"Time, clocks, and the ordering of events in a distributed system". Communications of the ACM,1978.Mean Median13
Slide15OurChain Core/50OurShardingChainWallet
OurCoin
Reward
Profile
…
OurContract
C-
Store
Vote
Token
Certificate
…
ChainFoundryOurOracleTxcontract
segwit
lightning
Our
PoW
OurFinality
BitCoin
OurChain
Architecture
ContractStore
ChainID
OurExchange
OurCertificate
…
WeOS
BitCoin
Ethereum
IOTA
Hyperleger
…
OurDB
Facebook
OurChain
14
Slide16/50_AID (Self certified authentication)IDUUIDHashpublic key from password in localAutonomous ID
2
Default Index (for ad or image)
0
_AID
1
Selfie ID
2
OpenID
(Acer, Google, …)
3Chain ID4Official ID / Mobile ID5NTU ID, CAS…Bank ID (Sweden)
1111201133114312153416
5…Selfie ID (Self certified authentication)IDOfficial IDPhotoSelfieVideoSelfie
Chain ID (How the ID
is certified?
)
ID
BitCoin
Address (Auto change later)
ID System Index
Hash
Parameters
Autonomous ID
Official ID (Certified by Authorities)
Country
Nationality/District
ID
Social Security/Passport
NTU
ID
Account
Password
15
Slide17CryptocurrencyE-gold, 1996, Hashcash, 1997, B-money, Bit Gold 1998. Ripple 2005, not a cryptocurrencyBitcoin, Jan 3, 2009Success by accidence With smart contractCrypto Currency Andy Greenberg, Apr 20, 2011 ForbesCryptocurrencyMerriam-Webster Dictionary, Mar 2018加密貨幣、密碼貨幣、電子貨幣、數位(碼/字)貨幣、虛擬貨幣/99Oct 2008Bitcoin alone was a revolutionary concept — a math-based money and store of value, controlled by neither banks nor governments.
16
Slide18/99容錯密碼不可追蹤不可竄改去中心化TimestampPoWHash
Author
1982 BFT, ZK
◎
Leslie
Lamport
, Andrew Yao
1982 Internet payment
◎
◎David Chaum1985 ECC◎
Neal Koblitz, Victor Miller1990 eCash◎◎XDavid Chaum1990 Paxos
◎Leslie Lamport1991 Digital Document◎
Stuart
Haber,W
. Scott Stornetta
1992 ECDSA
◎
Scott Vanstone, …
1997
Hashcash
◎
◎
Adam Back
1998 B-money
◎
◎
◎
X
Wei Dai
1998 Bit
Gold
◎
Nick Szabo
2005 Reusable
PoW
◎
◎
◎
Hal Finney
2008 Bitcoin
◎
◎
◎
◎
◎
◎
◎
Satoshi
Nakamoto
技術演進
block
17
Slide19Weight/Way to Reach ConsensusProof of Work, PoW (Dicing)Prove sufficient large work doneWhy difficult to prove?absent, faking, fair, easy to verifyProof of Stake, PoS (Betting)Provide stake: wealth, age, asset, …DPoS: Delegate PoSPBFT, IBFT, AlgoRand (Voting)equal weight, scalabilityPractical/Istanbul Byzantine Fault Tolerant (BFT)/3818
Slide20挖礦 (Mining) by Finding a NonceSHA256(Block header, Random nonce) target (difficulty) /38
hash
交易
1
交易
2
區塊
i+1
nonce2
…
…
hash
交易
1
交易
2
區塊
i
nonce
…
…
hash
交易
1
交易
2
區塊
i-1
nonce
…
…
hash
交易
1
交易
2
區塊
i+1
nonce1
…
…
…
前導零
leading zero
解困難數學謎題
difficult math puzzle
19
Slide21部分應用 Some Applications投票、認證 、眾籌、紅利、結算、打賞、DNA、交易所、換匯、IOT、資產票證化法幣 (stable)幣:礦業、養雞、校園、宗教、公司、機關、醫療、旅行社票: 咖啡、溫泉物: 智慧佛珠、智慧城市遊戲 /50價值已漸漸出現
Value Emerging
20
Slide22/99用傳統資料庫多人可改資料大家相信彼此第三方可相信
多備份防攻擊
資料要有隱私
控制誰改系統
不需要區塊鏈
Yes
No
No
Yes
No
Yes
NoNo
YesYesNoNoYes
Yes
IEEE
Spectrum 10.17 2017 p.35 Morgen E. Peck
我要用區塊鏈
怎麼用區塊鏈
?
匿名
?
半匿名
?
實名
?
價值
?
挖礦
?
獎勵
?
可以用私鏈或
公私鏈
可以用
公鏈或
陪審
鏈
21
ZK
Slide23/9922姚期智「百萬富翁」設想走進現實:隱私計算技術,將是產業熱點?2019-07-26去中心圖靈完整
實用效能
Slide24/2023優點減少對美
(
外
)
元的依賴抵制美(強)國經濟制裁維護國內經濟平穩追求金融科技發展改善現有體系穩定現有貨幣體系
央行數位貨幣
-
什麼是
DCEP
?萬字讀懂中國央行數字貨幣運行全流程, 零壹智庫, 2019.10.29
疑慮擔心數位貨幣會破壞金融體系的穩定韓國擔心央行數位貨幣會破壞經濟穩定澳大利亞和紐西蘭認爲密碼貨幣仍存在結構性缺陷比特幣系統在可擴展性和治理方面遠落後於 Visa 等傳統支付方式
Slide25/2024
2019.9
止
發行
CBDC 態度6 已發行8 計劃推出9 研究中
2
暫不考慮
3
明確反對
Slide26/2025柬埔寨外包中中東外包中寮國?
Slide27branch央行數位貨幣 CBDCChain.tw/2026
Financial Institute
….
Branch
CentralBankContract
BankContract
BankContract
….
Branch
Financial Institute
….
Branch
branch
AID
Tool
Oracle
利率
同資
LSM
500
+
AID Chain
…
…
…
…
…
…
…
…
…
CBDC Chain
…
…
…
…
…
…
…
…
…
Frozen Chain
…
…
…
…
…
…
…
…
…
6000
+
20M
+
1
速度 容量
遺失 補發
隱私 主權
Cash
Obligation
Reserve
Interest
Slide28供應鏈金融
SCFChain.tw
/20
27
Financial Institute
….
Branch
Association
Contract
BankContract
Supplier Contract
….
Branch
Financial Institute
….
Branch
AID
Tool
Oracle
利率
同資
LSM
Credit
AID Chain
…
…
…
…
…
…
…
…
…
CBDC Chain
Supplier Chain
…
…
…
…
…
…
…
…
…
Frozen Chain
Insurance Chain
Logistics Chain
…
…
…
…
…
…
…
…
…
Invoice
Order
AP/AR
Credit
Bank
Supplier
速度 容量
容錯 補救
隱私 保險
Cash
Obligation
Reserve
Interest
Logistics
Slide29電力碳權交易
PCRChain.tw
/20
28
Financial Institute
….
Branch
Association
Contract
BankContract
Power Company Contract
….
Branch
Financial Institute
….
Branch
AID
Tool
Oracle
利率
同資
LSM
Credit
備載
AID Chain
…
…
…
…
…
…
…
…
…
CBDC Chain
TaiPower
Chain
…
…
…
…
…
…
…
…
…
Frozen Chain
Supplier Finance Chain
Green Certificate/Carbon Right Chain
…
…
…
…
…
…
…
…
…
Green Certificate
Carbon Right
Electricity
Bank
Power Plants
速度 容量
容錯 補救
隱私 偷電
Cash
Obligation
Reserve
Interest
Slide30三點成鏈 於公無限 公中有私 鏈鏈相連/38
…
…
以物易物
以幣易幣
交易自主
剝削壟斷
平台共享
29
Slide31如何落地 (價值、通路)軟體 硬體 資金 市場 行銷 管理 法規 教育 …加法:學、自學、空降、轉職 減法:思、本質、基層、專業 辦法:自主、尊重、團結、知行、價值、影響、永續/5230一切聖賢皆以無為法而有差別選
賢
與
能
政治
Slide32結論甲方乙方上下方上下下上下下翻甲方獨佔,乙方應付既得利益保衛戰乙方聯合,甲方應付社會資源消耗戰軟硬兼施德鏈心智能合約信煉信/5231勞資庶權官民君臣自主共享
團結
行動
Slide33Q&A區塊鏈讀書會https://www.facebook.com/groups/1357910030886937//9932