SlideShare uma empresa Scribd logo
1 de 44
Baixar para ler offline
Blockchain For Business
On Hyperledger
Anna Derbakova
Software Engineer (IBM Blockchain)
What is blockchain?
Bitcoin
Two Innovations
=
An Economic Innovation
A topic for another day…
A Technological Innovation
How is it possible that strangers on
the internet can agree on the
accounting of over $5,000,000,000
with no central authority?
A Technological Innovation
How is it possible that strangers on
the internet can agree on the
accounting of over $5,000,000,000
with no central authority?
Answer: Blockchain
More Than Bitcoin…
http://fortune.com/2016/10/19/walmart-ibm-blockchain-china-pork/
http://www.forbes.com/sites/yanzhonghuang/2014/07/16/the-2008-milk-scandal-revisited/#5adf77064428
“Consumers today want more
transparency about where and
how a product came to be.”
Frank Yiannas, vice president of food
safety at Walmart
http://blogs.wsj.com/cio/2016/10/19/wal-mart-turns-to-blockchain-for-tracking-pork-in-china/
Blockchain
• Database
• Consensus Algorithms
• Peer-to-peer Communication
• Cryptography
Block—chain
• Hash — Fingerprint of data
Hash Function
SHA-256
All Things Open
2016!
699dcaa3389
af4a4a248e89
9a168132277
c28f2cee8d99
4f69815c9047
d6bcdc
Block—chain
• Block — Collection of transactions +
hash of previous block
Tx_1
Tx_2
Tx_3
…
Hash Function
SHA-256
bbf465d0c7b8
01a933714c4
a5200f0d74af
c80492f1b4ac
b3b48d51b94
3ef1e7
Block—chain
• Block — Collection of transactions +
hash of previous block
Tx_1
Tx_2
Tx_3
…
Tx_1
Tx_2
Tx_3
…
Tx_1
Tx_2
Tx_3
…
…
Block—chain
• Block — Collection of transactions +
hash of previous block
Tx_1
Tx_2
Tx_3
…
Tx_1
Tx_2
Tx_3
…
Tx_1
Tx_2
Tx_3
…
…
Blockchain
• Database
• Consensus Algorithms
• Peer-to-peer Communication
• Cryptography
The Really Hard Stuff
Consensus
Consensus
Alice
Bob
Chuck
Dave
Which check
will bounce?
$75
$75
$75
$100
Blockchain
• Database
• Consensus Algorithms
• Peer-to-peer Communication
• Cryptography
Business Use Cases
Asset Transfer
• Anything that is capable of being owned or
controlled to produce value, is an asset
• Two fundamental types of assets
– Tangible, e.g. a house
– Intangible e.g. a mortgage
• Intangible assets subdivide
– Financial, e.g. bond
– Intellectual e.g. patents
– Digital e.g. music
• Cash is also an asset
Transferring An Asset
• Asset is codified within a (smart) contract
• Asset is exchanged by updating contract state
through an available action
vehicleState:
var vin
var manufacturer
var make
var model
var year
var owner
vehicleContract:
createVehicle
scrapVehicle
updateOwner
Pork Supply Chain
Hyperledger Project
Hyperledger Project
• Cross-industry collaborative effort to support
blockchain-based distributed ledgers
• Focused on ledgers designed to support global
business transactions
• Develop open protocols and standards for supporting
blockchain
• https://www.hyperledger.org/
How Is Hyperledger Different?
• Permissioned blockchain
• No miners or coins
• Provides a modular framework that supports different
components for different uses
• Other consensus schemes, like PBFT (Practical
Byzantine Fault Tolerance) may be used
Let’s Build an app!
Blockchain Application
Blockchain Network
Blockchain Application Web Application
End User
Transaction
HTTP Request
Browser, mobile, etc.
Chaincode (contract)
Chaincode
Peer
Ledger
Membership
Service
REST
Blockchain Network
Blockchain Network
Blockchain Application Web Application
End User
Transaction
HTTP Request
Browser, mobile, etc.
Chaincode (contract)
Chaincode
Peer
Ledger
Membership
Service
REST
• Docker images provided
• Single peer + membership service
• Four peers + membership service
Blockchain Network
Peer
Ledger
Membership
Service
Chaincode (Smart Contract)
Blockchain Network
Blockchain Application Web Application
End User
Transaction
HTTP Request
Browser, mobile, etc.
Chaincode (contract)
Chaincode
Peer
Ledger
Membership
Service
REST
• Implemented in Go
• Packaged together with dependencies
• Docker container running on the validating peer
Chaincode (Smart Contract)
Peer
Ledger
Chaincode
Query
Init
Invoke
• Stores the “account” state variable
• Invoke action adds value to “account”
• Query action retrieves the value of “account”
Crowd Funding Chaincode
Chaincode
Query
Init
Invoke
accountState:
var amount
accountContract:
addValue
Web Application
Blockchain Network
Blockchain Application Web Application
End User
Transaction
HTTP Request
Browser, mobile, etc.
Chaincode (contract)
Chaincode
Peer
Ledger
Membership
Service
REST
Web Application
Blockchain Network
Blockchain Application
Transaction
Chaincode
Peer
Ledger
Membership
Service
• Implemented with Node.js (uses the “hfc” NPM module)
• Registers and enrolls users
• Deploys, invokes, and queries the chaincode
Web Application
REST
Front End Application
Blockchain Network
Blockchain Application Web Application
End User
Transaction
HTTP Request
Browser, mobile, etc.
Chaincode (contract)
Chaincode
Peer
Ledger
Membership
Service
REST
Getting Started Tutorial: http://bit.ly/hyperledger-basics
Questions?
Anna Derbakova: adderbak@us.ibm.com
https://www.linkedin.com/in/annadderbakova
Backup
Proof of Work*
Alice Bob Chuck Dave
$100 $100 $100 $100
Honest Honest HonestDishonest
Our Simple
Bank has four
account holders
and no central
authority. How
can we reach
consensus on
our account
values?
*This simplistic example leaves out details for the purpose of explaining PoW in 5 minutes.
Proof of Work
Everyone starts
trying to solve a
very difficult (but
easily verifiable)
problem. It’s so
difficult, with four
people working, it
will only be solved
once every 10
minutes.
Alice Bob Chuck Dave
$100 $100 $100 $100
Honest Honest HonestDishonest
Proof of Work
While attempting
to solve the
problem, our
actors also
announce
transactions.
Alice - send $50 to Dave
Bob - send $20 to Alice
Chuck - send $1,000 to Dave
Alice Bob Chuck Dave
$100 $100 $100 $100
Honest Honest HonestDishonest
Proof of Work
Alice solves
the problem
first. She
announces
the solution.
Valid transactions Alice heard
Alice - send $50 to Dave
Bob - send $20 to Alice
= hash solution +Alice’s
block
Alice Bob Chuck Dave
$100 $100 $100 $100
$150$100$80$70
Proof of Work
Alice Bob Chuck Dave
Honest Honest HonestDishonest
After verifying
Alice’s solution,
everyone starts
working on a
new problem
that includes
the hash of
Alice’s block.
Alice’s
block
Alice Bob Chuck Dave
Proof of Work
Alice Bob Chuck Dave
$70 $80 $100 $150
Honest Honest HonestDishonest
Bob finds
the next
solution.
New transactions
Dave - send $10 to Bob
Dave - send $20 to Alice
= hash (solution +Alice’s
block
)Bob’s
block
Proof of Work
Alice Bob Chuck Dave
$90 $90 $100 $120
Honest Honest HonestDishonest
Chuck finds the next
solution, but includes
fake transactions his
block.
Alice, Bob, and Dave
ignore his block and
keep looking for
another solution.
Alice’s
block
Bob’s
block
Chuck’s
block
Proof of Work
Alice Bob Chuck Dave
$90 $90 $100 $120
Honest Honest HonestDishonest
Chuck finds the
solution again, but
he doesn’t include
previous blocks in
an attempt to erase
old transactions.
Again, he is
ignored because
it’s not the longest
chain.Alice’s
block
Bob’s
block
Chuck’s
block
Proof of Work
Alice Bob Chuck Dave
$90 $90 $100 $120
Honest Honest HonestDishonest
Chuck can’t
fake a longer
chain because
solving these
problems
requires too
much work.
Chuck gives
up!
Alice’s
block
Bob’s
block

