SlideShare a Scribd company logo
1 of 18
Blockchain Workshop: Develop and
deploy applications using
Hyperledger Fabric & Composer
Horea Porutiu
Developer Advocate
IBM
June 12, 2018
Slides
@horeaporutiu
1. Go to my twitter - @horeaporutiu
2. Link to my slide share is the first pinned tweet
Agenda
@horeaporutiu
1. Blockchain overview
2. Hyperledger Fabric & Composer overview
3. Live Coding
4. Live Deployment
Problem
Bank
records
Party A’s
records
Party C’s
records
Auditor
records
Party B’s
records
Party D’s
records
• Today’s business networks: inefficient,
expensive, vulnerable
@horeaporutiu
Problem
@horeaporutiu
Fisherman Processor Distributor Plate
• There are so many parties involved
• Different parties have different incentives
• Hard to trust that your fish is actually
organic
Traceability of fish from ocean to plate
Solution
Bank
records
Party A’s
records
Party C’s
records
Auditor
records
Party B’s
records
Party D’s
records
Shared, replicated, permissioned ledger
@horeaporutiu
Blockchain benefits: consensus, provenance,
immutability, and finality
What is blockchain?
• Blockchain - a continuously growing list of
records, called blocks, which are linked and
secured using cryptography.
• A digital ledger that is replicated across all
network participants
@horeaporutiu
• Network participants collaborate to maintain the
ledger
Types of blockchain
Public Private
@horeaporutiu
• Open to anyone
• Large computational
requirement
• Participants
incentivized with
cryptocurrency
• Bitcoin
• Need permission to
join the network
• Walmart solution
• Less computational
power required
• Cryptocurrency is
typically not involved
• Transactions can be
kept private
Identify blockchain use-cases
• If data is used only by one organization, then it’s
most likely not a good use of blockchain
@horeaporutiu
Distributed Ledger
Distributed
Smart ContractsImmutable
Share data across
multiple companies
Permanent record of
transactions
No central point of
ownership
Business rules visible
to all members
Hyperledger
• A collaborative effort created to
advance cross-industry
blockchain tech for business
• Hyperledger is an umbrella – 5 frameworks, 4
tools under Hyperledger
@horeaporutiu
• Announced in 2015, now over
180 members
Hyperledger Fabric
• An implementation of blockchain technology used
as a foundation for developing blockchain
applications
@horeaporutiu
• V1.0 released July 2017
• 27 organizations, 159 developers
Hyperledger: Writing Smart Contracts
• Either as native chain code – using Go, Java, or
Node.js
@horeaporutiu
• Hyperledger Composer – Easy way to write smart
contracts w/ JavaScript
https://medium.com/@olivier.mathurin/build-a-blockchain-prototype-in-minutes-with-hyperledger-
composer-e132e17c98c7
Hyperledger Composer
@horeaporutiu
Generate network archive - .bna file
@horeaporutiu
Model File .cto
Access Control
Script File .js
Assets, participants,
and transactions
Transaction functions
Access Control Rules
Business Network
Packaged business
network definition
Archive .bna
.acl
networkadmin.card
Credentials for admin
of the network
Writing your first model file (.cto)
@horeaporutiu
1. namespace
2. Participants
3. Assets
4. Transactions
5. Events
Need to define the following:
🙋🏽♀️🙋🏽♂️
🏽
💰
‼️
🔡
Need more help? Check this tutorial:
https://www.skcript.com/svr/writing-your-first-business-model-in-
hyperledger-composer/
Demo
@horeaporutiu
http://composer-playground.mybluemix.net/
Contact
• Questions: horea.porutiu@ibm.com
• Social: Tweets @horeaporutiu
• Site: https://horeaporutiu.github.io/
@horeaporutiu

More Related Content

What's hot

Weaponizing Corporate Intel: This Time, It's Personal!
Weaponizing Corporate Intel: This Time, It's Personal!Weaponizing Corporate Intel: This Time, It's Personal!
Weaponizing Corporate Intel: This Time, It's Personal!Beau Bullock
 
