SlideShare a Scribd company logo
BITCOIN, BLOCKCHAIN AND
ITS APPLICATIONS
Dr. Len Mei
2019/08
1
BITCOIN PRICE 2010 ~2017
3
2017/12/17
19,783.06
All time high
https://www.buybitcoinworldwide.com/price/
WHAT IS BITCOIN?
4
BITCOIN IS A COMPUTER FILE…
5
Blockchain
• Transferrable
• Unique
• Trustworthy
• Can be copied
SATOSHI NAKAMOTO WHITE PAPER 2008
DECEMBER
6
GENESIS BLOCK
 January 3, 2009: Satoshi created 1st 50 bitcoins.
 Today, it is worth >$500,000.
7
BITCOIN TRANSACTIONS IN 2009
8
2009/10/12
2010/5/22
2009/1/10
IF YOU HAVE A BITCOIN……
 Bitcoin is the receipt of transaction that you
received the bitcoin.
 Bitcoin transaction is recorded in the blockchain.
 You can print a copy or keep in your computer
(cold storage) or keep on-line (hot storage). 9
You have an address (public key) and password
(private key) as proof that you have the bitcoin.
IF YOU LOSE THE PRIVATE KEY, YOU LOSE THE
BITCOIN….
10
POST OFFICE BOX
11
• address
• key
Receiver creates a bitcoin address by
downloading a bitcoin wallet software.
PUBLISH
 To announce the transaction to the bitcoin network
that payer’s address is used and no longer valid.
 This is to prevent the same bitcoin used twice.
12
tx
tx
Nodes are computers running bitcoin software.
BITCOIN NETWORK
 Bitcoin network is a part of internet.
 It is formed by the computers running bitcoin
software.
 These computers are called nodes.
 There are two types of nodes:
 Miners – validate transactions and build blocks.
 Full nodes – keep a copy of blockchain and verify
blocks.
13
MINERS VALIDATE AND RECORD
TRANSACTIONS
 Miners collect transactions and validate them.
 After validation, miners record them in the ledger
called “block”.
 Block can fit up to 3,000 transactions and takes 10
min.
14
 The first miner to complete
the block sends the new
block to all nodes in the
network.
 All other miners stop working
on the block.
FULL NODES VERIFY BLOCKS
 Nodes verify the block to make sure that all
transactions in the block are valid.
 If a node finds that the miner cheats, he rejects the
block.
 They can do so because all nodes keep a complete
copy of the bitcoin blockchain.
 If majority of the nodes accept the new block, it is
then attached to the blockchain.
 This process is called consensus.
 The transactions included in the block are then
eliminated from the network. 15
HOW BITCOIN IS CREATED?
 When miner builds a block, the bitcoin software
creates new bitcoins as reward to him.
 In the first 4 years, the reward was 50 bitcoins.
 Every 4 years, the reward is reduced by half.
 Now the reward is 12.5 bitcoins.
 This limits the total bitcoin that can be created by
21 million.
16
TOTAL BITCOIN SUPPLY
17
WHO CAN RUN NODE?
 Nodes are voluntary. The requirements are:
 Node computer needs 300 GB of disk space, 2GB of
RAM, and a fast internet connection.
 Download a copy of Bitcoin Core software.
 All nodes carry a complete copy of the blockchain (in
Jan., 2019 ~225GB)
 Currently, there are 10,000 bitcoin nodes.
 https://bitcoin.org/en/download
18
How miners build blocks?
19
SATOSHI’S TRANSACTION
20
Jone’s bitcoin + John’s private key + Mary’s public key =
Owner 2’s bitcoin
Owner 1 – John
Owner 2 - Mary
HASHING – A CRYPTOGRAPHIC
FUNCTION
 Hashing is to encrypt data.
 Hash is like “fingerprint”, is difficult to make but
easy to verify.
21
A SIMPLE HASH FUNCTION
=1.73205080756888
=1.73207967484178
=1.73202193981485
=207.66078108299600
22
Square root function can be a hash for
the numbers.
SHA-256 HASH
23
SHA means Secured Hash Algorithm.
There are 2256 possible combinations of Hash value
(1.15792 x 1077)
https://www.xorbin.com/tools/sha256-hash-calculator
24
DIFFICULTY AND NONCE
25
 Requiring more 0’s at the beginning of hash
makes hash number smaller and
needs more iterations to get hash
WHY INCREASES DIFFICULTY?
 To offset increasing computing power in the
bitcoin network
 In Aug.,2019, a valid bitcoin hash starts with 19
zeros.
 Difficulty = block 0 difficulty / current target difficulty
 Difficulty is adjusted every 2016 blocks to
maintain one block output per 10 minutes.
 Or, average time to build a block * hash rate =
constant
26
WHY NONCE?
 Nonce is a random number.
 It makes the number of iterations of hash change
randomly.
 It is like lottery.
 The chance of winning becomes proportional to the