Mais conteúdo relacionado

Mais procurados

Interconnect_Blockchain One Year On
Interconnect_Blockchain One Year OnInterconnect_Blockchain One Year On
Interconnect_Blockchain One Year OnKathryn Harrison
 
Hyperledger Fabric: A Custom Blockchain Solution for Corporate Use
Hyperledger Fabric: A Custom Blockchain Solution for Corporate UseHyperledger Fabric: A Custom Blockchain Solution for Corporate Use
Hyperledger Fabric: A Custom Blockchain Solution for Corporate UseRobert Tochman-Szewc
 
Brussels Hyperledger Meetup - IBM Blockchain Explained
Brussels Hyperledger Meetup - IBM Blockchain ExplainedBrussels Hyperledger Meetup - IBM Blockchain Explained
Brussels Hyperledger Meetup - IBM Blockchain ExplainedDavid Smits
 
Ibm system storage solutions handbook
Ibm system storage solutions handbook Ibm system storage solutions handbook
Ibm system storage solutions handbook Diego Alberto Tamayo
 
Blockchain explained FIATA Congress 20180910
Blockchain explained FIATA Congress 20180910Blockchain explained FIATA Congress 20180910
Blockchain explained FIATA Congress 20180910Arnaud Le Hors
 
Blockchain session @ 2nd Bluemix Meetup
Blockchain session @  2nd Bluemix MeetupBlockchain session @  2nd Bluemix Meetup
Blockchain session @ 2nd Bluemix MeetupAlberto Miyazaki
 
Blockchain - HyperLedger Fabric
Blockchain - HyperLedger FabricBlockchain - HyperLedger Fabric
Blockchain - HyperLedger FabricAraf Karsh Hamid
 
Introduction to Blockchain and the Hyperledger Project
Introduction to Blockchain and the Hyperledger ProjectIntroduction to Blockchain and the Hyperledger Project
Introduction to Blockchain and the Hyperledger ProjectManuel Garcia
 
Blockchain a-new-disruption-in-financial-servies by ibm
Blockchain a-new-disruption-in-financial-servies by ibm Blockchain a-new-disruption-in-financial-servies by ibm
Blockchain a-new-disruption-in-financial-servies by ibm Diego Alberto Tamayo
 