A Look Into Emerging Security Issues Within Cryptocurrency Ecosystems
A Look Into Emerging Security Issues Within Cryptocurrency EcosystemsA Look Into Emerging Security Issues Within Cryptocurrency Ecosystems
A Look Into Emerging Security Issues Within Cryptocurrency EcosystemsBeau Bullock
 
Developing applications with Hyperledger Fabric SDK
Developing applications with Hyperledger Fabric SDKDeveloping applications with Hyperledger Fabric SDK
Developing applications with Hyperledger Fabric SDKHorea Porutiu
 
Red Team Apocalypse (RVAsec Edition)
Red Team Apocalypse (RVAsec Edition)Red Team Apocalypse (RVAsec Edition)
Red Team Apocalypse (RVAsec Edition)Beau Bullock
 
OK Google, How Do I Red Team GSuite?
OK Google, How Do I Red Team GSuite?OK Google, How Do I Red Team GSuite?
OK Google, How Do I Red Team GSuite?Beau Bullock
 
Hyperledger Fabric Application Development 20190618
Hyperledger Fabric Application Development 20190618Hyperledger Fabric Application Development 20190618
Hyperledger Fabric Application Development 20190618Arnaud Le Hors
 
Getting Started in Pentesting the Cloud: Azure
Getting Started in Pentesting the Cloud: AzureGetting Started in Pentesting the Cloud: Azure
Getting Started in Pentesting the Cloud: AzureBeau Bullock
 
Red Team Apocalypse
Red Team ApocalypseRed Team Apocalypse
Red Team ApocalypseBeau Bullock
 

What's hot (8)

Weaponizing Corporate Intel: This Time, It's Personal!
Weaponizing Corporate Intel: This Time, It's Personal!Weaponizing Corporate Intel: This Time, It's Personal!
Weaponizing Corporate Intel: This Time, It's Personal!
 
A Look Into Emerging Security Issues Within Cryptocurrency Ecosystems
A Look Into Emerging Security Issues Within Cryptocurrency EcosystemsA Look Into Emerging Security Issues Within Cryptocurrency Ecosystems
A Look Into Emerging Security Issues Within Cryptocurrency Ecosystems
 
Developing applications with Hyperledger Fabric SDK
Developing applications with Hyperledger Fabric SDKDeveloping applications with Hyperledger Fabric SDK
Developing applications with Hyperledger Fabric SDK
 
Red Team Apocalypse (RVAsec Edition)
Red Team Apocalypse (RVAsec Edition)Red Team Apocalypse (RVAsec Edition)
Red Team Apocalypse (RVAsec Edition)
 
OK Google, How Do I Red Team GSuite?
OK Google, How Do I Red Team GSuite?OK Google, How Do I Red Team GSuite?
OK Google, How Do I Red Team GSuite?
 
Hyperledger Fabric Application Development 20190618
Hyperledger Fabric Application Development 20190618Hyperledger Fabric Application Development 20190618
Hyperledger Fabric Application Development 20190618
 
Getting Started in Pentesting the Cloud: Azure
Getting Started in Pentesting the Cloud: AzureGetting Started in Pentesting the Cloud: Azure
Getting Started in Pentesting the Cloud: Azure
 
Red Team Apocalypse
Red Team ApocalypseRed Team Apocalypse
Red Team Apocalypse
 

Similar to Blockchain workshop IBM CODE Day - Montevideo

What are the key points you need to know about becoming a hyperledger expert
What are the key points you need to know about becoming a hyperledger expert What are the key points you need to know about becoming a hyperledger expert
What are the key points you need to know about becoming a hyperledger expert Blockchain Council
 
How does hyperledger fabric blockchain work
How does hyperledger fabric blockchain work How does hyperledger fabric blockchain work
How does hyperledger fabric blockchain work Blockchain Council
 
Collaborative Blockchain- All You Need to Know About Hyperledger
Collaborative Blockchain- All You Need to Know About HyperledgerCollaborative Blockchain- All You Need to Know About Hyperledger
Collaborative Blockchain- All You Need to Know About HyperledgerBlockchain Developments
 
