SlideShare a Scribd company logo
1 of 60
Download to read offline
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 blockchainLight Yagami
 
Blockchain- how it could transform business
Blockchain- how it could transform businessBlockchain- how it could transform business
Blockchain- how it could transform businessLet'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 TechnologiesHoward Smith
 
The Distributed Ledger Landscape
The Distributed Ledger LandscapeThe Distributed Ledger Landscape
The Distributed Ledger LandscapeTim Swanson
 
Cryptocurrencies: The Mechanics Economic and Finance
Cryptocurrencies: The Mechanics Economic and FinanceCryptocurrencies: The Mechanics Economic and Finance
Cryptocurrencies: The Mechanics Economic and FinanceErnie Teo
 
Blockchain technology amplify your enterprise / IBM
Blockchain technology amplify your enterprise / IBMBlockchain technology amplify your enterprise / IBM
Blockchain technology amplify your enterprise / IBMDiego Alberto Tamayo
 
Digital Digest 2 by Harshit
Digital Digest 2 by HarshitDigital Digest 2 by Harshit
Digital Digest 2 by HarshitHarshitMadan7
 
Bitcoin 3.0 - Beyond Smart Contracts
Bitcoin 3.0 - Beyond Smart ContractsBitcoin 3.0 - Beyond Smart Contracts
Bitcoin 3.0 - Beyond Smart ContractsJeff Garzik
 
Blockchains and Insurance: Opportunities and Challenges
Blockchains and Insurance: Opportunities and ChallengesBlockchains and Insurance: Opportunities and Challenges
Blockchains and Insurance: Opportunities and ChallengesChristopher Brewster
 
The Blockchain: Introduction and Implications
The Blockchain: Introduction and ImplicationsThe Blockchain: Introduction and Implications
The Blockchain: Introduction and ImplicationsMichael 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 IntellectsoftIntellectsoft
 
Introduction to Blockchain and Decentralized Apps
Introduction to Blockchain and Decentralized AppsIntroduction to Blockchain and Decentralized Apps
Introduction to Blockchain and Decentralized AppsCisco DevNet
 
Blockchain in industry 4.0
Blockchain in industry 4.0Blockchain in industry 4.0
Blockchain in industry 4.0Mujahid Hussain
 
Blockchain case study powerpoints: Brief intro
Blockchain case study powerpoints: Brief introBlockchain case study powerpoints: Brief intro
Blockchain case study powerpoints: Brief introShane 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 ServicesSunil 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 Analysiseraser Juan José Calderón
 
Blockchain demystification
Blockchain demystificationBlockchain demystification
Blockchain demystificationBellaj Badr
 
Introduction to blockchain
Introduction to blockchainIntroduction to blockchain
Introduction to blockchainKrzysztof Bury
 
Upfront Ventures blockchain and crypto deck
Upfront Ventures blockchain and crypto deckUpfront Ventures blockchain and crypto deck
Upfront Ventures blockchain and crypto deckMark 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 mattersPaul 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 economyHeung-No Lee
 
Bitcoin:Global Digital Currency
Bitcoin:Global Digital CurrencyBitcoin:Global Digital Currency
Bitcoin:Global Digital CurrencySurbhi 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-BitcoinSatwikaHotwani
 
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 Computingkumar641
 
Banking on blockchains
Banking on blockchainsBanking on blockchains
Banking on blockchainsRuben Tan
 
Bitcoin and blockchain basics
Bitcoin and blockchain basicsBitcoin and blockchain basics
Bitcoin and blockchain basicsMichele Pace
 
Blockchain Technology
Blockchain TechnologyBlockchain Technology
Blockchain TechnologySyedMahammad1
 
Blockchain Technology
Blockchain TechnologyBlockchain Technology
Blockchain TechnologyMahammad 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
 
Blockchain and Bitcoin
Blockchain and BitcoinBlockchain and Bitcoin
Blockchain and BitcoinHugo Rodrigues
 
Tutorial blockchain technical overview-ss
Tutorial blockchain technical overview-ssTutorial blockchain technical overview-ss
Tutorial blockchain technical overview-ssHoward Anglin
 
Bitcoin Technology
Bitcoin TechnologyBitcoin Technology
Bitcoin TechnologyRavi 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 CaprazSeval Ç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 eventLen Mei
 
Essences of semiconductor manufacturing 2024.pdf
Essences of semiconductor manufacturing 2024.pdfEssences of semiconductor manufacturing 2024.pdf
Essences of semiconductor manufacturing 2024.pdfLen 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.pdfLen Mei
 
Advanced lithographic technologies
Advanced lithographic technologiesAdvanced lithographic technologies
Advanced lithographic technologiesLen Mei
 
The digital economy
The digital economyThe digital economy
The digital economyLen Mei
 
A view of semiconductor industry
A view of semiconductor industryA view of semiconductor industry
A view of semiconductor industryLen Mei
 
Digital economy
Digital economyDigital economy
Digital economyLen Mei
 
Artificial intelligence
Artificial intelligenceArtificial intelligence
Artificial intelligenceLen Mei
 
Yield enhancement
Yield enhancementYield enhancement
Yield enhancementLen Mei
 
Manufacturing operation
Manufacturing operationManufacturing operation
Manufacturing operationLen 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

Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CVKhem
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxKatpro Technologies
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessPixlogix Infotech
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUK Journal
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 

Recently uploaded (20)

Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 

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