hashing power.
 This is to equalize the chance of winning the
reward.
27
28
CPU
CPU+FPGA
ASIC
Tera
Giga
28
CPU
CPU+FPGA
ASIC
Tera
Giga
HASH RATE 2017~2019
29
80 million tera (1012 ) -hash/s or 80 exa (1018 ) -hash/s
THREE WAYS TO MINE BITCOINS
 Solo miners
 Join mining pool
 Cloud mining
30https://www.buybitcoinworldwide.com/mining/pools/
MINING BITCOIN WITH PC
 Intel Pentium Core i5 PC ~ 20 M (106 ) hash/s
31
https://www.buybitcoinworldwide.com/mining/calculator/
BITCOIN MINING
 Mining is a computation-intensive work.
32
BITCOIN MINING
33
BLOCK CONSISTS OF HASHES OF TRANSACTIONS
 Merkle tree is the hash of multiple transactions
34
BLOCK HEADER
35
New
block
header
Noncenonce
Block related information
Merkle root hash and
Time stamp
Difficulty
Guessing number
LATEST BLOCK AT 14:08 2019/8/4
36
PROOF OF WORK
 All the above tasks performed by the miners is
called Proof of Work.
 PoW is energy intensive.
 Bitcoin mining consumes 30 TWh in 2017 alone,
more energy than 159 countries.
 PoW makes the bitcoin trustable.
 Any process which builds trust in a blockchain is
called consensus.
37
BITCOIN IS DIVISABLE
38
5 Bitcoins
In address 1
3 Bitcoins
In address 2
2 Bitcoins
In address 3
John Mary
John
 When John pays out of address 1, address 1 is no longer
valid.
 Mary created address 2 to receive 3 bitcoins.
 John created address 3 to receive 2 bitcoins as change.
 If John does not create address 3, miner will create address 3
to receive the difference.
 It is considered as transaction fee.
INPUT OUTPUT
Blockchain beyond bitcoin
39
BLOCKCHAIN IS
 Distributed database – to make the database
immutable
 Cryptography – to make the database safe
 Consensus – to allow database to obey
established protocol
 Blockchain is also known as Mutual Distributed
Ledger (MDL).
40
BLOCKCHAIN APPLICATIONS
 Cryptocurrencies.
 There are more than 1,000 cryptocurrencies today.
 Since blockchain is a database, it can be used for
all database applications.
 Most important applications are in financial area –
Fintech.
41
CURRENT FINANCIAL TECHNOLOGY
42
2019
2018
FINTECH USING BLOCKCHAIN
 Fintech gets a boost from blockchain technology.
 Secure
 Fast
 Built-in trust
 Indestructible
 Immutable
 New applications
43
VARIATIONS OF BLOCKCHAIN
 Different applications of blockchain require different
characteristics
 Decentralized vs. centralized
 Permissionless vs. permissioned
 Different levels of permission
44
BLOCKCHAIN APPLICATIONS
 Smart contract (Ethereum, Microsoft)
 Land registration (Japan, Sweden, Ukraine, Ghana,
Georgia, etc)
 Commodity trading (Mercuria, Gunvor, Trafigura,
Cargill, Dreyfus, Olam etc)
 Asset digitization (ACC)
 Banking and payment (HSBC, Citi, Barclays, ING,
Standard Chartered, etc)
 Supply chain management (IBM, Alibaba etc)
 Cloud data storage (Storj, Sia)
 5G (Huawei)
45
SMART CONTRACT
 Contract is a document, which can be stored in the
database.
 A smart contract is computerized transaction