A DECENTRALIZED FUTURE WITH BLOCKCHAIN AND INTERNET OF THINGS
A DECENTRALIZED FUTURE WITH  BLOCKCHAIN AND  INTERNET OF THINGSA DECENTRALIZED FUTURE WITH  BLOCKCHAIN AND  INTERNET OF THINGS
A DECENTRALIZED FUTURE WITH BLOCKCHAIN AND INTERNET OF THINGSDigital Currency Summit
 
What is Hyperledger Technology?
What is Hyperledger Technology?What is Hyperledger Technology?
What is Hyperledger Technology?Blockchain Council
 
How to use hyperledger fabric for the enterprise
How to use hyperledger fabric for the enterprise How to use hyperledger fabric for the enterprise
How to use hyperledger fabric for the enterprise Blockchain Council
 
Hyperledger community update Feb 20, 2018
Hyperledger community update Feb 20, 2018Hyperledger community update Feb 20, 2018
Hyperledger community update Feb 20, 2018Arnaud Le Hors
 
Building blockchain applications using Java
Building blockchain applications using JavaBuilding blockchain applications using Java
Building blockchain applications using JavaSimon Stone
 
Hyperledger Fabric in a Nutshell
Hyperledger Fabric in a NutshellHyperledger Fabric in a Nutshell
Hyperledger Fabric in a NutshellDaniel Chan
 
How to become an expert in hyperledger
How to become an expert in hyperledger How to become an expert in hyperledger
How to become an expert in hyperledger Global Tech Council
 
List of best Open Source Blockchain platforms
List of best Open Source Blockchain platformsList of best Open Source Blockchain platforms
List of best Open Source Blockchain platformsBlockchain Council
 
Dsdt meetup july2018
Dsdt meetup july2018Dsdt meetup july2018
Dsdt meetup july2018JDA Labs MTL
 
DSDT Meetup July 2018
DSDT Meetup July 2018DSDT Meetup July 2018
DSDT Meetup July 2018DSDT_MTL
 
How to become a hyperledger expert
How to become a hyperledger expert  How to become a hyperledger expert
How to become a hyperledger expert Blockchain Council
 
Hyperledger community update 20180528
Hyperledger community update 20180528Hyperledger community update 20180528
Hyperledger community update 20180528Arnaud Le Hors
 
Hyperledger community update February 2018
Hyperledger  community update   February 2018Hyperledger  community update   February 2018
Hyperledger community update February 2018Christopher Ferris
 
Hyperledger @ Cincinnati Ethereum Meetup
Hyperledger @ Cincinnati Ethereum MeetupHyperledger @ Cincinnati Ethereum Meetup
Hyperledger @ Cincinnati Ethereum MeetupMei Long
 
The most relevant platforms overview for blockchain developers in 2020
The most relevant platforms overview for blockchain developers in 2020The most relevant platforms overview for blockchain developers in 2020
The most relevant platforms overview for blockchain developers in 2020Blockchain Council
 
Hyperledger vs ethereum a dubious choice (1)
Hyperledger vs ethereum  a dubious choice (1)Hyperledger vs ethereum  a dubious choice (1)
Hyperledger vs ethereum a dubious choice (1)Blockchain Council
 

Similar to Blockchain workshop IBM CODE Day - Montevideo (20)

What are the key points you need to know about becoming a hyperledger expert
What are the key points you need to know about becoming a hyperledger expert What are the key points you need to know about becoming a hyperledger expert
What are the key points you need to know about becoming a hyperledger expert
 
How does hyperledger fabric blockchain work
How does hyperledger fabric blockchain work How does hyperledger fabric blockchain work
How does hyperledger fabric blockchain work
 
Collaborative Blockchain- All You Need to Know About Hyperledger
Collaborative Blockchain- All You Need to Know About HyperledgerCollaborative Blockchain- All You Need to Know About Hyperledger
Collaborative Blockchain- All You Need to Know About Hyperledger
 