Blockchain Hyperledger Lab
Blockchain Hyperledger LabBlockchain Hyperledger Lab
Blockchain Hyperledger LabDev_Events
 
IBM Cloud Côte D'Azur Meetup - 20181004 - Blockchain Hyperledger Workshop
IBM Cloud Côte D'Azur Meetup - 20181004 - Blockchain Hyperledger WorkshopIBM Cloud Côte D'Azur Meetup - 20181004 - Blockchain Hyperledger Workshop
IBM Cloud Côte D'Azur Meetup - 20181004 - Blockchain Hyperledger WorkshopIBM France Lab
 
Demystify blockchain development with hyperledger fabric
Demystify blockchain development with hyperledger fabricDemystify blockchain development with hyperledger fabric
Demystify blockchain development with hyperledger fabricBenjamin Fuentes
 
Anatomy of a hyperledger application
Anatomy of a hyperledger applicationAnatomy of a hyperledger application
Anatomy of a hyperledger applicationEric Cattoir
 
Blockchain Experiments in Trade Finance and IoT
Blockchain Experiments in Trade Finance and IoTBlockchain Experiments in Trade Finance and IoT
Blockchain Experiments in Trade Finance and IoTAltoros
 
Hyperledger Lightning Talk
Hyperledger Lightning TalkHyperledger Lightning Talk
Hyperledger Lightning TalkAndrew Kennedy
 
Deploying and Managing a Global Blockchain Network
Deploying and Managing a Global Blockchain NetworkDeploying and Managing a Global Blockchain Network
Deploying and Managing a Global Blockchain NetworkDuncan Johnston-Watt
 

Mais procurados (20)

Interconnect_Blockchain One Year On
Interconnect_Blockchain One Year OnInterconnect_Blockchain One Year On
Interconnect_Blockchain One Year On
 
Hyperledger Fabric: A Custom Blockchain Solution for Corporate Use
Hyperledger Fabric: A Custom Blockchain Solution for Corporate UseHyperledger Fabric: A Custom Blockchain Solution for Corporate Use
Hyperledger Fabric: A Custom Blockchain Solution for Corporate Use
 
Brussels Hyperledger Meetup - IBM Blockchain Explained
Brussels Hyperledger Meetup - IBM Blockchain ExplainedBrussels Hyperledger Meetup - IBM Blockchain Explained
Brussels Hyperledger Meetup - IBM Blockchain Explained
 
Ibm system storage solutions handbook
Ibm system storage solutions handbook Ibm system storage solutions handbook
Ibm system storage solutions handbook
 
Blockchain explained FIATA Congress 20180910
Blockchain explained FIATA Congress 20180910Blockchain explained FIATA Congress 20180910
Blockchain explained FIATA Congress 20180910
 
Blockchain session @ 2nd Bluemix Meetup
Blockchain session @  2nd Bluemix MeetupBlockchain session @  2nd Bluemix Meetup
Blockchain session @ 2nd Bluemix Meetup
 
Blockchain - HyperLedger Fabric
Blockchain - HyperLedger FabricBlockchain - HyperLedger Fabric
Blockchain - HyperLedger Fabric
 
Introduction to Blockchain and the Hyperledger Project
Introduction to Blockchain and the Hyperledger ProjectIntroduction to Blockchain and the Hyperledger Project
Introduction to Blockchain and the Hyperledger Project
 
Introduction to Blockchain
Introduction to BlockchainIntroduction to Blockchain
Introduction to Blockchain
 
Blockchain a-new-disruption-in-financial-servies by ibm
Blockchain a-new-disruption-in-financial-servies by ibm Blockchain a-new-disruption-in-financial-servies by ibm
Blockchain a-new-disruption-in-financial-servies by ibm
 
IBM-BLOCKCHAIN-DECK
IBM-BLOCKCHAIN-DECKIBM-BLOCKCHAIN-DECK
IBM-BLOCKCHAIN-DECK
 
Blockchain Hyperledger Lab
Blockchain Hyperledger LabBlockchain Hyperledger Lab
Blockchain Hyperledger Lab
 
IBM Cloud Côte D'Azur Meetup - 20181004 - Blockchain Hyperledger Workshop
IBM Cloud Côte D'Azur Meetup - 20181004 - Blockchain Hyperledger WorkshopIBM Cloud Côte D'Azur Meetup - 20181004 - Blockchain Hyperledger Workshop
IBM Cloud Côte D'Azur Meetup - 20181004 - Blockchain Hyperledger Workshop
 
Demystify blockchain development with hyperledger fabric
Demystify blockchain development with hyperledger fabricDemystify blockchain development with hyperledger fabric
Demystify blockchain development with hyperledger fabric
 
Anatomy of a hyperledger application
Anatomy of a hyperledger applicationAnatomy of a hyperledger application
Anatomy of a hyperledger application
 
1. ibm blockchain explained
1. ibm blockchain explained1. ibm blockchain explained
1. ibm blockchain explained
 
IBM Blockchain Overview
IBM Blockchain OverviewIBM Blockchain Overview
IBM Blockchain Overview
 
Blockchain Experiments in Trade Finance and IoT
Blockchain Experiments in Trade Finance and IoTBlockchain Experiments in Trade Finance and IoT
Blockchain Experiments in Trade Finance and IoT
 
Hyperledger Lightning Talk
Hyperledger Lightning TalkHyperledger Lightning Talk
Hyperledger Lightning Talk
 
