2. WELCOME!
23 ottobre presso #IBMstudios Milano idee a confronto nel
#meetup dedicato a #blockchain e Hyperledger. Prendi parte
anche tu alla conversazione!
https://www.meetup.com/it-IT/IBM-Cloud-Italia/ https://www.meetup.com/it-IT/Hyperledger-Milano/
3. Blockchain Market recap
& Hyperledger news
C. Ferrarini
Sharing Experiences
L. Carraro – M. Romanelli
E. Vernini
M. Tellarini
R. Carlini
……
Developing and
Governing Fabric with
IBM Blockchain Platform
C. Ferrarini – G. Ciano
6. 3.5
Years since launch
4
Libraries
4
Tools
5
Distributed
Ledgers
3
1.0+ Production Releases
275+
Members
(50+ in AsiaPac)
14
Active Community
Working Groups &
Special Interest Groups
175+
Meetups
Worldwide
(75+ countries)
62K+
Meetup
Participants
2,000+
Media Clips Per Month
Hyperledger Momentum
7. Hyperledger has a modular approach to hosting
projects. Think of Hyperledger as a greenhouse
growing and sustaining business blockchain projects
from seed to fruition.
The Linux Foundation and Hyperledger provide the
infrastructure for open development to occur among
a diverse and thriving community.
9. Major Project Releases
The Alpha release of Hyperledger Fabric v2.0 allows
users to try out the new support for decentralized
governance of smart contracts.
The Iroha 1.0 release happened in May and included
YAC Consensus, Fully Operational Multisignature,
updated client libraries and Windows support
10. Special Interest Groups (SIG)
Current SIG Proposals:
● Education Architecture
For more information or to get
involved, please visit:
https://wiki.hyperledger.org/displ
ay/HYP/Special+Interest+Groups
Newest SIGs:
HYPERLEDGER
Supply Chain Special Interest Group
Focused on the implementation of enterprise-
grade solutions utilizing the Hyperledger
greenhouse of business blockchain frameworks
and tools (launched May)
HYPERLEDGER
Capital Markets Special Interest Group
Focused on studying how Hyperledger DLTs
interact with Capital Markets use cases and
exploring architecture, identity and performance
related considerations (launched July)
11. New Technical Working Groups
For more information or to
get involved, please visit:
https://wiki.hyperledger.or
g/display/DCI/
HYPERLEDGER
Diversity, Civility and Inclusion
Working Group
This group is focused on measuring and
improving the health of our open source
community. We seek to provide constructive
recommendations to the TSC, projects, and
working groups. All are welcome to join us and
help Hyperledger continue to grow in a diverse,
civil, and inclusive way.
12. Training and Certifications
Visit: https://www.hyperledger.org/resources/training
Technical training courses and professional
certifications to get you up-to-speed on
Hyperledger with the highest quality
training from The Linux Foundation and
Hyperledger Training Partners.
New Professional Certifications!
● Certified Hyperledger Sawtooth Administrator
(CHSA)
● Certified Hyperledger Fabric Administrator
(CHFA).
● Certified Hyperledger Fabric Developer (CHFD)
(coming soon Q1 2020!)
MOOCs
- Blockchain: Understanding Its Uses and
Implications
- Introduction to Hyperledger Technologies
- Hyperledger Fabric Fundamentals
- Hyperledger Sawtooth Administration
- Hyperledger Fabric Administration
14. Hyperledger Global Forum 2020
● More than 1,200 users and contributors
of Hyperledger projects from across the
globe to meet, align, plan and hack
together in-person. Phoenix, AZ, March
3-6, 2020
● Registration is now open! individual,
academic, Govt rates available.
● We encourage you to submit a talk by
Sept 27! {extended to Oct 4th!}
● Please help us promote the event on
your channels using #HyperledgerForum
16. Hyperledger embraces the full spectrum of
industry use cases, especially enterprise
scenarios with widely varied requirements for
decentralization, trust, continuity and
confirmation times. Each represents a
potentially unique optimization point for the
technology.
17. Hyperledger Fabric is an enterprise-grade permissioned distributed ledger framework for developing
solutions and applications.
Its modular and versatile design satisfies a broad range of industry use cases.
It offers a unique approach to consensus that enables performance at scale while preserving privacy.
Fabric v1.4.3 is the current long-term support (LTS) release, which includes RAFT consensus.
2.0-alpha was released in April with support for decentralized governance of smart contracts.
200+ devs across 100+ companies contributing.
Hundreds of pilot and production networks deployed.
Learn more at: https://wiki.hyperledger.org/display/fabric/Hyperledger+Fabric
18. 18
Requirements of blockchain for business
Participants
decide which
assets to share
SHARED LEDGER
Participants know
who they are
dealing with
IDENTITY
Participants give
provable
endorsement
ENDORSEMENT
Information
shared is
need-to-know
CONFIDENTIALITY
19. Roadmap
Based on https://wiki.hyperledger.org/display/fabric/Hyperledger+Fabric+Roadmap - Dates determined by the Hyperledger community - (*) Subject to change
Late
2019
v2.0
• Decentralized chaincode governance
• External chaincode support
• Programming model improvements
• Admin Node OU support
• Performance improvements
• Channels
• Selective endorsement
• SOLO/Kafka orderers
• LevelDB or CouchDB
v1.0
07/17
• Javascript chaincode
• Connection profile
• Encryption library
• Attribute access control
• CouchDB indexes
• Channel based events
v1.1
03/18
• ACLs
• Service discovery
• Pluggable endorsement /
validation
• Private Data Collections
v1.2
07/18
• State based endorsement
• Java chaincode
• CouchDB pagination
• Identity Mixer
• Burrow EVM
v1.3
10/18
• Operational metrics and
logging
• SDK and SHIM
improvements
• Long Term Service (LTS)
support
v1.4
1/19
• Kafka to Raft migration
• Peer administration
improvements
v1.4.1
4/19
v2.x
Future
v1.4.2
7/19
• Post-order execution
• Ledger checkpoint and
archiving
• Privacy enhancements
• Raft consensus
• Additional metrics
20. Blockchain Market recap
& Hyperledger news
C. Ferrarini
Sharing Experiences
L. Carraro – M. Romanelli
E. Vernini
M. Tellarini
R. Carlini
……
Developing and
Governing Fabric with
IBM Blockchain Platform
C. Ferrarini – G. Ciano
21. 21
Blockchain Technical Concepts & Components
Peers are the networked
services that maintain ledger
state and run smart contracts
Smart contracts constitute the
transaction logic whose output is
agreed by the peer network
Consensus is the process by
which agreement is obtained
on the peer network
✓ ✓ ✓
Channels are defined
subsets of the peer network
that share a single ledger
Certificate authorities
provide identity services to
participants on the network
🔑 🔑
The Ordering Service agrees
transaction sequence and
distributes blocks to peers
22. 22
Hyperledger Fabric V1.x Architecture
Client
Application
SDK
(HFC)
Membership
Services
Peer
Endorser
Ledger
Committer
A
Chaincode B
!Events
Ordering-Service
O
O O
O
Fabric-CA
External-CA
Hyperledger Fabric Network
optionaloptional
Admin
23. 23
Advanced tooling
Create & manage smart contracts,
applications & networks
Open technology
Hyperledger Fabric,
Containers, Kubernetes
Deploy anywhere
Comprehensive cloud &
on-premises options
Introducing IBM Blockchain Platform
Build, operate and grow Hyperledger Fabric networks
Developer
tools
Operator
tools
kubernetes
Kubernetes
on
prem
IBM
Kubernetes
Service
Container virtualization &
orchestration
Multi-cloud deployment
kubernetes
24. 24
Fabric 2.0 & Kubernetes
Integrating cloud native, container orchestration capabilities within Fabric
• Peer and Chaincode cloud native deployment support (FAB-13582)
• External chaincode builder and launcher (FAB-13584)
• Serviceability - Monitor health for Fabric runtime components (FAB-10851)
25. 25
«At the heart of a blockchain network is a smart contract»
(cit. Hyperledger Fabric)
26. 26
Contracts vs. models vs. chaincode
• Chaincode should be closely linked to legal contracts and models
• They could be thought of as being different renderings of the same information for different constituencies
• Explicit links between the three artefacts can ensure correctness of implementation
• For Hyperledger Fabric, these three artefacts can be collectively thought of as the smart contract
Commercial Paper
Issuer:
Owner:
Face value:
$
Matures: YY-mm-
dd
Cash
Issuer:
Owner:
Face value:
$
Issue
Buy
Redeem
ISSUER: {{cp.issuer}} states
that it will pay the OWNER
{{cp.owner}} AMOUNT
{{cp.face_value}} on or after
MATURITY DATE
{{cp.date}}.
Legal Contract Model Chaincode
For the lawyer For the business user For the developer
27. 27
Hyperledger Fabric V1.x Architecture
Client
Application
SDK
(HFC)
Membership
Services
Peer
Endorser
Ledger
Committer
A
Chaincode B
!Events
Ordering-Service
O
O O
O
Fabric-CA
External-CA
Hyperledger Fabric Network
optionaloptional
Admin
30. 30
The IBM Blockchain Platform toolset
• IBM Blockchain Platform comprises an
intuitive set of tools for building,
operating and growing Hyperledger
Fabric networks
• The purpose of this presentation is not to
guide you through every feature of the
tools – you will find them intuitive!
• We will instead focus on useful tips, and
things you might need to remember when
using them
VS Code
IBM Blockchain
Platform Extension
IBM Blockchain
Platform Console
Kubernetes
Dashboard
32. 32
VS Code IBM Blockchain Platform Extension Demo !
Click here (Or
Ctrl+P “> IBM
Home”) to return
to this Home
page in the future
if you need to
Output from
running
commands etc.
Notifications
Switch to IBM
Blockchain
Platform view
Tutorials here!Views:
Smart contracts
Fabric
Environments
Gateways
Wallets
33. 33
Useful links
• IBM Blockchain Platform: https://cloud.ibm.com/docs/services/blockchain?topic=blockchain-get-started-ibp
• Installation VS Code Extension: https://cloud.ibm.com/docs/services/blockchain?topic=blockchain-develop-vscode&locale=it
• IBM Developer VS Code Extension: https://developer.ibm.com/tutorials/ibm-blockchain-platform-vscode-smart-contract/
• GitHub VS Code Extension: https://github.com/IBM-Blockchain/blockchain-vscode-extension
• Chiaincode for Developers: https://hyperledger-fabric.readthedocs.io/en/release-1.4/chaincode4ade.html
• Project Home: https://www.hyperledger.org/projects/fabric
• GitHub Repo: https://github.com/hyperledger/fabric
• Latest Docs: https://hyperledger-fabric.readthedocs.io/en/latest/
34. 34
Logging and monitoring
Exporting metrics for further analysis
• There are several monitoring tools which can
extract and visualize blockchain metrics, e.g.:
• Grafana is a general purpose
dashboard and graph composer,
available at metrics.[region.]bluemix.net
• Sysdig is an systems monitoring and
troubleshooting service, available on
IBM Cloud
• Prometheus is a monitoring and
alerting toolkit that aggregates time
series data
• IBM Blockchain Platform exposes a /metrics
endpoint that can be used by tools for this
purpose.
35. Blockchain Market recap
& Hyperledger news
Sharing Experiences
Developing and
Governing Fabric with
IBM Blockchain Platform
36. Blockchain Market recap
& Hyperledger news
C. Ferrarini
Sharing Experiences
L. Carraro – M. Romanelli
E. Vernini
M. Tellarini
R. Carlini
……
Developing and
Governing Fabric with
IBM Blockchain Platform
C. Ferrarini – G. Ciano