A DECENTRALIZED FUTURE WITH BLOCKCHAIN AND INTERNET OF THINGS
A DECENTRALIZED FUTURE WITH  BLOCKCHAIN AND  INTERNET OF THINGSA DECENTRALIZED FUTURE WITH  BLOCKCHAIN AND  INTERNET OF THINGS
A DECENTRALIZED FUTURE WITH BLOCKCHAIN AND INTERNET OF THINGS
 
What is Hyperledger Technology?
What is Hyperledger Technology?What is Hyperledger Technology?
What is Hyperledger Technology?
 
How to use hyperledger fabric for the enterprise
How to use hyperledger fabric for the enterprise How to use hyperledger fabric for the enterprise
How to use hyperledger fabric for the enterprise
 
Hyperledger community update Feb 20, 2018
Hyperledger community update Feb 20, 2018Hyperledger community update Feb 20, 2018
Hyperledger community update Feb 20, 2018
 
Building blockchain applications using Java
Building blockchain applications using JavaBuilding blockchain applications using Java
Building blockchain applications using Java
 
Hyperledger Fabric in a Nutshell
Hyperledger Fabric in a NutshellHyperledger Fabric in a Nutshell
Hyperledger Fabric in a Nutshell
 
How to become an expert in hyperledger
How to become an expert in hyperledger How to become an expert in hyperledger
How to become an expert in hyperledger
 
Hyperledger: Advancing Blockchain Technology for Business
Hyperledger: Advancing Blockchain Technology for BusinessHyperledger: Advancing Blockchain Technology for Business
Hyperledger: Advancing Blockchain Technology for Business
 
List of best Open Source Blockchain platforms
List of best Open Source Blockchain platformsList of best Open Source Blockchain platforms
List of best Open Source Blockchain platforms
 
Dsdt meetup july2018
Dsdt meetup july2018Dsdt meetup july2018
Dsdt meetup july2018
 
DSDT Meetup July 2018
DSDT Meetup July 2018DSDT Meetup July 2018
DSDT Meetup July 2018
 
How to become a hyperledger expert
How to become a hyperledger expert  How to become a hyperledger expert
How to become a hyperledger expert
 
Hyperledger community update 20180528
Hyperledger community update 20180528Hyperledger community update 20180528
Hyperledger community update 20180528
 
Hyperledger community update February 2018
Hyperledger  community update   February 2018Hyperledger  community update   February 2018
Hyperledger community update February 2018
 
Hyperledger @ Cincinnati Ethereum Meetup
Hyperledger @ Cincinnati Ethereum MeetupHyperledger @ Cincinnati Ethereum Meetup
Hyperledger @ Cincinnati Ethereum Meetup
 
The most relevant platforms overview for blockchain developers in 2020
The most relevant platforms overview for blockchain developers in 2020The most relevant platforms overview for blockchain developers in 2020
The most relevant platforms overview for blockchain developers in 2020
 
Hyperledger vs ethereum a dubious choice (1)
Hyperledger vs ethereum  a dubious choice (1)Hyperledger vs ethereum  a dubious choice (1)
Hyperledger vs ethereum a dubious choice (1)
 

Recently uploaded

Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Krashi Coaching
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsanshu789521
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesFatimaKhan178732
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Celine George
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Educationpboyjonauth
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxOH TEIK BIN
 
Micromeritics - Fundamental and Derived Properties of Powders
Micromeritics - Fundamental and Derived Properties of PowdersMicromeritics - Fundamental and Derived Properties of Powders
Micromeritics - Fundamental and Derived Properties of PowdersChitralekhaTherkar
 
Science 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsScience 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsKarinaGenton
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxRoyAbrique
 

Recently uploaded (20)

Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha elections
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and Actinides
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
 
Staff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSDStaff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSD
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Education
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptx
 
Micromeritics - Fundamental and Derived Properties of Powders
Micromeritics - Fundamental and Derived Properties of PowdersMicromeritics - Fundamental and Derived Properties of Powders
Micromeritics - Fundamental and Derived Properties of Powders
 
Science 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsScience 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its Characteristics
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
 