Deploying and Managing a Global Blockchain Network
Deploying and Managing a Global Blockchain NetworkDeploying and Managing a Global Blockchain Network
Deploying and Managing a Global Blockchain Network
 

Semelhante a Blockchain For Business On Hyperledger

Blockchain 50 companies
Blockchain 50 companiesBlockchain 50 companies
Blockchain 50 companiesmakipei
 
Serverless Evolution during 3 years of Serverless Toronto
Serverless Evolution during 3 years of Serverless TorontoServerless Evolution during 3 years of Serverless Toronto
Serverless Evolution during 3 years of Serverless TorontoDaniel Zivkovic
 
What is Blockchain and why should we care?
What is Blockchain and why should we care?What is Blockchain and why should we care?
What is Blockchain and why should we care?Paul Johnston
 
SAA Blockchain Presentation. 10 Startups using the Blockchain
SAA Blockchain Presentation.  10 Startups using the BlockchainSAA Blockchain Presentation.  10 Startups using the Blockchain
SAA Blockchain Presentation. 10 Startups using the BlockchainTom McGovern
 
BlockChain Tutorial | Getting Started With BlockChain | BlockChain Certificat...
BlockChain Tutorial | Getting Started With BlockChain | BlockChain Certificat...BlockChain Tutorial | Getting Started With BlockChain | BlockChain Certificat...
BlockChain Tutorial | Getting Started With BlockChain | BlockChain Certificat...Edureka!
 
[db tech showcase Tokyo 2018] #dbts2018 #B23 『Python, Oracle Cloud, Blockchai...
[db tech showcase Tokyo 2018] #dbts2018 #B23 『Python, Oracle Cloud, Blockchai...[db tech showcase Tokyo 2018] #dbts2018 #B23 『Python, Oracle Cloud, Blockchai...
[db tech showcase Tokyo 2018] #dbts2018 #B23 『Python, Oracle Cloud, Blockchai...Insight Technology, Inc.
 
What is future of Cryptocurrency | Omega Prime Group
What is future of Cryptocurrency | Omega Prime GroupWhat is future of Cryptocurrency | Omega Prime Group
What is future of Cryptocurrency | Omega Prime GroupOmega Prime Group Hashtechz
 
8base Hyperledger Miami Meetup Presentation
8base Hyperledger Miami Meetup Presentation8base Hyperledger Miami Meetup Presentation
8base Hyperledger Miami Meetup Presentation8base
 
8base Hyperledger Miami Meetup 20180719
8base Hyperledger Miami Meetup 201807198base Hyperledger Miami Meetup 20180719
8base Hyperledger Miami Meetup 20180719Oscar Perez
 
Introduction to Bitcoin & Blockchain @ darefest16
Introduction to Bitcoin & Blockchain @ darefest16Introduction to Bitcoin & Blockchain @ darefest16
Introduction to Bitcoin & Blockchain @ darefest16Sam Wouters
 
Blockchain Explained | Blockchain Simplified | Blockchain Technology | Blockc...
Blockchain Explained | Blockchain Simplified | Blockchain Technology | Blockc...Blockchain Explained | Blockchain Simplified | Blockchain Technology | Blockc...
Blockchain Explained | Blockchain Simplified | Blockchain Technology | Blockc...Edureka!
 
Blockchain Introduction - Canada Nov 2017.pptx
Blockchain Introduction - Canada Nov 2017.pptxBlockchain Introduction - Canada Nov 2017.pptx
Blockchain Introduction - Canada Nov 2017.pptxAntony Welfare
 
Flaying the Blockchain Ledger for Fun, Profit, and Hip Hop
Flaying the Blockchain Ledger for Fun, Profit, and Hip HopFlaying the Blockchain Ledger for Fun, Profit, and Hip Hop
Flaying the Blockchain Ledger for Fun, Profit, and Hip HopAndrew Morris
 
CBGTBT - Part 1 - Workshop introduction & primer
CBGTBT - Part 1 - Workshop introduction & primerCBGTBT - Part 1 - Workshop introduction & primer
CBGTBT - Part 1 - Workshop introduction & primerBlockstrap.com
 
Bitcoin, Blockchain, and current trends in China
Bitcoin, Blockchain, and current trends in ChinaBitcoin, Blockchain, and current trends in China
Bitcoin, Blockchain, and current trends in ChinaBenjamin Chodroff
 
14 Jan17- Nullmeets -Blockchain concept decoded by Ninad Sarang
14 Jan17- Nullmeets -Blockchain concept decoded by Ninad Sarang14 Jan17- Nullmeets -Blockchain concept decoded by Ninad Sarang
14 Jan17- Nullmeets -Blockchain concept decoded by Ninad SarangNinad Sarang
 
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
 
Alternative Business Models: open-source, crowd funding and tokenisation
Alternative Business Models: open-source, crowd funding and tokenisationAlternative Business Models: open-source, crowd funding and tokenisation
Alternative Business Models: open-source, crowd funding and tokenisationCambridge Product Management Network
 

Semelhante a Blockchain For Business On Hyperledger (20)

Blockchain 50 companies
Blockchain 50 companiesBlockchain 50 companies
Blockchain 50 companies
 
Serverless Evolution during 3 years of Serverless Toronto
Serverless Evolution during 3 years of Serverless TorontoServerless Evolution during 3 years of Serverless Toronto
Serverless Evolution during 3 years of Serverless Toronto
 