protocol that executes the terms of a contract.[
 Smart contracts allow the performance of credible
transactions without third parties.
46
ETHEREUM – BLOCKCHAIN WITH SMART CONTRACT
 Ethereum is programmable blockchain.
 These decentralized applications (or “dapps”) have
the benefits of cryptocurrency and blockchain
technology.
 The Ethereum community is the largest and most
active blockchain community in the world.
47
ETHEREUM DAPPS
48
MDL IS VARIATION OF BLOCKCHAIN
 Independent MDL’s can work with each other.
 MDL has all the quality of blockchain
 Different organizations can have different MDL’s
and they can share data.
49
THREE TYPES OF MDL
 Identity MDL
 National ID, driver license, passport, tax ID, insurance card,
library card, fingerprint, face photo, etc. all in one with
security, immutability
 Transaction MDL
 All events require ID
 Doctor visit, traffic ticket, boarding airplane, bank activity
 Content MDL
 Each entity has its own content MDL
50
Headlines of blockchain
51
GOLDMAN SACHS INVESTS IN BLOCKCHAIN
52
BLOCKCHAIN AND BANKS
53
BLOCKCHAIN REVOLUTIONISES INSUARANCE
54
BLOCKCHAIN AND ENERGY
55
ALIBABA INTRODUCES BLOCKCHAIN FOR FOOD
FRAUD
56
IBM OFFERS BLOCKCHAIN SERVICES
57
HUAWEI UNVEILS BLOCKCHAIN SERVICE
58
GOOGLE DEVELOPS BLOCKCHAIN
59
CONCLUSION
 Blockchain is a revolutionary invention.
 We are at the starting point to see the impact of
blockchain in all aspects of the financial industry.
 For more detail, refer to the book “Bitcoin,
blockchain and fintech” by Len Mei in Amazon
online bookstore.
 https://www.amazon.com.br/dp/B07MJW4QPX
60

More Related Content

What's hot

Minor project report blockchain
Minor project report blockchainMinor project report blockchain
Minor project report blockchain
Light Yagami
 
Blockchain- how it could transform business
Blockchain- how it could transform businessBlockchain- how it could transform business
Blockchain- how it could transform business
Let's Learn Digital
 
Blockchain in 2016 - Advanced Distributed Ledger Technologies
Blockchain in 2016 - Advanced Distributed Ledger TechnologiesBlockchain in 2016 - Advanced Distributed Ledger Technologies
Blockchain in 2016 - Advanced Distributed Ledger Technologies
Howard Smith
 
The Distributed Ledger Landscape
The Distributed Ledger LandscapeThe Distributed Ledger Landscape
The Distributed Ledger Landscape
Tim Swanson
 
Cryptocurrencies: The Mechanics Economic and Finance
Cryptocurrencies: The Mechanics Economic and FinanceCryptocurrencies: The Mechanics Economic and Finance
Cryptocurrencies: The Mechanics Economic and Finance
Ernie Teo
 
Blockchain 2.0
Blockchain 2.0Blockchain 2.0
Blockchain 2.0
Jérôme Kehrli
 
Blockchain technology amplify your enterprise / IBM
Blockchain technology amplify your enterprise / IBMBlockchain technology amplify your enterprise / IBM
Blockchain technology amplify your enterprise / IBM
Diego Alberto Tamayo
 
Digital Digest 2 by Harshit
Digital Digest 2 by HarshitDigital Digest 2 by Harshit
Digital Digest 2 by Harshit
HarshitMadan7
 
Bitcoin 3.0 - Beyond Smart Contracts
Bitcoin 3.0 - Beyond Smart ContractsBitcoin 3.0 - Beyond Smart Contracts
Bitcoin 3.0 - Beyond Smart Contracts
Jeff Garzik
 
Blockchains and Insurance: Opportunities and Challenges
Blockchains and Insurance: Opportunities and ChallengesBlockchains and Insurance: Opportunities and Challenges
Blockchains and Insurance: Opportunities and Challenges
Christopher Brewster
 
The Blockchain: Introduction and Implications
The Blockchain: Introduction and ImplicationsThe Blockchain: Introduction and Implications
The Blockchain: Introduction and Implications
Michael Lesniak
 
Webinar: Blockchain – A Revolution You Can’t Stop | by Intellectsoft
Webinar: Blockchain – A Revolution You Can’t Stop | by IntellectsoftWebinar: Blockchain – A Revolution You Can’t Stop | by Intellectsoft
Webinar: Blockchain – A Revolution You Can’t Stop | by Intellectsoft
Intellectsoft
 
Introduction to Blockchain and Decentralized Apps
Introduction to Blockchain and Decentralized AppsIntroduction to Blockchain and Decentralized Apps
Introduction to Blockchain and Decentralized Apps
Cisco DevNet
 
Blockchain in industry 4.0
Blockchain in industry 4.0Blockchain in industry 4.0
Blockchain in industry 4.0
Mujahid Hussain
 
Blockchain case study powerpoints: Brief intro
Blockchain case study powerpoints: Brief introBlockchain case study powerpoints: Brief intro
Blockchain case study powerpoints: Brief intro
Shane Ninai
 
Blockchain In Government - How The Technology Can Transform Government Services
Blockchain In Government - How The Technology Can Transform Government ServicesBlockchain In Government - How The Technology Can Transform Government Services
Blockchain In Government - How The Technology Can Transform Government Services
Sunil Jagani
 
Self Sovereign Digital Identity on the Blockchain: A Discourse Analysis
Self Sovereign Digital Identity on the Blockchain: A Discourse AnalysisSelf Sovereign Digital Identity on the Blockchain: A Discourse Analysis
Self Sovereign Digital Identity on the Blockchain: A Discourse Analysis
eraser Juan José Calderón
 
Blockchain demystification
Blockchain demystificationBlockchain demystification
Blockchain demystification
Bellaj Badr
 
Introduction to blockchain
Introduction to blockchainIntroduction to blockchain
Introduction to blockchain
Krzysztof Bury
 
Upfront Ventures blockchain and crypto deck
Upfront Ventures blockchain and crypto deckUpfront Ventures blockchain and crypto deck
Upfront Ventures blockchain and crypto deck
Mark Suster
 

What's hot (20)

Minor project report blockchain
Minor project report blockchainMinor project report blockchain
Minor project report blockchain
 
Blockchain- how it could transform business
Blockchain- how it could transform businessBlockchain- how it could transform business
Blockchain- how it could transform business
 
Blockchain in 2016 - Advanced Distributed Ledger Technologies
Blockchain in 2016 - Advanced Distributed Ledger TechnologiesBlockchain in 2016 - Advanced Distributed Ledger Technologies
Blockchain in 2016 - Advanced Distributed Ledger Technologies
 
The Distributed Ledger Landscape
The Distributed Ledger LandscapeThe Distributed Ledger Landscape
The Distributed Ledger Landscape
 
Cryptocurrencies: The Mechanics Economic and Finance
Cryptocurrencies: The Mechanics Economic and FinanceCryptocurrencies: The Mechanics Economic and Finance
Cryptocurrencies: The Mechanics Economic and Finance
 
Blockchain 2.0
Blockchain 2.0Blockchain 2.0
Blockchain 2.0
 
Blockchain technology amplify your enterprise / IBM
Blockchain technology amplify your enterprise / IBMBlockchain technology amplify your enterprise / IBM
Blockchain technology amplify your enterprise / IBM
 
Digital Digest 2 by Harshit
Digital Digest 2 by HarshitDigital Digest 2 by Harshit
Digital Digest 2 by Harshit
 
Bitcoin 3.0 - Beyond Smart Contracts
Bitcoin 3.0 - Beyond Smart ContractsBitcoin 3.0 - Beyond Smart Contracts
Bitcoin 3.0 - Beyond Smart Contracts
 
Blockchains and Insurance: Opportunities and Challenges
Blockchains and Insurance: Opportunities and ChallengesBlockchains and Insurance: Opportunities and Challenges
Blockchains and Insurance: Opportunities and Challenges
 
The Blockchain: Introduction and Implications
The Blockchain: Introduction and ImplicationsThe Blockchain: Introduction and Implications
The Blockchain: Introduction and Implications
 
Webinar: Blockchain – A Revolution You Can’t Stop | by Intellectsoft
Webinar: Blockchain – A Revolution You Can’t Stop | by IntellectsoftWebinar: Blockchain – A Revolution You Can’t Stop | by Intellectsoft
Webinar: Blockchain – A Revolution You Can’t Stop | by Intellectsoft
 
Introduction to Blockchain and Decentralized Apps
Introduction to Blockchain and Decentralized AppsIntroduction to Blockchain and Decentralized Apps
Introduction to Blockchain and Decentralized Apps
 
Blockchain in industry 4.0
Blockchain in industry 4.0Blockchain in industry 4.0
Blockchain in industry 4.0
 
Blockchain case study powerpoints: Brief intro
Blockchain case study powerpoints: Brief introBlockchain case study powerpoints: Brief intro
Blockchain case study powerpoints: Brief intro
 
Blockchain In Government - How The Technology Can Transform Government Services
Blockchain In Government - How The Technology Can Transform Government ServicesBlockchain In Government - How The Technology Can Transform Government Services
Blockchain In Government - How The Technology Can Transform Government Services
 
Self Sovereign Digital Identity on the Blockchain: A Discourse Analysis
Self Sovereign Digital Identity on the Blockchain: A Discourse AnalysisSelf Sovereign Digital Identity on the Blockchain: A Discourse Analysis
Self Sovereign Digital Identity on the Blockchain: A Discourse Analysis
 
Blockchain demystification
Blockchain demystificationBlockchain demystification
Blockchain demystification
 
Introduction to blockchain
Introduction to blockchainIntroduction to blockchain
Introduction to blockchain
 
Upfront Ventures blockchain and crypto deck
Upfront Ventures blockchain and crypto deckUpfront Ventures blockchain and crypto deck
Upfront Ventures blockchain and crypto deck
 

Similar to Bitcoin & Blockchain

Block chain 101 what it is, why it matters
Block chain 101  what it is, why it mattersBlock chain 101  what it is, why it matters
Block chain 101 what it is, why it matters
Paul Brody
 
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
 
2019 blockchain economy
2019 blockchain economy2019 blockchain economy
2019 blockchain economy
Heung-No Lee
 
Bit coin basics 101
Bit coin basics 101Bit coin basics 101
Bit coin basics 101
Tengku Hazleen
 
Bitcoin:Global Digital Currency
Bitcoin:Global Digital CurrencyBitcoin:Global Digital Currency
Bitcoin:Global Digital Currency
Surbhi Jain
 
WHAT IS MINING? WHAT IS BITCOIN?
WHAT IS MINING? WHAT IS BITCOIN?WHAT IS MINING? WHAT IS BITCOIN?
WHAT IS MINING? WHAT IS BITCOIN?
JemSon Junio
 
Cryptocurrency-Bitcoin
Cryptocurrency-BitcoinCryptocurrency-Bitcoin
Cryptocurrency-Bitcoin
SatwikaHotwani
 
Bitcoin
BitcoinBitcoin
Paradigm shift: from the bitcoin Blockchain to Networked Computing
Paradigm shift: from the bitcoin Blockchain to Networked ComputingParadigm shift: from the bitcoin Blockchain to Networked Computing
Paradigm shift: from the bitcoin Blockchain to Networked Computing
kumar641
 
Banking on blockchains
Banking on blockchainsBanking on blockchains
Banking on blockchains
Ruben Tan
 
Bitcoin and blockchain basics
Bitcoin and blockchain basicsBitcoin and blockchain basics
Bitcoin and blockchain basics
Michele Pace
 
Blockchain Technology
Blockchain TechnologyBlockchain Technology
Blockchain Technology
SyedMahammad1
 
Blockchain Technology
Blockchain TechnologyBlockchain Technology
Blockchain Technology
Mahammad Syed
 
Report on Bitcoin- The cryptocurrency (November 2017)
Report on Bitcoin- The cryptocurrency (November 2017)Report on Bitcoin- The cryptocurrency (November 2017)
Report on Bitcoin- The cryptocurrency (November 2017)
AJSH & Co LLP
 
Bitcoin
BitcoinBitcoin
Bitcoin
ajshdelhi01
 
Blockchain and Bitcoin
Blockchain and BitcoinBlockchain and Bitcoin
Blockchain and Bitcoin
Hugo Rodrigues
 
BitCoin, P2P, Distributed Computing
BitCoin, P2P, Distributed ComputingBitCoin, P2P, Distributed Computing
BitCoin, P2P, Distributed Computing
Michelle Davies (Hryvnak)
 
Tutorial blockchain technical overview-ss
Tutorial blockchain technical overview-ssTutorial blockchain technical overview-ss
Tutorial blockchain technical overview-ss
Howard Anglin
 
Bitcoin Technology
Bitcoin TechnologyBitcoin Technology
Bitcoin Technology
Ravi Verma
 
A Quick Start To Blockchain by Seval Capraz
A Quick Start To Blockchain by Seval CaprazA Quick Start To Blockchain by Seval Capraz
A Quick Start To Blockchain by Seval Capraz
Seval Çapraz
 

Similar to Bitcoin & Blockchain (20)

Block chain 101 what it is, why it matters
Block chain 101  what it is, why it mattersBlock chain 101  what it is, why it matters
Block chain 101 what it is, why it matters
 
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)
 
