SlideShare a Scribd company logo
1 of 58
Download to read offline
Blockchain 101
1
FinTech
Bitcoin
????????
????????
????????
5
,
7
8
Blockchain
9
TED
10
11
OS: User Story! ~~ ( )
12
13
21,000,000
14
• Cryptocurrency
• Internet of Money
•
15
16
• , , Apple Pay
17
53	
韩梅梅 李雷
0.319	BTC	
Fees	0.001	BTC	
0.32	BTC	
1AnLpMkAmf7jy2BNkP3oYw1phzhNuLws7M	(0.32	BTC)	 1GJYiog3ato17SSTFCCdkZ44H6LdkW9j1V	(0.319	BTC)		
																																																							Tx	Fee:	0.001	BTC	
u
Bitcoin	Unconfirmed	Transacaon	( )		!!! 	
18
a
Alice	
#12345	
#21397	
#81345	
#22345	
P2P
a
27	
Alice	
#12345	
#21397	
#81345	
#22345	
Mempool
27	
#12345	
#21397	
#81345	
#22345	
Mempool
a
27	
Alice	
#12345	
#21397	
#81345	
#22345	
Mempool
a
27	
Alice	
#12345	
#21397	
#81345	
#22345	Mempool
Bitcoin Software

1. Fullnode

2. Miner
19
28	
Block	1	
...	
Block	2	
...	
Block	3	
...	
Block	4	
...	
r和
Hash(	Block	3	|	TXs	|	nonce)	
	 	 o e
區塊	
20
;
21
圖片來自 https://bitsonblocks.net
22
;
Mike:
CAP , PACman
23
S
•  讓 下 h t 讓
•  讓 下 gh t ⻑ 讓
•  讓 下 h fm中 ln
–  ⽣全
–  中 le p
22	
24
Proof	of	Work	
•  博 多 下
•  多博 們 有	 FaKRU	J J T#
•  ⼤ 的 # 他博 多
•  ⽽ 	 #
•  意 全 	 #
23	
和 沒 	G	
25
2D 	
•  mlv~說 	 D bbUN#
–  f v~說
•  gukl ⽣全如	 ⽣和 e如 #
–  ⽅
24	
r 	W	45	,	el ⽣全
26
SHA-2562(“abc”	+	“1”)	=	
158c09e82d88955d8a051934d12f74a53ea205743778165d1140a8903686e1ac	
SHA-2562(“abc”	+	“2”)	=		
c72b0720d3302d76cd7b6b3f3dcb554d05f14fee8567cdda3ee8b7ff51e02015	
.	
.	
.	
SHA-2562(“abc”	+	“19”)	=		
005eR2ff3e871185b95bf7c8628e212d15a7d08c42235a381e06caa55856a0c	
2D 	 	
•  ⽽ 博 多 很分
25	
Hash(TXs+nonce)	<	number	
00000000000000005b95bf7c8628e212d15a7d08c42235a381e06caa55856a0c	
27
SHA-2562(“abc”	+	“1”)	=	
158c09e82d88955d8a051934d12f74a53ea205743778165d1140a8903686e1ac	
SHA-2562(“abc”	+	“2”)	=		
c72b0720d3302d76cd7b6b3f3dcb554d05f14fee8567cdda3ee8b7ff51e02015	
.	
.	
.	
SHA-2562(“abc”	+	“19”)	=		
005eR2ff3e871185b95bf7c8628e212d15a7d08c42235a381e06caa55856a0c	
2D 	 	
•  ⽽ 博 多 很分
26	
算力越強的人越有機會擁有寫帳權
但不代表掌握 70% 算力別人就沒機會,只是概率低
28
Timestamp = t
29
53	
韩梅梅 李雷
0.319	BTC	
Fees	0.001	BTC	
0.32	BTC	
1AnLpMkAmf7jy2BNkP3oYw1phzhNuLws7M	(0.32	BTC)	 1GJYiog3ato17SSTFCCdkZ44H6LdkW9j1V	(0.319	BTC)		
																																																							Tx	Fee:	0.001	BTC	