What is Blockchain and why should we care?
What is Blockchain and why should we care?What is Blockchain and why should we care?
What is Blockchain and why should we care?
 
SAA Blockchain Presentation. 10 Startups using the Blockchain
SAA Blockchain Presentation.  10 Startups using the BlockchainSAA Blockchain Presentation.  10 Startups using the Blockchain
SAA Blockchain Presentation. 10 Startups using the Blockchain
 
BlockChain Tutorial | Getting Started With BlockChain | BlockChain Certificat...
BlockChain Tutorial | Getting Started With BlockChain | BlockChain Certificat...BlockChain Tutorial | Getting Started With BlockChain | BlockChain Certificat...
BlockChain Tutorial | Getting Started With BlockChain | BlockChain Certificat...
 
[db tech showcase Tokyo 2018] #dbts2018 #B23 『Python, Oracle Cloud, Blockchai...
[db tech showcase Tokyo 2018] #dbts2018 #B23 『Python, Oracle Cloud, Blockchai...[db tech showcase Tokyo 2018] #dbts2018 #B23 『Python, Oracle Cloud, Blockchai...
[db tech showcase Tokyo 2018] #dbts2018 #B23 『Python, Oracle Cloud, Blockchai...
 
What is future of Cryptocurrency | Omega Prime Group
What is future of Cryptocurrency | Omega Prime GroupWhat is future of Cryptocurrency | Omega Prime Group
What is future of Cryptocurrency | Omega Prime Group
 
8base Hyperledger Miami Meetup Presentation
8base Hyperledger Miami Meetup Presentation8base Hyperledger Miami Meetup Presentation
8base Hyperledger Miami Meetup Presentation
 
8base Hyperledger Miami Meetup 20180719
8base Hyperledger Miami Meetup 201807198base Hyperledger Miami Meetup 20180719
8base Hyperledger Miami Meetup 20180719
 
Introduction to Bitcoin & Blockchain @ darefest16
Introduction to Bitcoin & Blockchain @ darefest16Introduction to Bitcoin & Blockchain @ darefest16
Introduction to Bitcoin & Blockchain @ darefest16
 
Blockchain Explained | Blockchain Simplified | Blockchain Technology | Blockc...
Blockchain Explained | Blockchain Simplified | Blockchain Technology | Blockc...Blockchain Explained | Blockchain Simplified | Blockchain Technology | Blockc...
Blockchain Explained | Blockchain Simplified | Blockchain Technology | Blockc...
 
Blockchain Introduction - Canada Nov 2017.pptx
Blockchain Introduction - Canada Nov 2017.pptxBlockchain Introduction - Canada Nov 2017.pptx
Blockchain Introduction - Canada Nov 2017.pptx
 
Flaying the Blockchain Ledger for Fun, Profit, and Hip Hop
Flaying the Blockchain Ledger for Fun, Profit, and Hip HopFlaying the Blockchain Ledger for Fun, Profit, and Hip Hop
Flaying the Blockchain Ledger for Fun, Profit, and Hip Hop
 
Masterclass on Bitcoin, Ethereum & Cryptoassets
Masterclass on Bitcoin, Ethereum & CryptoassetsMasterclass on Bitcoin, Ethereum & Cryptoassets
Masterclass on Bitcoin, Ethereum & Cryptoassets
 
Blockchain
BlockchainBlockchain
Blockchain
 
CBGTBT - Part 1 - Workshop introduction & primer
CBGTBT - Part 1 - Workshop introduction & primerCBGTBT - Part 1 - Workshop introduction & primer
CBGTBT - Part 1 - Workshop introduction & primer
 
Bitcoin, Blockchain, and current trends in China
Bitcoin, Blockchain, and current trends in ChinaBitcoin, Blockchain, and current trends in China
Bitcoin, Blockchain, and current trends in China
 
14 Jan17- Nullmeets -Blockchain concept decoded by Ninad Sarang
14 Jan17- Nullmeets -Blockchain concept decoded by Ninad Sarang14 Jan17- Nullmeets -Blockchain concept decoded by Ninad Sarang
14 Jan17- Nullmeets -Blockchain concept decoded by Ninad Sarang
 
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)
 
Alternative Business Models: open-source, crowd funding and tokenisation
Alternative Business Models: open-source, crowd funding and tokenisationAlternative Business Models: open-source, crowd funding and tokenisation
Alternative Business Models: open-source, crowd funding and tokenisation
 

Mais de All Things Open

Building Reliability - The Realities of Observability
Building Reliability - The Realities of ObservabilityBuilding Reliability - The Realities of Observability
Building Reliability - The Realities of ObservabilityAll Things Open
 
Modern Database Best Practices
Modern Database Best PracticesModern Database Best Practices
Modern Database Best PracticesAll Things Open
 
Open Source and Public Policy
Open Source and Public PolicyOpen Source and Public Policy
Open Source and Public PolicyAll Things Open
 
Weaving Microservices into a Unified GraphQL Schema with graph-quilt - Ashpak...
Weaving Microservices into a Unified GraphQL Schema with graph-quilt - Ashpak...Weaving Microservices into a Unified GraphQL Schema with graph-quilt - Ashpak...
Weaving Microservices into a Unified GraphQL Schema with graph-quilt - Ashpak...All Things Open
 
