Webinar presentation - Understand the basics of Hyperledger Fabric with an engaging presentation - `Blockchain, Sushi and Supply Chain - Building Enterprise Blockchains`
Technical demonstration of a relevant blockchain application, using Visual Studio Code Extension - IBM Blockchain Platform
Slide from the presentation for webinar
webinar feb 2019.v3
Hyperledger Fabric - Blockchain, sushi and supply chain
1. Blockchain, Sushi and Supply Chain
Grant Steinfeld
IBM Developer Advocate
New York City
Building Enterprise Blockchains With Hyperledger Fabric– Part I
V1.2.1 February 28 2019
Blockchain Explored Series
IBM Blockchain Platform Explored
Fabric Explored
VS Code Extension demo
Architectures Explored
https://bit.ly/2VpvUak
2. Agenda
• Introduction
• Blockchain Basics
• Hyperledger Fabric Blockchain
• Supply chain use cases
• – sushi
• IBM Food Trust
• How to Build your own – VS code demonstration
• Wrap up
• Q&A
3. 3
• Developer Advocate at IBM, specializing in Blockchain, Java and NodeJS
• Senior software engineer 25 years
• Trading FinTech decision analysis
• Blockchain interest 2 years – life logging and personal music playlist leders
Introduction
Blog: https://medium.com/@grantsteinfeld
GitHub: https://github.com/grant-steinfeld
LinkedIn: https://linkedin.com/in/grant-steinfeld
www: https://GrantSteinfeld.com
4. 4
• Roots it is the core technology – Bitcoin 2008
• So what is a blockchain
Blockchain
5. 5
… with consensus, provenance, immutability and finality
Bank
records
Traders/Market
Business - Seller
Shipper
Regulator
records
Blockchain
Buyer Supermarket
Source -
Factroy
Blockchain enables Cooperative Business Communities
Transparent
Trusted
Private
Shared Replicated
7. 8
• Global Complex
Supplchain
• Sourcing
• Manufacturing
• Warehousing
• Distribution
Supply Chain, the poster child of Blockchain
The book takes the form of a global travelogue
ranging from Atlantic Bluefish Tuna fishermen
in Gloucester, Massachusetts,
to Japan’s Tsukiji fish market in Tokyo, to tuna
pirates in the Mediterranean, to an Austin,
Texas sushi bar, to the global restaurant empire
of Nobu Matsuhisa and the tuna ranchers of Port
Lincoln, South Australia
https://en.wikipedia.org/wiki/The_Sushi_Economy
15. 16
Local Technical Demo on your laptop Cake Stack
Visual Studio Code + IBM Blockchain Platform Extension
Hyperledger Fabric Basic Network
SmartContracts
REST API Loopback TypeScript(JS )
JavaScript (ES6)
NodeJS / npm
Internet
16. 17
Try it out later, but for now watch me demo this code journey
• https://github.com/horeaporutiu/blockchainbean2
• https://developer.ibm.com/patterns/track-the-coffee-supply-
chain-on-the-blockchain/
BlockBean – Code! Technical Demo
17. 18
Deploy your Hyperledger Fabric project on IBM Blockchain – ANYWHERE!
Google
MS Azure
Oracle
SAP
Alibaba
IBM Cloud Private
18. 19
• The Basics of Blockchin for Bussiness/Enterprise
• Single distributed LEDGER/DB
• shared privately amongst TRUSTED communities
• HYPERLEDGER – OPENSORCE LINUX FOUNDATION – IBM contribution
• A few notable IBM Blockchain supply chain solutions
• Technical Hyperledger Fabric BEAN DEMO using VISUAL STUDIO Code with IBM Blockchain Platform Extension
• Indeas on local MVP and get it on the cloud
What we have learned
20. Want technical deep dive coding bootcamp expanding on these topics,
We have a meetup in Brooklyn on March 11th
https://www.meetup.com/nyc-blockchain-devs/events/258969912/
Sign up for a free trial IBM Cloud account today to
experience our new code-pattern IBM Blockchain
Platform 2.0 ( Fabric v1.4)
Continue this journey
This presentation, and other tips/issues-feedback
please feel free to collaborate on this presentations on
an open source GitHub repo https://bit.ly/2VpvUak
https://ibm.biz/Bd2G8W
or
https://cloud.ibm.com/login
Editor's Notes
This is a technical dive into blockchain architectures. Presentations in the “Explored” series are:
IBM Blockchain Platform Explored: How the IBM Blockchain Platform works.
Architectures Explored: Good blockchain architectures
Fabric Explored: Technical dive on Hyperledger Fabric
Code IBP extension: Technical demo Create global finance application code pattern
What’s New: Recent developments in Fabric and IBP.
Sushi - coffee
Storytelling, documentation, ecosystems
( single source of truth )
Single decentralized append only spreadsheet / databae
Cryptography ensures that a blockchain historycannot be changed or tampered with
Transparent to all particpants in the blockchain network
The novel Blockchain architecture give participants the ability to
share a ledger - Decentralized
which is updated every time a transaction occurs through peer to peer replication.
Particpants – Business Community/Consortium that Trust each other
See a Single source truth /db - this is transparency
- Prevent duplication and and often error prone and out of sync error prone records
– costly timely auditing / reconciliation process
Agree ahead of time before data is put on the blockchain - Consensus
PROVENANCE– means participants know where the asset came from and how it’s transactions like source, ownership/shipping, regulation buyers has changed over time
IMMUTABILITY– means no participant can tamper with a transaction once it’s agreed
FINALITY– means that there is ONE place to determine the ownership of an asset or completion of a transaction. This is the role of the SHARED LEDGER.
Hyperledger Fabric v1.4.x
Feb 2016
IBM becomes a founding member of Linux Foundation Hyperledger; donates code and intellectual property
https://www.hyperledger.org/
Each block contains a cryptographic hash of the previous block,[and transaction data (generally represented as a merkle tree root hash).
Gone are the days of knowing who caught your fish, you bought it off the boat at the dock and took it home and prepared a meal
Now complex global economy exists – fish travelling thousands of miles taking days / weeks to get to consumers
1970 Japan
1980 Usa
Now – omnipresent
------------
Pacific Bluefin tuna reach a maximum length of nearly 10 feet (3 meters) and a maximum weight of 1,200 lbs. (550 kg). A top ocean predator, they have been described as "twice the size of a lion and faster than a gazelle."
They have two main breeding grounds, off the coast of Japan.
Most remain in the western Pacific all their lives, reaching from Russia's Sakhalin Island in the north to New Zealand in the south.
But others, when they reach one to two years of age, make a 6,000-mile (11,000-km) migration to
rich waters off California and Mexico's Baja Peninsula, returning after two to four years to spawn in the same western Pacific waters where they began life,
Hook to Fork
Tuna – prized can sell for millions of dollars!
Comlex supply chain - Globalization – economy Japan – Usa –specialy – supermarket/delis -
Many touch points
Safety perishable!
Long travel distances – quick transport JAL / ICE / ref-containers / supercooled
Cold Sanitary Short travel times ( 4 days from catch to fork )
Trust chef
Unscrupulous fishing worsens the problems
Pirate fishing
11 – 26 million tons annually – 14-33% worlds total legal catch
Equipment failure – fire? Product contamination/desctruction = innertuptions of supply chain!
Consumers expect and trust the things we buy
Fresh Safe and delighful on the palette
Ethically Source – Blood diamonds / Fakes / impoper certification/quality ( blue white vs flawed dull stones )
Origin fair trade, properly prepared and Delicious
IBM has a way to do this.
From rough to polish
From mine to finger
A new initiative dubbed TrustChain announced by IBM Blockchain today: “Because [blockchain] makes it easier for multiple parties to jointly create and update tamper-proof records,
the firms involved in the project believe it is well suited to securely and efficiently track and prove the origin and ethical sourcing of jewelry
TrustChain and involves precious metal suppliers, refiners and manufacturers working with the U.S. retail jeweler Helzberg Diamonds. TrustChain will
use IBM blockchain tools to allow anyone in the supply chain—and eventually the customer—to verify the provenance of the rings.
Cake stack
Jump into the demo – 45 minutes
What next
You have Developed your first Hyperledger Fabric application How to get it into the cloud
Many options now
Just announce IBP anywhere!
A full-stack cloud platform that spans public, private and hybrid environments.
IBM cloud – reliabily – scalability – speed – IBM Garage / Consulting …
Build with a robust suite of advanced data and AI tools, and draw on deep industry expertise to help you on your journey to the cloud.
--------------------------
Hybrid Cloud on IBM Z
Distributed Ledger
Specifically Hyperledger Fabric and how it forms the foundation of IBM Blockchain Platforms
Slides on github README.md
At
https://bit.ly/2VpvUak