2019 blockchain economy
2019 blockchain economy2019 blockchain economy
2019 blockchain economy
 
Bit coin basics 101
Bit coin basics 101Bit coin basics 101
Bit coin basics 101
 
Bitcoin:Global Digital Currency
Bitcoin:Global Digital CurrencyBitcoin:Global Digital Currency
Bitcoin:Global Digital Currency
 
WHAT IS MINING? WHAT IS BITCOIN?
WHAT IS MINING? WHAT IS BITCOIN?WHAT IS MINING? WHAT IS BITCOIN?
WHAT IS MINING? WHAT IS BITCOIN?
 
Cryptocurrency-Bitcoin
Cryptocurrency-BitcoinCryptocurrency-Bitcoin
Cryptocurrency-Bitcoin
 
Bitcoin
BitcoinBitcoin
Bitcoin
 
Paradigm shift: from the bitcoin Blockchain to Networked Computing
Paradigm shift: from the bitcoin Blockchain to Networked ComputingParadigm shift: from the bitcoin Blockchain to Networked Computing
Paradigm shift: from the bitcoin Blockchain to Networked Computing
 
Banking on blockchains
Banking on blockchainsBanking on blockchains
Banking on blockchains
 
Bitcoin and blockchain basics
Bitcoin and blockchain basicsBitcoin and blockchain basics
Bitcoin and blockchain basics
 