The State of Passwordless Auth on the Web - Phil Nash
The State of Passwordless Auth on the Web - Phil NashThe State of Passwordless Auth on the Web - Phil Nash
The State of Passwordless Auth on the Web - Phil NashAll Things Open
 
Total ReDoS: The dangers of regex in JavaScript
Total ReDoS: The dangers of regex in JavaScriptTotal ReDoS: The dangers of regex in JavaScript
Total ReDoS: The dangers of regex in JavaScriptAll Things Open
 
What Does Real World Mass Adoption of Decentralized Tech Look Like?
What Does Real World Mass Adoption of Decentralized Tech Look Like?What Does Real World Mass Adoption of Decentralized Tech Look Like?
What Does Real World Mass Adoption of Decentralized Tech Look Like?All Things Open
 
How to Write & Deploy a Smart Contract
How to Write & Deploy a Smart ContractHow to Write & Deploy a Smart Contract
How to Write & Deploy a Smart ContractAll Things Open
 
Spinning Your Drones with Cadence Workflows, Apache Kafka and TensorFlow
 Spinning Your Drones with Cadence Workflows, Apache Kafka and TensorFlow Spinning Your Drones with Cadence Workflows, Apache Kafka and TensorFlow
Spinning Your Drones with Cadence Workflows, Apache Kafka and TensorFlowAll Things Open
 
DEI Challenges and Success
DEI Challenges and SuccessDEI Challenges and Success
DEI Challenges and SuccessAll Things Open
 
Scaling Web Applications with Background
Scaling Web Applications with BackgroundScaling Web Applications with Background
Scaling Web Applications with BackgroundAll Things Open
 
Supercharging tutorials with WebAssembly
Supercharging tutorials with WebAssemblySupercharging tutorials with WebAssembly
Supercharging tutorials with WebAssemblyAll Things Open
 
Using SQL to Find Needles in Haystacks
Using SQL to Find Needles in HaystacksUsing SQL to Find Needles in Haystacks
Using SQL to Find Needles in HaystacksAll Things Open
 
Configuration Security as a Game of Pursuit Intercept
Configuration Security as a Game of Pursuit InterceptConfiguration Security as a Game of Pursuit Intercept
Configuration Security as a Game of Pursuit InterceptAll Things Open
 
Scaling an Open Source Sponsorship Program
Scaling an Open Source Sponsorship ProgramScaling an Open Source Sponsorship Program
Scaling an Open Source Sponsorship ProgramAll Things Open
 
Build Developer Experience Teams for Open Source
Build Developer Experience Teams for Open SourceBuild Developer Experience Teams for Open Source
Build Developer Experience Teams for Open SourceAll Things Open
 
Deploying Models at Scale with Apache Beam
Deploying Models at Scale with Apache BeamDeploying Models at Scale with Apache Beam
Deploying Models at Scale with Apache BeamAll Things Open
 
Sudo – Giving access while staying in control
Sudo – Giving access while staying in controlSudo – Giving access while staying in control
Sudo – Giving access while staying in controlAll Things Open
 
Fortifying the Future: Tackling Security Challenges in AI/ML Applications
Fortifying the Future: Tackling Security Challenges in AI/ML ApplicationsFortifying the Future: Tackling Security Challenges in AI/ML Applications
Fortifying the Future: Tackling Security Challenges in AI/ML ApplicationsAll Things Open
 
Securing Cloud Resources Deployed with Control Planes on Kubernetes using Gov...
Securing Cloud Resources Deployed with Control Planes on Kubernetes using Gov...Securing Cloud Resources Deployed with Control Planes on Kubernetes using Gov...
Securing Cloud Resources Deployed with Control Planes on Kubernetes using Gov...All Things Open
 

Mais de All Things Open (20)

Building Reliability - The Realities of Observability
Building Reliability - The Realities of ObservabilityBuilding Reliability - The Realities of Observability
Building Reliability - The Realities of Observability
 
Modern Database Best Practices
Modern Database Best PracticesModern Database Best Practices
Modern Database Best Practices
 
Open Source and Public Policy
Open Source and Public PolicyOpen Source and Public Policy
Open Source and Public Policy
 
Weaving Microservices into a Unified GraphQL Schema with graph-quilt - Ashpak...
Weaving Microservices into a Unified GraphQL Schema with graph-quilt - Ashpak...Weaving Microservices into a Unified GraphQL Schema with graph-quilt - Ashpak...
Weaving Microservices into a Unified GraphQL Schema with graph-quilt - Ashpak...
 
The State of Passwordless Auth on the Web - Phil Nash
The State of Passwordless Auth on the Web - Phil NashThe State of Passwordless Auth on the Web - Phil Nash
The State of Passwordless Auth on the Web - Phil Nash
 
Total ReDoS: The dangers of regex in JavaScript
Total ReDoS: The dangers of regex in JavaScriptTotal ReDoS: The dangers of regex in JavaScript
Total ReDoS: The dangers of regex in JavaScript
 
What Does Real World Mass Adoption of Decentralized Tech Look Like?
What Does Real World Mass Adoption of Decentralized Tech Look Like?What Does Real World Mass Adoption of Decentralized Tech Look Like?
What Does Real World Mass Adoption of Decentralized Tech Look Like?
 