u
Bitcoin	Unconfirmed	Transacaon	( )		!!! 	
s(t) —> s(t+1)
30
(Bitcoin)
(Ethereum)
31
61	
scriptSig:	<sig>	<pubKey>	
scriptPubKey:	OP_DUP	OP_HASH160	<pubKeyHash>	OP_EQUALVERIFY	OP_CHECKSIG	
<sig>	
a7db6ff121871c65a8924b8e40f160d385515ad7	
<pubKey>	
<pubKeyHash>	
>”<
32
Smart Contract Programming
33
cWP
•  )
–  (
– 
– 
• 
• 
•  (
– 
– 
66	
圖片來自 https://bitsonblocks.net
34
State Machine over
Trust Machine
35
Ethereum
• (VM states):
•
•
36
Ethereum
• address: '0x556657e4691afe833b9c6978056706fbe095f4ad'
address: '0x556662d50c8789885fb5dc2263c332134fdf95c8'
37
Ethereum
•
38
Ethereum
• (Proxy, Controller)
39
Ethereum
• (multi-sig) Proxy
40
Ethereum
•
• Data
41
Ethereum
• Oracle
• Feed Data & Proof
42
Blockchain is the Internet's society,
and smart contracts are its laws.
43
(DApps, Decentralized Applications)
44
•
•
• (Clearing)
• KYC (Know Your Customer)
• AML (Anti-Money Laundering)
45
Ripple
46
47
•
•
• (TPS, transaction per second)
• Bitcoin: 6 tx/s
• Ethereum: 7-15 tx/s
• gCoin: 240 tx/s
48
, ,
49
50
Relay
chain
Validator swarm
(each coloured by its
designated parachain)
Transaction
(submitted by
external actor)
Parachain
bridge
Virtual parachain
(e.g. Ethereum)
Parachain Parachain
queues and I/O
Propagated transactions
Block candidate submission
2nd order
Relay-chain
Parachain community
Account
Inbound transaction
Outbound transaction
Interchain transactions
(managed by validators)
Collator
Propagated block
Fisherman
Polkadot
51
IPFS
InterPlanetary File System
• Content addressing
• Versioned
• P2P File System
52
uPort
53
54
55
COALA IP
Unify digital rights data management
56
57
IPLD
• InterPlanetary Linked Data
• Content-addressed identifiers for distributed
systems
58
• ICO (Initial Coin Offering)
• Scam
59
• ( , )
• ,
• B2B, B2C, B2G
60
61
“Thanks for having me here!”
Q & A
62

More Related Content

Similar to Blockchain101

[DevDay 2017] Blockchain: Key factor for the next Internet revolution - Speak...
[DevDay 2017] Blockchain: Key factor for the next Internet revolution - Speak...[DevDay 2017] Blockchain: Key factor for the next Internet revolution - Speak...
[DevDay 2017] Blockchain: Key factor for the next Internet revolution - Speak...DevDay.org
 
All you ever needed to know on bitcoin and blockchain
All you ever needed to know on bitcoin and blockchainAll you ever needed to know on bitcoin and blockchain
All you ever needed to know on bitcoin and blockchainMarco Hauff
 
The Bitcoin Protocol for Humans
The Bitcoin Protocol for HumansThe Bitcoin Protocol for Humans
The Bitcoin Protocol for HumansJohn Mardlin
 
Tedxlazarski
Tedxlazarski Tedxlazarski
Tedxlazarski EthWorks
 
What is a decentralised application ? - Les Jeudis du Libre
What is a decentralised application ? - Les Jeudis du LibreWhat is a decentralised application ? - Les Jeudis du Libre
What is a decentralised application ? - Les Jeudis du LibreWajug
 
Blockchain, como esse negócio funciona? - SABER 2019
Blockchain, como esse negócio funciona? - SABER 2019Blockchain, como esse negócio funciona? - SABER 2019
Blockchain, como esse negócio funciona? - SABER 2019Rafael Capaci Pereira
 
Monero Presentation by Justin Ehrenhofer - Madison, Wisconsin 2 2017
Monero Presentation by Justin Ehrenhofer - Madison, Wisconsin 2 2017Monero Presentation by Justin Ehrenhofer - Madison, Wisconsin 2 2017
Monero Presentation by Justin Ehrenhofer - Madison, Wisconsin 2 2017Justin Ehrenhofer
 
What is a decentralised application? - Devoxx Morocco 2018
What is a decentralised application? - Devoxx Morocco 2018What is a decentralised application? - Devoxx Morocco 2018
What is a decentralised application? - Devoxx Morocco 2018Wajug
 
What is Bitcoin & Dark Markets History
What is Bitcoin & Dark Markets HistoryWhat is Bitcoin & Dark Markets History
What is Bitcoin & Dark Markets HistoryAlejandro De La Torre
 
An introduction to bit coins and bit coin mining
An introduction to bit coins and bit coin miningAn introduction to bit coins and bit coin mining
An introduction to bit coins and bit coin miningAnirudh Kadevari
 
20170620 MEETUP intro to blockchain and smart contracts (1)
20170620 MEETUP intro to blockchain and smart contracts (1)20170620 MEETUP intro to blockchain and smart contracts (1)
20170620 MEETUP intro to blockchain and smart contracts (1)Brussels Legal Hackers
 
Blockchain Technology: A Technical Introduction to Non-Technical People
Blockchain Technology: A Technical Introduction to Non-Technical PeopleBlockchain Technology: A Technical Introduction to Non-Technical People
Blockchain Technology: A Technical Introduction to Non-Technical PeopleMecklerMedia
 
Bitcoin - Beyond the basics
Bitcoin - Beyond the basicsBitcoin - Beyond the basics
Bitcoin - Beyond the basicsChris DeRose
 
Blockchains 101 - Muneeb Ali, Blockstack Labs
Blockchains 101  - Muneeb Ali, Blockstack LabsBlockchains 101  - Muneeb Ali, Blockstack Labs
Blockchains 101 - Muneeb Ali, Blockstack LabsWithTheBest
 
Bitcoin digital cash basics svcc 2017 10 001 publish
Bitcoin digital cash basics svcc 2017 10 001 publishBitcoin digital cash basics svcc 2017 10 001 publish
Bitcoin digital cash basics svcc 2017 10 001 publishdonn_lee
 
LibraTax - The Future of Accounting
LibraTax - The Future of AccountingLibraTax - The Future of Accounting
LibraTax - The Future of Accountingwill binns
 

Similar to Blockchain101 (20)

[DevDay 2017] Blockchain: Key factor for the next Internet revolution - Speak...
[DevDay 2017] Blockchain: Key factor for the next Internet revolution - Speak...[DevDay 2017] Blockchain: Key factor for the next Internet revolution - Speak...
[DevDay 2017] Blockchain: Key factor for the next Internet revolution - Speak...
 
All you ever needed to know on bitcoin and blockchain
All you ever needed to know on bitcoin and blockchainAll you ever needed to know on bitcoin and blockchain
All you ever needed to know on bitcoin and blockchain
 
The Bitcoin Protocol for Humans
The Bitcoin Protocol for HumansThe Bitcoin Protocol for Humans
The Bitcoin Protocol for Humans
 
Tedxlazarski
Tedxlazarski Tedxlazarski
Tedxlazarski
 
What is a decentralised application ? - Les Jeudis du Libre
What is a decentralised application ? - Les Jeudis du LibreWhat is a decentralised application ? - Les Jeudis du Libre
What is a decentralised application ? - Les Jeudis du Libre
 
Blockchain, como esse negócio funciona? - SABER 2019
Blockchain, como esse negócio funciona? - SABER 2019Blockchain, como esse negócio funciona? - SABER 2019
Blockchain, como esse negócio funciona? - SABER 2019
 
Monero Presentation by Justin Ehrenhofer - Madison, Wisconsin 2 2017
Monero Presentation by Justin Ehrenhofer - Madison, Wisconsin 2 2017Monero Presentation by Justin Ehrenhofer - Madison, Wisconsin 2 2017
Monero Presentation by Justin Ehrenhofer - Madison, Wisconsin 2 2017
 
What is a decentralised application? - Devoxx Morocco 2018
What is a decentralised application? - Devoxx Morocco 2018What is a decentralised application? - Devoxx Morocco 2018
What is a decentralised application? - Devoxx Morocco 2018
 
What is Bitcoin & Dark Markets History
What is Bitcoin & Dark Markets HistoryWhat is Bitcoin & Dark Markets History
What is Bitcoin & Dark Markets History
 
An introduction to bit coins and bit coin mining
An introduction to bit coins and bit coin miningAn introduction to bit coins and bit coin mining
An introduction to bit coins and bit coin mining
 
20170620 MEETUP intro to blockchain and smart contracts (1)
20170620 MEETUP intro to blockchain and smart contracts (1)20170620 MEETUP intro to blockchain and smart contracts (1)
20170620 MEETUP intro to blockchain and smart contracts (1)
 
Blockchain Technology: A Technical Introduction to Non-Technical People
Blockchain Technology: A Technical Introduction to Non-Technical PeopleBlockchain Technology: A Technical Introduction to Non-Technical People
Blockchain Technology: A Technical Introduction to Non-Technical People
 
Bitcoin - Beyond the basics
Bitcoin - Beyond the basicsBitcoin - Beyond the basics
Bitcoin - Beyond the basics
 
Smart contracts
Smart contractsSmart contracts
Smart contracts
 
Bitcoin Internal
Bitcoin InternalBitcoin Internal
Bitcoin Internal
 
Blockchains 101 - Muneeb Ali, Blockstack Labs
Blockchains 101  - Muneeb Ali, Blockstack LabsBlockchains 101  - Muneeb Ali, Blockstack Labs
Blockchains 101 - Muneeb Ali, Blockstack Labs
 
Bitcoin digital cash basics svcc 2017 10 001 publish
Bitcoin digital cash basics svcc 2017 10 001 publishBitcoin digital cash basics svcc 2017 10 001 publish
Bitcoin digital cash basics svcc 2017 10 001 publish
 
LibraTax - The Future of Accounting
LibraTax - The Future of AccountingLibraTax - The Future of Accounting
LibraTax - The Future of Accounting
 
Blockchain mechanics
Blockchain mechanicsBlockchain mechanics
Blockchain mechanics
 
Blockchain mechanics
Blockchain mechanicsBlockchain mechanics
Blockchain mechanics
 

Recently uploaded

Secure your environment with UiPath and CyberArk technologies - Session 1
Secure your environment with UiPath and CyberArk technologies - Session 1Secure your environment with UiPath and CyberArk technologies - Session 1
Secure your environment with UiPath and CyberArk technologies - Session 1DianaGray10
 
20230202 - Introduction to tis-py
20230202 - Introduction to tis-py20230202 - Introduction to tis-py
20230202 - Introduction to tis-pyJamie (Taka) Wang
 
AI Fame Rush Review – Virtual Influencer Creation In Just Minutes
AI Fame Rush Review – Virtual Influencer Creation In Just MinutesAI Fame Rush Review – Virtual Influencer Creation In Just Minutes
AI Fame Rush Review – Virtual Influencer Creation In Just MinutesMd Hossain Ali
 
Artificial Intelligence & SEO Trends for 2024
Artificial Intelligence & SEO Trends for 2024Artificial Intelligence & SEO Trends for 2024
Artificial Intelligence & SEO Trends for 2024D Cloud Solutions
 
Building AI-Driven Apps Using Semantic Kernel.pptx
Building AI-Driven Apps Using Semantic Kernel.pptxBuilding AI-Driven Apps Using Semantic Kernel.pptx
Building AI-Driven Apps Using Semantic Kernel.pptxUdaiappa Ramachandran
 
AI You Can Trust - Ensuring Success with Data Integrity Webinar
AI You Can Trust - Ensuring Success with Data Integrity WebinarAI You Can Trust - Ensuring Success with Data Integrity Webinar
AI You Can Trust - Ensuring Success with Data Integrity WebinarPrecisely
 
9 Steps For Building Winning Founding Team
9 Steps For Building Winning Founding Team9 Steps For Building Winning Founding Team
9 Steps For Building Winning Founding TeamAdam Moalla
 
Linked Data in Production: Moving Beyond Ontologies
Linked Data in Production: Moving Beyond OntologiesLinked Data in Production: Moving Beyond Ontologies
Linked Data in Production: Moving Beyond OntologiesDavid Newbury
 
COMPUTER 10: Lesson 7 - File Storage and Online Collaboration
COMPUTER 10: Lesson 7 - File Storage and Online CollaborationCOMPUTER 10: Lesson 7 - File Storage and Online Collaboration
COMPUTER 10: Lesson 7 - File Storage and Online Collaborationbruanjhuli
 
How Accurate are Carbon Emissions Projections?
How Accurate are Carbon Emissions Projections?How Accurate are Carbon Emissions Projections?
How Accurate are Carbon Emissions Projections?IES VE
 
UiPath Studio Web workshop series - Day 7
UiPath Studio Web workshop series - Day 7UiPath Studio Web workshop series - Day 7
UiPath Studio Web workshop series - Day 7DianaGray10
 
OpenShift Commons Paris - Choose Your Own Observability Adventure
OpenShift Commons Paris - Choose Your Own Observability AdventureOpenShift Commons Paris - Choose Your Own Observability Adventure
OpenShift Commons Paris - Choose Your Own Observability AdventureEric D. Schabell
 
Computer 10: Lesson 10 - Online Crimes and Hazards
Computer 10: Lesson 10 - Online Crimes and HazardsComputer 10: Lesson 10 - Online Crimes and Hazards
Computer 10: Lesson 10 - Online Crimes and HazardsSeth Reyes
 
UiPath Community: AI for UiPath Automation Developers
UiPath Community: AI for UiPath Automation DevelopersUiPath Community: AI for UiPath Automation Developers
UiPath Community: AI for UiPath Automation DevelopersUiPathCommunity
 
Apres-Cyber - The Data Dilemma: Bridging Offensive Operations and Machine Lea...
Apres-Cyber - The Data Dilemma: Bridging Offensive Operations and Machine Lea...Apres-Cyber - The Data Dilemma: Bridging Offensive Operations and Machine Lea...
Apres-Cyber - The Data Dilemma: Bridging Offensive Operations and Machine Lea...Will Schroeder
 
Videogame localization & technology_ how to enhance the power of translation.pdf
Videogame localization & technology_ how to enhance the power of translation.pdfVideogame localization & technology_ how to enhance the power of translation.pdf
Videogame localization & technology_ how to enhance the power of translation.pdfinfogdgmi
 
UiPath Solutions Management Preview - Northern CA Chapter - March 22.pdf
UiPath Solutions Management Preview - Northern CA Chapter - March 22.pdfUiPath Solutions Management Preview - Northern CA Chapter - March 22.pdf
UiPath Solutions Management Preview - Northern CA Chapter - March 22.pdfDianaGray10
 
Basic Building Blocks of Internet of Things.
Basic Building Blocks of Internet of Things.Basic Building Blocks of Internet of Things.
Basic Building Blocks of Internet of Things.YounusS2
 

Recently uploaded (20)

Secure your environment with UiPath and CyberArk technologies - Session 1
Secure your environment with UiPath and CyberArk technologies - Session 1Secure your environment with UiPath and CyberArk technologies - Session 1
Secure your environment with UiPath and CyberArk technologies - Session 1
 
20230202 - Introduction to tis-py
20230202 - Introduction to tis-py20230202 - Introduction to tis-py
20230202 - Introduction to tis-py
 
201610817 - edge part1
201610817 - edge part1201610817 - edge part1
201610817 - edge part1
 
AI Fame Rush Review – Virtual Influencer Creation In Just Minutes
AI Fame Rush Review – Virtual Influencer Creation In Just MinutesAI Fame Rush Review – Virtual Influencer Creation In Just Minutes
AI Fame Rush Review – Virtual Influencer Creation In Just Minutes
 
Artificial Intelligence & SEO Trends for 2024
Artificial Intelligence & SEO Trends for 2024Artificial Intelligence & SEO Trends for 2024
Artificial Intelligence & SEO Trends for 2024
 
Building AI-Driven Apps Using Semantic Kernel.pptx
Building AI-Driven Apps Using Semantic Kernel.pptxBuilding AI-Driven Apps Using Semantic Kernel.pptx
Building AI-Driven Apps Using Semantic Kernel.pptx
 
AI You Can Trust - Ensuring Success with Data Integrity Webinar
AI You Can Trust - Ensuring Success with Data Integrity WebinarAI You Can Trust - Ensuring Success with Data Integrity Webinar
AI You Can Trust - Ensuring Success with Data Integrity Webinar
 
9 Steps For Building Winning Founding Team
9 Steps For Building Winning Founding Team9 Steps For Building Winning Founding Team
9 Steps For Building Winning Founding Team
 
Linked Data in Production: Moving Beyond Ontologies
Linked Data in Production: Moving Beyond OntologiesLinked Data in Production: Moving Beyond Ontologies
Linked Data in Production: Moving Beyond Ontologies
 
COMPUTER 10: Lesson 7 - File Storage and Online Collaboration
COMPUTER 10: Lesson 7 - File Storage and Online CollaborationCOMPUTER 10: Lesson 7 - File Storage and Online Collaboration
COMPUTER 10: Lesson 7 - File Storage and Online Collaboration
 
How Accurate are Carbon Emissions Projections?
How Accurate are Carbon Emissions Projections?How Accurate are Carbon Emissions Projections?
How Accurate are Carbon Emissions Projections?
 
UiPath Studio Web workshop series - Day 7
UiPath Studio Web workshop series - Day 7UiPath Studio Web workshop series - Day 7
UiPath Studio Web workshop series - Day 7
 
OpenShift Commons Paris - Choose Your Own Observability Adventure
OpenShift Commons Paris - Choose Your Own Observability AdventureOpenShift Commons Paris - Choose Your Own Observability Adventure
OpenShift Commons Paris - Choose Your Own Observability Adventure
 
Computer 10: Lesson 10 - Online Crimes and Hazards
Computer 10: Lesson 10 - Online Crimes and HazardsComputer 10: Lesson 10 - Online Crimes and Hazards
Computer 10: Lesson 10 - Online Crimes and Hazards
 
UiPath Community: AI for UiPath Automation Developers
UiPath Community: AI for UiPath Automation DevelopersUiPath Community: AI for UiPath Automation Developers
UiPath Community: AI for UiPath Automation Developers
 
Apres-Cyber - The Data Dilemma: Bridging Offensive Operations and Machine Lea...
Apres-Cyber - The Data Dilemma: Bridging Offensive Operations and Machine Lea...Apres-Cyber - The Data Dilemma: Bridging Offensive Operations and Machine Lea...
Apres-Cyber - The Data Dilemma: Bridging Offensive Operations and Machine Lea...
 
Videogame localization & technology_ how to enhance the power of translation.pdf
Videogame localization & technology_ how to enhance the power of translation.pdfVideogame localization & technology_ how to enhance the power of translation.pdf
Videogame localization & technology_ how to enhance the power of translation.pdf
 
20150722 - AGV
20150722 - AGV20150722 - AGV
20150722 - AGV
 
UiPath Solutions Management Preview - Northern CA Chapter - March 22.pdf
UiPath Solutions Management Preview - Northern CA Chapter - March 22.pdfUiPath Solutions Management Preview - Northern CA Chapter - March 22.pdf
UiPath Solutions Management Preview - Northern CA Chapter - March 22.pdf
 
Basic Building Blocks of Internet of Things.
Basic Building Blocks of Internet of Things.Basic Building Blocks of Internet of Things.
Basic Building Blocks of Internet of Things.
 

Blockchain101