Blockchain Technology
Blockchain TechnologyBlockchain Technology
Blockchain Technology
 
Blockchain Technology
Blockchain TechnologyBlockchain Technology
Blockchain Technology
 
Report on Bitcoin- The cryptocurrency (November 2017)
Report on Bitcoin- The cryptocurrency (November 2017)Report on Bitcoin- The cryptocurrency (November 2017)
Report on Bitcoin- The cryptocurrency (November 2017)
 
Bitcoin
BitcoinBitcoin
Bitcoin
 
Blockchain and Bitcoin
Blockchain and BitcoinBlockchain and Bitcoin
Blockchain and Bitcoin
 
BitCoin, P2P, Distributed Computing
BitCoin, P2P, Distributed ComputingBitCoin, P2P, Distributed Computing
BitCoin, P2P, Distributed Computing
 
Tutorial blockchain technical overview-ss
Tutorial blockchain technical overview-ssTutorial blockchain technical overview-ss
Tutorial blockchain technical overview-ss
 
Bitcoin Technology
Bitcoin TechnologyBitcoin Technology
Bitcoin Technology
 
A Quick Start To Blockchain by Seval Capraz
A Quick Start To Blockchain by Seval CaprazA Quick Start To Blockchain by Seval Capraz
A Quick Start To Blockchain by Seval Capraz
 