How to Write & Deploy a Smart Contract
How to Write & Deploy a Smart ContractHow to Write & Deploy a Smart Contract
How to Write & Deploy a Smart Contract
 
Spinning Your Drones with Cadence Workflows, Apache Kafka and TensorFlow
 Spinning Your Drones with Cadence Workflows, Apache Kafka and TensorFlow Spinning Your Drones with Cadence Workflows, Apache Kafka and TensorFlow
Spinning Your Drones with Cadence Workflows, Apache Kafka and TensorFlow
 
DEI Challenges and Success
DEI Challenges and SuccessDEI Challenges and Success
DEI Challenges and Success
 
Scaling Web Applications with Background
Scaling Web Applications with BackgroundScaling Web Applications with Background
Scaling Web Applications with Background
 
Supercharging tutorials with WebAssembly
Supercharging tutorials with WebAssemblySupercharging tutorials with WebAssembly
Supercharging tutorials with WebAssembly
 
Using SQL to Find Needles in Haystacks
Using SQL to Find Needles in HaystacksUsing SQL to Find Needles in Haystacks
Using SQL to Find Needles in Haystacks
 
Configuration Security as a Game of Pursuit Intercept
Configuration Security as a Game of Pursuit InterceptConfiguration Security as a Game of Pursuit Intercept
Configuration Security as a Game of Pursuit Intercept
 
Scaling an Open Source Sponsorship Program
Scaling an Open Source Sponsorship ProgramScaling an Open Source Sponsorship Program
Scaling an Open Source Sponsorship Program
 
Build Developer Experience Teams for Open Source
Build Developer Experience Teams for Open SourceBuild Developer Experience Teams for Open Source
Build Developer Experience Teams for Open Source
 
Deploying Models at Scale with Apache Beam
Deploying Models at Scale with Apache BeamDeploying Models at Scale with Apache Beam
Deploying Models at Scale with Apache Beam
 
Sudo – Giving access while staying in control
Sudo – Giving access while staying in controlSudo – Giving access while staying in control
Sudo – Giving access while staying in control
 
Fortifying the Future: Tackling Security Challenges in AI/ML Applications
Fortifying the Future: Tackling Security Challenges in AI/ML ApplicationsFortifying the Future: Tackling Security Challenges in AI/ML Applications
Fortifying the Future: Tackling Security Challenges in AI/ML Applications
 
Securing Cloud Resources Deployed with Control Planes on Kubernetes using Gov...
Securing Cloud Resources Deployed with Control Planes on Kubernetes using Gov...Securing Cloud Resources Deployed with Control Planes on Kubernetes using Gov...
Securing Cloud Resources Deployed with Control Planes on Kubernetes using Gov...
 

Último

A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
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
 
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
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhisoniya singh
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024Scott Keck-Warren
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
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
 
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
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxOnBoard
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...shyamraj55
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix Infotech
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Paola De la Torre
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksSoftradix Technologies
 

Último (20)

A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
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
 
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
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
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
 
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
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptx
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other Frameworks
 