Blockchain workshop IBM CODE Day - Montevideo

  • 1.
  • 2. Blockchain Workshop: Develop and deploy applications using Hyperledger Fabric & Composer Horea Porutiu Developer Advocate IBM June 12, 2018
  • 3. Slides @horeaporutiu 1. Go to my twitter - @horeaporutiu 2. Link to my slide share is the first pinned tweet
  • 4. Agenda @horeaporutiu 1. Blockchain overview 2. Hyperledger Fabric & Composer overview 3. Live Coding 4. Live Deployment
  • 5. Problem Bank records Party A’s records Party C’s records Auditor records Party B’s records Party D’s records • Today’s business networks: inefficient, expensive, vulnerable @horeaporutiu
  • 6. Problem @horeaporutiu Fisherman Processor Distributor Plate • There are so many parties involved • Different parties have different incentives • Hard to trust that your fish is actually organic Traceability of fish from ocean to plate
  • 7. Solution Bank records Party A’s records Party C’s records Auditor records Party B’s records Party D’s records Shared, replicated, permissioned ledger @horeaporutiu Blockchain benefits: consensus, provenance, immutability, and finality
  • 8. What is blockchain? • Blockchain - a continuously growing list of records, called blocks, which are linked and secured using cryptography. • A digital ledger that is replicated across all network participants @horeaporutiu • Network participants collaborate to maintain the ledger
  • 9. Types of blockchain Public Private @horeaporutiu • Open to anyone • Large computational requirement • Participants incentivized with cryptocurrency • Bitcoin • Need permission to join the network • Walmart solution • Less computational power required • Cryptocurrency is typically not involved • Transactions can be kept private
  • 10. Identify blockchain use-cases • If data is used only by one organization, then it’s most likely not a good use of blockchain @horeaporutiu Distributed Ledger Distributed Smart ContractsImmutable Share data across multiple companies Permanent record of transactions No central point of ownership Business rules visible to all members
  • 11. Hyperledger • A collaborative effort created to advance cross-industry blockchain tech for business • Hyperledger is an umbrella – 5 frameworks, 4 tools under Hyperledger @horeaporutiu • Announced in 2015, now over 180 members
  • 12. Hyperledger Fabric • An implementation of blockchain technology used as a foundation for developing blockchain applications @horeaporutiu • V1.0 released July 2017 • 27 organizations, 159 developers
  • 13. Hyperledger: Writing Smart Contracts • Either as native chain code – using Go, Java, or Node.js @horeaporutiu • Hyperledger Composer – Easy way to write smart contracts w/ JavaScript https://medium.com/@olivier.mathurin/build-a-blockchain-prototype-in-minutes-with-hyperledger- composer-e132e17c98c7
  • 15. Generate network archive - .bna file @horeaporutiu Model File .cto Access Control Script File .js Assets, participants, and transactions Transaction functions Access Control Rules Business Network Packaged business network definition Archive .bna .acl networkadmin.card Credentials for admin of the network
  • 16. Writing your first model file (.cto) @horeaporutiu 1. namespace 2. Participants 3. Assets 4. Transactions 5. Events Need to define the following: 🙋🏽♀️🙋🏽♂️ 🏽 💰 ‼️ 🔡 Need more help? Check this tutorial: https://www.skcript.com/svr/writing-your-first-business-model-in- hyperledger-composer/
  • 18. Contact • Questions: horea.porutiu@ibm.com • Social: Tweets @horeaporutiu • Site: https://horeaporutiu.github.io/ @horeaporutiu