More from Len Mei

Artificial inteligence, its evolution and potential singularity event
Artificial inteligence, its evolution and potential singularity eventArtificial inteligence, its evolution and potential singularity event
Artificial inteligence, its evolution and potential singularity event
Len Mei
 
Essences of semiconductor manufacturing 2024.pdf
Essences of semiconductor manufacturing 2024.pdfEssences of semiconductor manufacturing 2024.pdf
Essences of semiconductor manufacturing 2024.pdf
Len Mei
 
A recipe for the economic development in Brazil.pdf
A recipe for the economic development in Brazil.pdfA recipe for the economic development in Brazil.pdf
A recipe for the economic development in Brazil.pdf
Len Mei
 
Advanced lithographic technologies
Advanced lithographic technologiesAdvanced lithographic technologies
Advanced lithographic technologies
Len Mei
 
The digital economy
The digital economyThe digital economy
The digital economy
Len Mei
 
A view of semiconductor industry
A view of semiconductor industryA view of semiconductor industry
A view of semiconductor industry
Len Mei
 
Digital economy
Digital economyDigital economy
Digital economy
Len Mei
 
Artificial intelligence
Artificial intelligenceArtificial intelligence
Artificial intelligence
Len Mei
 
Yield enhancement
Yield enhancementYield enhancement
Yield enhancement
Len Mei
 
Manufacturing operation
Manufacturing operationManufacturing operation
Manufacturing operation
Len Mei
 

More from Len Mei (10)

Artificial inteligence, its evolution and potential singularity event
Artificial inteligence, its evolution and potential singularity eventArtificial inteligence, its evolution and potential singularity event
Artificial inteligence, its evolution and potential singularity event
 
Essences of semiconductor manufacturing 2024.pdf
Essences of semiconductor manufacturing 2024.pdfEssences of semiconductor manufacturing 2024.pdf
Essences of semiconductor manufacturing 2024.pdf
 
A recipe for the economic development in Brazil.pdf
A recipe for the economic development in Brazil.pdfA recipe for the economic development in Brazil.pdf
A recipe for the economic development in Brazil.pdf
 
Advanced lithographic technologies
Advanced lithographic technologiesAdvanced lithographic technologies
Advanced lithographic technologies
 
The digital economy
The digital economyThe digital economy
The digital economy
 
A view of semiconductor industry
A view of semiconductor industryA view of semiconductor industry
A view of semiconductor industry
 
Digital economy
Digital economyDigital economy
Digital economy
 
Artificial intelligence
Artificial intelligenceArtificial intelligence
Artificial intelligence
 
Yield enhancement
Yield enhancementYield enhancement
Yield enhancement
 
Manufacturing operation
Manufacturing operationManufacturing operation
Manufacturing operation
 

Recently uploaded

Connector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a buttonConnector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a button
DianaGray10
 
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
Product School
 
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Ramesh Iyer
 
UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3
DianaGray10
 
Generating a custom Ruby SDK for your web service or Rails API using Smithy
Generating a custom Ruby SDK for your web service or Rails API using SmithyGenerating a custom Ruby SDK for your web service or Rails API using Smithy
Generating a custom Ruby SDK for your web service or Rails API using Smithy
g2nightmarescribd
 
Elevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object CalisthenicsElevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object Calisthenics
Dorra BARTAGUIZ
 
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Tobias Schneck
 
Leading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdfLeading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdf
OnBoard
 
Epistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI supportEpistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI support
Alan Dix
 
The Future of Platform Engineering
The Future of Platform EngineeringThe Future of Platform Engineering
The Future of Platform Engineering
Jemma Hussein Allen
 
DevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA ConnectDevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA Connect
Kari Kakkonen
 
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered QualitySoftware Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Inflectra
 
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
UiPathCommunity
 
How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...
Product School
 
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 previewState of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
Prayukth K V
 
PCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase TeamPCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase Team
ControlCase
 
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Albert Hoitingh
 
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
Product School
 
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
James Anderson
 
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
Product School
 

Recently uploaded (20)

Connector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a buttonConnector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a button
 
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
 
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
 
UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3
 
Generating a custom Ruby SDK for your web service or Rails API using Smithy
Generating a custom Ruby SDK for your web service or Rails API using SmithyGenerating a custom Ruby SDK for your web service or Rails API using Smithy
Generating a custom Ruby SDK for your web service or Rails API using Smithy
 
Elevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object CalisthenicsElevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object Calisthenics
 
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
 
Leading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdfLeading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdf
 
Epistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI supportEpistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI support
 