Blockchain For Business On Hyperledger

  • 1. Blockchain For Business On Hyperledger Anna Derbakova Software Engineer (IBM Blockchain)
  • 4. An Economic Innovation A topic for another day…
  • 5. A Technological Innovation How is it possible that strangers on the internet can agree on the accounting of over $5,000,000,000 with no central authority?
  • 6. A Technological Innovation How is it possible that strangers on the internet can agree on the accounting of over $5,000,000,000 with no central authority? Answer: Blockchain
  • 7. More Than Bitcoin… http://fortune.com/2016/10/19/walmart-ibm-blockchain-china-pork/ http://www.forbes.com/sites/yanzhonghuang/2014/07/16/the-2008-milk-scandal-revisited/#5adf77064428 “Consumers today want more transparency about where and how a product came to be.” Frank Yiannas, vice president of food safety at Walmart http://blogs.wsj.com/cio/2016/10/19/wal-mart-turns-to-blockchain-for-tracking-pork-in-china/
  • 8. Blockchain • Database • Consensus Algorithms • Peer-to-peer Communication • Cryptography
  • 9. Block—chain • Hash — Fingerprint of data Hash Function SHA-256 All Things Open 2016! 699dcaa3389 af4a4a248e89 9a168132277 c28f2cee8d99 4f69815c9047 d6bcdc
  • 10. Block—chain • Block — Collection of transactions + hash of previous block Tx_1 Tx_2 Tx_3 … Hash Function SHA-256 bbf465d0c7b8 01a933714c4 a5200f0d74af c80492f1b4ac b3b48d51b94 3ef1e7
  • 11. Block—chain • Block — Collection of transactions + hash of previous block Tx_1 Tx_2 Tx_3 … Tx_1 Tx_2 Tx_3 … Tx_1 Tx_2 Tx_3 … …
  • 12. Block—chain • Block — Collection of transactions + hash of previous block Tx_1 Tx_2 Tx_3 … Tx_1 Tx_2 Tx_3 … Tx_1 Tx_2 Tx_3 … …
  • 13. Blockchain • Database • Consensus Algorithms • Peer-to-peer Communication • Cryptography
  • 14. The Really Hard Stuff Consensus
  • 16. Blockchain • Database • Consensus Algorithms • Peer-to-peer Communication • Cryptography
  • 18. Asset Transfer • Anything that is capable of being owned or controlled to produce value, is an asset • Two fundamental types of assets – Tangible, e.g. a house – Intangible e.g. a mortgage • Intangible assets subdivide – Financial, e.g. bond – Intellectual e.g. patents – Digital e.g. music • Cash is also an asset
  • 19. Transferring An Asset • Asset is codified within a (smart) contract • Asset is exchanged by updating contract state through an available action vehicleState: var vin var manufacturer var make var model var year var owner vehicleContract: createVehicle scrapVehicle updateOwner
  • 22. Hyperledger Project • Cross-industry collaborative effort to support blockchain-based distributed ledgers • Focused on ledgers designed to support global business transactions • Develop open protocols and standards for supporting blockchain • https://www.hyperledger.org/
  • 23. How Is Hyperledger Different? • Permissioned blockchain • No miners or coins • Provides a modular framework that supports different components for different uses • Other consensus schemes, like PBFT (Practical Byzantine Fault Tolerance) may be used
  • 25. Blockchain Application Blockchain Network Blockchain Application Web Application End User Transaction HTTP Request Browser, mobile, etc. Chaincode (contract) Chaincode Peer Ledger Membership Service REST
  • 26. Blockchain Network Blockchain Network Blockchain Application Web Application End User Transaction HTTP Request Browser, mobile, etc. Chaincode (contract) Chaincode Peer Ledger Membership Service REST
  • 27. • Docker images provided • Single peer + membership service • Four peers + membership service Blockchain Network Peer Ledger Membership Service
  • 28. Chaincode (Smart Contract) Blockchain Network Blockchain Application Web Application End User Transaction HTTP Request Browser, mobile, etc. Chaincode (contract) Chaincode Peer Ledger Membership Service REST
  • 29. • Implemented in Go • Packaged together with dependencies • Docker container running on the validating peer Chaincode (Smart Contract) Peer Ledger Chaincode Query Init Invoke
  • 30. • Stores the “account” state variable • Invoke action adds value to “account” • Query action retrieves the value of “account” Crowd Funding Chaincode Chaincode Query Init Invoke accountState: var amount accountContract: addValue
  • 31. Web Application Blockchain Network Blockchain Application Web Application End User Transaction HTTP Request Browser, mobile, etc. Chaincode (contract) Chaincode Peer Ledger Membership Service REST
  • 32. Web Application Blockchain Network Blockchain Application Transaction Chaincode Peer Ledger Membership Service • Implemented with Node.js (uses the “hfc” NPM module) • Registers and enrolls users • Deploys, invokes, and queries the chaincode Web Application REST
  • 33. Front End Application Blockchain Network Blockchain Application Web Application End User Transaction HTTP Request Browser, mobile, etc. Chaincode (contract) Chaincode Peer Ledger Membership Service REST
  • 34. Getting Started Tutorial: http://bit.ly/hyperledger-basics Questions? Anna Derbakova: adderbak@us.ibm.com https://www.linkedin.com/in/annadderbakova
  • 36. Proof of Work* Alice Bob Chuck Dave $100 $100 $100 $100 Honest Honest HonestDishonest Our Simple Bank has four account holders and no central authority. How can we reach consensus on our account values? *This simplistic example leaves out details for the purpose of explaining PoW in 5 minutes.
  • 37. Proof of Work Everyone starts trying to solve a very difficult (but easily verifiable) problem. It’s so difficult, with four people working, it will only be solved once every 10 minutes. Alice Bob Chuck Dave $100 $100 $100 $100 Honest Honest HonestDishonest
  • 38. Proof of Work While attempting to solve the problem, our actors also announce transactions. Alice - send $50 to Dave Bob - send $20 to Alice Chuck - send $1,000 to Dave Alice Bob Chuck Dave $100 $100 $100 $100 Honest Honest HonestDishonest
  • 39. Proof of Work Alice solves the problem first. She announces the solution. Valid transactions Alice heard Alice - send $50 to Dave Bob - send $20 to Alice = hash solution +Alice’s block Alice Bob Chuck Dave $100 $100 $100 $100
  • 40. $150$100$80$70 Proof of Work Alice Bob Chuck Dave Honest Honest HonestDishonest After verifying Alice’s solution, everyone starts working on a new problem that includes the hash of Alice’s block. Alice’s block Alice Bob Chuck Dave
  • 41. Proof of Work Alice Bob Chuck Dave $70 $80 $100 $150 Honest Honest HonestDishonest Bob finds the next solution. New transactions Dave - send $10 to Bob Dave - send $20 to Alice = hash (solution +Alice’s block )Bob’s block
  • 42. Proof of Work Alice Bob Chuck Dave $90 $90 $100 $120 Honest Honest HonestDishonest Chuck finds the next solution, but includes fake transactions his block. Alice, Bob, and Dave ignore his block and keep looking for another solution. Alice’s block Bob’s block Chuck’s block
  • 43. Proof of Work Alice Bob Chuck Dave $90 $90 $100 $120 Honest Honest HonestDishonest Chuck finds the solution again, but he doesn’t include previous blocks in an attempt to erase old transactions. Again, he is ignored because it’s not the longest chain.Alice’s block Bob’s block Chuck’s block
  • 44. Proof of Work Alice Bob Chuck Dave $90 $90 $100 $120 Honest Honest HonestDishonest Chuck can’t fake a longer chain because solving these problems requires too much work. Chuck gives up! Alice’s block Bob’s block