Editor's Notes

  1. before we get started, by a show of hands, how many of you know about blockchain? How many have taken a course or been to class on blockchain? How many have developed applications using blockchain technoloies? Well no matter your skill level, and familiarity with blockchain, I think you will be able to learn something useful from this session. Today, I want to take you through a journey with blockchain. I’ll go over the main concepts of blockchain, and more importantly, when blockchain is a suitable solution for your problem. I’ll talk about Hyperledger, a popular open source technology for building blockchain applications and then I’ll go into a demo of how to start building blockchain apps with Hyperledger, and then go into Q/A.
  2. before we get started, by a show of hands, how many of you know about blockchain? How many have taken a course or been to class on blockchain? How many have developed applications using blockchain technoloies? Well no matter your skill level, and familiarity with blockchain, I think you will be able to learn something useful from this session. Today, I want to take you through a journey with blockchain. I’ll go over the main concepts of blockchain, and more importantly, when blockchain is a suitable solution for your problem. I’ll talk about Hyperledger, a popular open source technology for building blockchain applications and then I’ll go into a demo of how to start building blockchain apps with Hyperledger, and then go into Q/A.
  3. So earlier I talked about the food industry and how they could benefit from a blockchain solution for their supply chain. But to be fair, blockchain doesn’t have to be limited to the supply chain Any industry where goods and services change hands has this problem Existing business network: when their ledger disagree, need to go to the court…no agreement there Everyone has to maintain their own private ledger, and is vulnerable for this problem too
  4. The problem here becomes, how do I trust that this fish is organic? I mean, the fish changes hands from fisherman, to processor, to distributer, to the market. What if someone along the way made a mistake? Then I’m paying more for the same quality How do I trust that this fish is actually wild, and not just marketed as so?
  5. So here we see that in a typical solution, there are multiple parties that are working together in a businessss network. We have The bank, the auditor, the the farmer, the processor, the distributor, and the retailer Blockchain is a trusted distributed ledger Way for business to share data when they don’t necessarily trust each other Solve this problem by providing a single source of truth by the use of a shared and replicated ledger Blockchain tech ensures that everyone has the same copy of the ledger 4 key aspects Consensus: when anyone wants to add a change to the blockchain, a set of participants need to agree that that transaction has occurred. So if participant A does a trade with participant B, then maybe the bank and the auditor might get involved and sign off on that. Blockchain tech will provide WHO has to endorse the transactions before they get added to the ledger Provenance: can show history of where you caught your fish Immutable: can’t go back and change the ledger. If you try and change your copy of the ledger, since the ledger is replicated, none of the other ledgers will agree, easy to see that you tampered with ledger Finality: ledger is the simple source of truth. can’t disagree with blockchain since everyone agrees with the updates…it is the single source of truth
  6. So here is the mandatory definition slide The main points here is that blockchain is a list of records, which enables participants to transact with each over a network with TRUST. also, the ledger is replicated across all participants, so everyone in the network has a single source of truth
  7. Explain private vs public, and what each means What is a public blockchian, is private hyperledger a blockchain implementation?
  8. Usually, the first sign that blockchain is not right for your solution is if you are not dealing with multiple organizations. On the other hand, if you need permanent record of transactions and lack trust between the different organizations, then blockchain might be a possible solution for your problem.
  9. So here is the mandatory definition slide The main points here is that blockchain is a list of records, which enables participants to transact with each over a network with TRUST. also, the ledger is replicated across all participants, so everyone in the network has a single source of truth
  10. So here is the mandatory definition slide The main points here is that blockchain is a list of records, which enables participants to transact with each over a network with TRUST. also, the ledger is replicated across all participants, so everyone in the network has a single source of truth
  11. So here is the mandatory definition slide The main points here is that blockchain is a list of records, which enables participants to transact with each over a network with TRUST. also, the ledger is replicated across all participants, so everyone in the network has a single source of truth
  12. So here is the mandatory definition slide The main points here is that blockchain is a list of records, which enables participants to transact with each over a network with TRUST. also, the ledger is replicated across all participants, so everyone in the network has a single source of truth
  13. So here is the mandatory definition slide The main points here is that blockchain is a list of records, which enables participants to transact with each over a network with TRUST. also, the ledger is replicated across all participants, so everyone in the network has a single source of truth
  14. So here is the mandatory definition slide The main points here is that blockchain is a list of records, which enables participants to transact with each over a network with TRUST. also, the ledger is replicated across all participants, so everyone in the network has a single source of truth
  15. So here is the mandatory definition slide The main points here is that blockchain is a list of records, which enables participants to transact with each over a network with TRUST. also, the ledger is replicated across all participants, so everyone in the network has a single source of truth