The Future of Platform Engineering
The Future of Platform EngineeringThe Future of Platform Engineering
The Future of Platform Engineering
 
DevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA ConnectDevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA Connect
 
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered QualitySoftware Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
 
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
 
How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...
 
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 previewState of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
 
PCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase TeamPCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase Team
 
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
 
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
 
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
 
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
 

Bitcoin & Blockchain

  • 1. BITCOIN, BLOCKCHAIN AND ITS APPLICATIONS Dr. Len Mei 2019/08 1
  • 5. BITCOIN IS A COMPUTER FILE… 5 Blockchain • Transferrable • Unique • Trustworthy • Can be copied
  • 6. SATOSHI NAKAMOTO WHITE PAPER 2008 DECEMBER 6
  • 7. GENESIS BLOCK  January 3, 2009: Satoshi created 1st 50 bitcoins.  Today, it is worth >$500,000. 7
  • 8. BITCOIN TRANSACTIONS IN 2009 8 2009/10/12 2010/5/22 2009/1/10
  • 9. IF YOU HAVE A BITCOIN……  Bitcoin is the receipt of transaction that you received the bitcoin.  Bitcoin transaction is recorded in the blockchain.  You can print a copy or keep in your computer (cold storage) or keep on-line (hot storage). 9 You have an address (public key) and password (private key) as proof that you have the bitcoin.
  • 10. IF YOU LOSE THE PRIVATE KEY, YOU LOSE THE BITCOIN…. 10
  • 11. POST OFFICE BOX 11 • address • key Receiver creates a bitcoin address by downloading a bitcoin wallet software.
  • 12. PUBLISH  To announce the transaction to the bitcoin network that payer’s address is used and no longer valid.  This is to prevent the same bitcoin used twice. 12 tx tx Nodes are computers running bitcoin software.
  • 13. BITCOIN NETWORK  Bitcoin network is a part of internet.  It is formed by the computers running bitcoin software.  These computers are called nodes.  There are two types of nodes:  Miners – validate transactions and build blocks.  Full nodes – keep a copy of blockchain and verify blocks. 13
  • 14. MINERS VALIDATE AND RECORD TRANSACTIONS  Miners collect transactions and validate them.  After validation, miners record them in the ledger called “block”.  Block can fit up to 3,000 transactions and takes 10 min. 14  The first miner to complete the block sends the new block to all nodes in the network.  All other miners stop working on the block.
  • 15. FULL NODES VERIFY BLOCKS  Nodes verify the block to make sure that all transactions in the block are valid.  If a node finds that the miner cheats, he rejects the block.  They can do so because all nodes keep a complete copy of the bitcoin blockchain.  If majority of the nodes accept the new block, it is then attached to the blockchain.  This process is called consensus.  The transactions included in the block are then eliminated from the network. 15
  • 16. HOW BITCOIN IS CREATED?  When miner builds a block, the bitcoin software creates new bitcoins as reward to him.  In the first 4 years, the reward was 50 bitcoins.  Every 4 years, the reward is reduced by half.  Now the reward is 12.5 bitcoins.  This limits the total bitcoin that can be created by 21 million. 16
  • 18. WHO CAN RUN NODE?  Nodes are voluntary. The requirements are:  Node computer needs 300 GB of disk space, 2GB of RAM, and a fast internet connection.  Download a copy of Bitcoin Core software.  All nodes carry a complete copy of the blockchain (in Jan., 2019 ~225GB)  Currently, there are 10,000 bitcoin nodes.  https://bitcoin.org/en/download 18
  • 19. How miners build blocks? 19
  • 20. SATOSHI’S TRANSACTION 20 Jone’s bitcoin + John’s private key + Mary’s public key = Owner 2’s bitcoin Owner 1 – John Owner 2 - Mary
  • 21. HASHING – A CRYPTOGRAPHIC FUNCTION  Hashing is to encrypt data.  Hash is like “fingerprint”, is difficult to make but easy to verify. 21
  • 22. A SIMPLE HASH FUNCTION =1.73205080756888 =1.73207967484178 =1.73202193981485 =207.66078108299600 22 Square root function can be a hash for the numbers.
  • 23. SHA-256 HASH 23 SHA means Secured Hash Algorithm. There are 2256 possible combinations of Hash value (1.15792 x 1077) https://www.xorbin.com/tools/sha256-hash-calculator
  • 24. 24
  • 25. DIFFICULTY AND NONCE 25  Requiring more 0’s at the beginning of hash makes hash number smaller and needs more iterations to get hash
  • 26. WHY INCREASES DIFFICULTY?  To offset increasing computing power in the bitcoin network  In Aug.,2019, a valid bitcoin hash starts with 19 zeros.  Difficulty = block 0 difficulty / current target difficulty  Difficulty is adjusted every 2016 blocks to maintain one block output per 10 minutes.  Or, average time to build a block * hash rate = constant 26
  • 27. WHY NONCE?  Nonce is a random number.  It makes the number of iterations of hash change randomly.  It is like lottery.  The chance of winning becomes proportional to the hashing power.  This is to equalize the chance of winning the reward. 27
  • 29. HASH RATE 2017~2019 29 80 million tera (1012 ) -hash/s or 80 exa (1018 ) -hash/s
  • 30. THREE WAYS TO MINE BITCOINS  Solo miners  Join mining pool  Cloud mining 30https://www.buybitcoinworldwide.com/mining/pools/
  • 31. MINING BITCOIN WITH PC  Intel Pentium Core i5 PC ~ 20 M (106 ) hash/s 31 https://www.buybitcoinworldwide.com/mining/calculator/
  • 32. BITCOIN MINING  Mining is a computation-intensive work. 32
  • 34. BLOCK CONSISTS OF HASHES OF TRANSACTIONS  Merkle tree is the hash of multiple transactions 34
  • 35. BLOCK HEADER 35 New block header Noncenonce Block related information Merkle root hash and Time stamp Difficulty Guessing number
  • 36. LATEST BLOCK AT 14:08 2019/8/4 36
  • 37. PROOF OF WORK  All the above tasks performed by the miners is called Proof of Work.  PoW is energy intensive.  Bitcoin mining consumes 30 TWh in 2017 alone, more energy than 159 countries.  PoW makes the bitcoin trustable.  Any process which builds trust in a blockchain is called consensus. 37
  • 38. BITCOIN IS DIVISABLE 38 5 Bitcoins In address 1 3 Bitcoins In address 2 2 Bitcoins In address 3 John Mary John  When John pays out of address 1, address 1 is no longer valid.  Mary created address 2 to receive 3 bitcoins.  John created address 3 to receive 2 bitcoins as change.  If John does not create address 3, miner will create address 3 to receive the difference.  It is considered as transaction fee. INPUT OUTPUT
  • 40. BLOCKCHAIN IS  Distributed database – to make the database immutable  Cryptography – to make the database safe  Consensus – to allow database to obey established protocol  Blockchain is also known as Mutual Distributed Ledger (MDL). 40
  • 41. BLOCKCHAIN APPLICATIONS  Cryptocurrencies.  There are more than 1,000 cryptocurrencies today.  Since blockchain is a database, it can be used for all database applications.  Most important applications are in financial area – Fintech. 41
  • 43. FINTECH USING BLOCKCHAIN  Fintech gets a boost from blockchain technology.  Secure  Fast  Built-in trust  Indestructible  Immutable  New applications 43
  • 44. VARIATIONS OF BLOCKCHAIN  Different applications of blockchain require different characteristics  Decentralized vs. centralized  Permissionless vs. permissioned  Different levels of permission 44
  • 45. BLOCKCHAIN APPLICATIONS  Smart contract (Ethereum, Microsoft)  Land registration (Japan, Sweden, Ukraine, Ghana, Georgia, etc)  Commodity trading (Mercuria, Gunvor, Trafigura, Cargill, Dreyfus, Olam etc)  Asset digitization (ACC)  Banking and payment (HSBC, Citi, Barclays, ING, Standard Chartered, etc)  Supply chain management (IBM, Alibaba etc)  Cloud data storage (Storj, Sia)  5G (Huawei) 45
  • 46. SMART CONTRACT  Contract is a document, which can be stored in the database.  A smart contract is computerized transaction protocol that executes the terms of a contract.[  Smart contracts allow the performance of credible transactions without third parties. 46
  • 47. ETHEREUM – BLOCKCHAIN WITH SMART CONTRACT  Ethereum is programmable blockchain.  These decentralized applications (or “dapps”) have the benefits of cryptocurrency and blockchain technology.  The Ethereum community is the largest and most active blockchain community in the world. 47
  • 49. MDL IS VARIATION OF BLOCKCHAIN  Independent MDL’s can work with each other.  MDL has all the quality of blockchain  Different organizations can have different MDL’s and they can share data. 49
  • 50. THREE TYPES OF MDL  Identity MDL  National ID, driver license, passport, tax ID, insurance card, library card, fingerprint, face photo, etc. all in one with security, immutability  Transaction MDL  All events require ID  Doctor visit, traffic ticket, boarding airplane, bank activity  Content MDL  Each entity has its own content MDL 50
  • 52. GOLDMAN SACHS INVESTS IN BLOCKCHAIN 52
  • 56. ALIBABA INTRODUCES BLOCKCHAIN FOR FOOD FRAUD 56
  • 57. IBM OFFERS BLOCKCHAIN SERVICES 57
  • 60. CONCLUSION  Blockchain is a revolutionary invention.  We are at the starting point to see the impact of blockchain in all aspects of the financial industry.  For more detail, refer to the book “Bitcoin, blockchain and fintech” by Len Mei in Amazon online bookstore.  https://www.amazon.com.br/dp/B07MJW4QPX 60