SlideShare a Scribd company logo
1 of 42
1
Tutto quello che ho conosco….o quasi
Daniela Zuppini
https://www.linkedin.com/in/daniela-zuppini/
2
BLOCKCHAIN
• Consente transazioni P2P su un’infrastruttura decentralizzata
• Stabilisce “Trust” tra Peer sconosciuti
• Memorizza le transazioni su un Ledger distribuito e immutabile
3
Bitcoin come esempio di Blockchain
Bitcoin e’ un P2P payment system Public e Permissionless
blockexplorer.com
Car Leasing Business Network with Blockchain
node
1. Manufacturer
2. Dealer
3. Leasing
Company
4. Lessee
5. Scrap Merchant
Regulator
Shared Ledger Smart
Contracts
node
nodenode
node node
Conditions for
asset transfer
Records of
asset transfer
5
B2B e B2C e Blockchain
Nel mondo Enterprise sono mandatori:
! Privacy
! Confidentiality
! Solo accesso autorizzato
Permissioned Blockchain
6
Evoluzione di Hyperledger
Il progetto Linux Foundation con il piu’ rapido tasso di crescita e adesioni
Governing board members
Feb. 2016
Governing board Members
Sett. 2018
Hyperledger Members
Feb. 2016
Hyperledger Members.
Sett. 2018
Incubation projects
Feb. 2016
Incubation projects
Sett. 2018
2
21
30
200
2
10
Due Progetti Iniziali
Proposto da IBM
GA Luglio 2017 v1.0
Modulare
Pluggable consenso e Membership
Service
Confidential Trx
Proposto da Intel
GA Febbraio 2018 v1.0
Modulare e versatile
Tutti i nodi hanno le stesse informazioni
Permissioned/Permissionless
Adapter per integrarsi con altre trx logic
Consenso adattabile alla dimensione della rete
https://www.hyperledger.org/blog/2016/11/02/meet-sawtooth-lake
10
11
https://www.hyperledger.org/
Framework per costruire Business Blockchain
Ledger privato per un consorzio di Organizzazioni
Elementi comuni di tutti i
Progetti Hyperledger
12
Differenze tra Hyperledger - Bitcoin e Ethereum
Blockchain solo per Cryptocurrency
3 tipi di Blockchain
Bitcoin
Blockchain solo per Cryptocurrency
+ Business Logic Ethereum
Blockchain solo per Business Logic Hyperledger
13
Bitcoin Ethereum Hyperledger
cryptocurrency Si Si No
Permissioned No No/Si Si*
Pseudo-anonima Si No No
Auditabile Si Si Si
Ledger Immutabile Si Si Si
Modulare No No Si
Smart Contract No Si Si
Protocollo Consensus PoW PoW/PoS Vari
Differenze tra Hyperledger - Bitcoin e Ethereum
Pubblica Consorzio
Amministratori 0 Previsto
Permesso No (possibili utenti malicious) Si (solo trusted user)
Gestione Identita’ No Necessaria
Confidenzialita’ Bassa Alta
Algoritmi di
Consenso
Non Flessibile Flessibilita’ (pluggable)
Validatori Tutti Nodi Specializzati
Creazione Blocco 7 tps / 15 tps from 140 tps to 2250 tps*
Esempi Bitcoin/Ethereum(anche
permissioned)
Ripple,Eris,Hyperledger
* https://arxiv.org/pdf/1805.11390.pdf
15
Differenze tra Hyperledger - Bitcoin e Ethereum
1.No cryptocurrency ma solo Business Logic
2.Permissioned quidi adatta a B2B e B2C
3.“Mining” solo da Peer Specializzati
4.Modello della Business Network
16
Differenze tra Blockchain - Database
1.Update e Write non sono possibili. E’ disponibile il Write Once
2.Non c’e’ Admin per operazioni di edit/delete sui dati
3.RDBMS sono disegnati come applicazioni centralizzate
17
Perche’ ?
Only an Open Source, collaborative software
development approach can ensure the transparency,
longevity, interoperability and support required to bring
blockchain technologies forward to mainstream
commercial adoption
https://www.hyperledger.org/about
18
– Identifying a good blockchain use-case is not always easy!
– However there should always be:
What makes a good blockchain use case?
1. A business problem to be solved
• That cannot be solved with more mature technologies
2. An identifiable business network
• With Participants, Assets and Transactions
3. A need for trust
• Consensus, Immutability, Finality or Provenance
19
Blockchain – non sempre . . .
NEGATIVO
1. Numero elevato di trx/sec
2. Processo prevede grandi quantita’ di dati statici
3. Le regole delle transazioni cambiano frequentemente
4. Dati confidenziali
5. Uso di servizi esterni per ottenere/memorizzare i dati
6. Non e’ un database replacement
7. Non e’ una messaging solution
20
Casi reali
https://www.ibm.com/blockchain/use-cases/
Qui alcuni dei casi reali che IBM ha affrontato:
21
22
Hyperledger Fabric: Distributed Ledger Platform
– An implementation of blockchain technology that is
a foundation for developing blockchain applications
– Emphasis on ledger, smart contracts, consensus,
confidentiality, resiliency and scalability.
– V1.0 released July 2017
– 159 developers from 27 organizations
– IBM is one contributor of code, IP and
development effort to Hyperledger Fabric
http://hyperledger-fabric.readthedocs.io/
23
Hyperledger Fabric Model
Fabric implementa un Distributed Ledger e una
Permissioned Network.
• Asset definition per poter scambiare qualsiasi oggetto
con un valore monetizzabile
• Chaincode eseguito separatamente da ordering service per ottimizzare
uso networking e ridurre il livello di trust
• Segregated network con i Channel alti livelli di privacy e confidentiality su
una rete comune
• Ledger contiene tutta la storia delle transazioni per ogni Channel e include SQL
like per auditing a risoluzione delle dispute
• Servizi di sicurezza e membership trusted network dove tutte le
transazioni possono essere rilevate e tracciate da auditor e regulator autorizzati
• Consensus Pluggable consensue per definire agreement sul blocco di
transazioni da aggiungere
24
Elementi della Blockchain Hyperledger
Immagine da https://www.coursera.org/learn/blockchain-platforms/home/welcome
25
Hyperledger Fabric V1 Architecture
O
O O
O
Ordering Service
Client
Application
SDK
(HFC)
Membership
Services
Provider
Peer
Endorser
Ledger
Committer
A
Chaincode B
!Events
26
Nodes and roles
27
Hyperledger Fabric Consensus
Consensus is achieved using the following transaction flow:
Endorse Order Validate
28
A Ledger often consists of two data structures
• Blockchain
• A linked list of blocks
• Each block describes a set of transactions
(e.g. the inputs to a smart contract invocation)
• Immutable – blocks cannot be tampered
• World State
• An ordinary database (e.g. key/value store)
• Stores the combined outputs of all transactions
• Not usually immutableWorld state
block
txn txn txn
Blockchain
29
Blockchain
developer
Smart
Contract
submitsdevelops
develops
recorded
How applications interact with the ledger
accesses
event
emits
emits
D
Ledger
‘get’, ‘put’, ‘delete’
Client
Application
SDK
!
!
World state
block
txn txn txn
Blockchain
event
30
Consortium Network
An example consortium network of 3 organisations
• Orgs 1 and 3 run peers
• Org 2 provides the ordering service only
OO
O O
Org1 Org3Org2
Hyperledger Fabric Network
E
E
Z
Y
E
A
B
E
User User
Admin
Admin
Admin
Y
Z
A
B
31
32
Hyperledger Composer: Accelerating time to value
Business Application
Hyperledger Composer
Blockchain (Hyperledger Fabric)
– A suite of high level application abstractions for business networks
– Emphasis on business-centric vocabulary for quick solution creation
– Reduce risk, and increase understanding and flexibility
– Features
– Model your business networks, test and expose via APIs
– Applications invoke APIs transactions to interact with business network
– Integrate existing systems of record using loopback/REST
– Fully open and part of Linux Foundation Hyperledger
– Try it in your web browser now: http://composer-playground.mybluemix.net/
https://hyperledger.github.io/composer/
33
Con Hyperledger Composer Modeling Language
Definisco Asset, Partecipant, Transaction in un .cto file
Le transazioni scritte in Javascript sono in un .js file
Le Control Rule sono definite in .acl file
Con Hyperledger Composer Tool
Creo un package con la ready to deploy Business Network Archive in un .bna file
Con Hyperledger Composer Playground Tool
Interagisco con la Business Network creata
Con Hyperledger Composer Rest Server Tool
Espongo le API delle transazioni create
34
Hyperledger Composer Playground
http://composer-playground.mybluemix.net/
Let’s Blockchain!
35
Introducing the IBM Blockchain Platform
Hyperledger Composer
DeveloperTools
IBM Cloud
OperationalTools
GovernanceTools
Blockchain application
Hyperledger Fabric
IBM Blockchain Platform is a fully integrated enterprise-
ready blockchain platform designed to accelerate the
development, governance, and operation of a multi-
institution business network
– Developer tools that make use of Hyperledger
Composer to quickly build your blockchain application
– Hyperledger Fabric provides the ledger, which is
managed through a set of intuitive operational tools
– Governance tools for democratic management of
the business network
– Flexible deployment options, including a highly
secure and performant IBM Cloud environment
http://ibm.biz/Platform_Demo
36
37
38
39
40
41
42

More Related Content

What's hot

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
Manuel Garcia
 

What's hot (20)

Hyperledger community update February 2018
Hyperledger  community update   February 2018Hyperledger  community update   February 2018
Hyperledger community update February 2018
 
Hyperledger Composer Update 2017-04-05
Hyperledger Composer Update 2017-04-05Hyperledger Composer Update 2017-04-05
Hyperledger Composer Update 2017-04-05
 
Hyperledger fabric 3
Hyperledger fabric 3Hyperledger fabric 3
Hyperledger fabric 3
 
IBM Bluemix Nice Meetup - 20171120 - Hyperledger Fabric & Composer
IBM Bluemix Nice Meetup - 20171120 - Hyperledger Fabric & ComposerIBM Bluemix Nice Meetup - 20171120 - Hyperledger Fabric & Composer
IBM Bluemix Nice Meetup - 20171120 - Hyperledger Fabric & Composer
 
Introduction of Hyperledger Fabric & Composer
Introduction of Hyperledger Fabric & Composer Introduction of Hyperledger Fabric & Composer
Introduction of Hyperledger Fabric & Composer
 
Demystify blockchain development with hyperledger fabric
Demystify blockchain development with hyperledger fabricDemystify blockchain development with hyperledger fabric
Demystify blockchain development with hyperledger fabric
 
Excelian hyperledger walkthrough-feb17
Excelian hyperledger walkthrough-feb17Excelian hyperledger walkthrough-feb17
Excelian hyperledger walkthrough-feb17
 
Hyperledger Fabric
Hyperledger FabricHyperledger Fabric
Hyperledger Fabric
 
IBM presents: Hyperledger Fabric Hands On Workshop - part 1
IBM presents: Hyperledger Fabric Hands On Workshop - part 1IBM presents: Hyperledger Fabric Hands On Workshop - part 1
IBM presents: Hyperledger Fabric Hands On Workshop - part 1
 
Bitmark and Hyperledger Workshop: the Digital Assets and Property
Bitmark and Hyperledger Workshop: the Digital Assets and PropertyBitmark and Hyperledger Workshop: the Digital Assets and Property
Bitmark and Hyperledger Workshop: the Digital Assets and Property
 
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
 
Blockchain Explored: A technical deep-dive
Blockchain Explored: A technical deep-diveBlockchain Explored: A technical deep-dive
Blockchain Explored: A technical deep-dive
 
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 Hyperledger Composer
Introduction To Hyperledger ComposerIntroduction To Hyperledger Composer
Introduction To Hyperledger Composer
 
Defrag X Keynote: Deploying and managing Global Blockchain Network
Defrag X Keynote: Deploying and managing Global Blockchain NetworkDefrag X Keynote: Deploying and managing Global Blockchain Network
Defrag X Keynote: Deploying and managing Global Blockchain Network
 
Hyperledger community update 20180528
Hyperledger community update 20180528Hyperledger community update 20180528
Hyperledger community update 20180528
 
Fabric Composer - Construct 2017
Fabric Composer - Construct 2017Fabric Composer - Construct 2017
Fabric Composer - Construct 2017
 
Hyperledger
HyperledgerHyperledger
Hyperledger
 
Blockchain, 
Hyperledger fabric & Hyperledger cello
Blockchain, 
Hyperledger fabric & Hyperledger celloBlockchain, 
Hyperledger fabric & Hyperledger cello
Blockchain, 
Hyperledger fabric & Hyperledger cello
 

Similar to Conoscerehyperledger

Similar to Conoscerehyperledger (20)

Hyperledger community update 201805
Hyperledger community update 201805Hyperledger community update 201805
Hyperledger community update 201805
 
Introduction to Hyperledger Composer
Introduction to Hyperledger ComposerIntroduction to Hyperledger Composer
Introduction to Hyperledger Composer
 
Ibm blockchain - Hyperledger 15.02.18
Ibm blockchain - Hyperledger 15.02.18Ibm blockchain - Hyperledger 15.02.18
Ibm blockchain - Hyperledger 15.02.18
 
Hyperledger community update Feb 20, 2018
Hyperledger community update Feb 20, 2018Hyperledger community update Feb 20, 2018
Hyperledger community update Feb 20, 2018
 
Block chain
Block chainBlock chain
Block chain
 
Wwc developing hyperledger applications v4
Wwc  developing hyperledger applications v4Wwc  developing hyperledger applications v4
Wwc developing hyperledger applications v4
 
01 - Introduction to Hyperledger : A Blockchain Technology for Business
01 - Introduction to Hyperledger : A Blockchain Technology for Business01 - Introduction to Hyperledger : A Blockchain Technology for Business
01 - Introduction to Hyperledger : A Blockchain Technology for Business
 
Hyperledger Fabric - Blockchain for the Enterprise - FOSDEM 20190203
Hyperledger Fabric - Blockchain for the Enterprise - FOSDEM 20190203Hyperledger Fabric - Blockchain for the Enterprise - FOSDEM 20190203
Hyperledger Fabric - Blockchain for the Enterprise - FOSDEM 20190203
 
Wwc developing hyperledger applications v4
Wwc  developing hyperledger applications v4Wwc  developing hyperledger applications v4
Wwc developing hyperledger applications v4
 
Wwc developing hyperledger applications v2
Wwc  developing hyperledger applications v2Wwc  developing hyperledger applications v2
Wwc developing hyperledger applications v2
 
Oracle Blockchain Experience Day
Oracle Blockchain Experience DayOracle Blockchain Experience Day
Oracle Blockchain Experience Day
 
hyperledger-chaincode & hyperl fabric.pptx
hyperledger-chaincode & hyperl fabric.pptxhyperledger-chaincode & hyperl fabric.pptx
hyperledger-chaincode & hyperl fabric.pptx
 
Gluecon 2016 Keynote: Deploying and Managing Blockchain Applications
Gluecon 2016 Keynote: Deploying and Managing Blockchain ApplicationsGluecon 2016 Keynote: Deploying and Managing Blockchain Applications
Gluecon 2016 Keynote: Deploying and Managing Blockchain Applications
 
IBM Blockchain 101
IBM Blockchain 101IBM Blockchain 101
IBM Blockchain 101
 
Blockchain explained cata
Blockchain explained   cataBlockchain explained   cata
Blockchain explained cata
 
An introduction to blockchain and hyperledger v ru
An introduction to blockchain and hyperledger v ruAn introduction to blockchain and hyperledger v ru
An introduction to blockchain and hyperledger v ru
 
Hyperledger Fabric in a Nutshell
Hyperledger Fabric in a NutshellHyperledger Fabric in a Nutshell
Hyperledger Fabric in a Nutshell
 
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
 
Defrag x blockchain keynote
Defrag x blockchain keynoteDefrag x blockchain keynote
Defrag x blockchain keynote
 
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
 

More from Daniela Zuppini (6)

IBM Cognitive platform: IBM Watson
IBM Cognitive platform: IBM WatsonIBM Cognitive platform: IBM Watson
IBM Cognitive platform: IBM Watson
 
IBM Bluemix cloudfoundry platform
IBM Bluemix cloudfoundry platformIBM Bluemix cloudfoundry platform
IBM Bluemix cloudfoundry platform
 
Octobus technical university def
Octobus technical university   defOctobus technical university   def
Octobus technical university def
 
IBMHadoopofferingTechline-Systems2015
IBMHadoopofferingTechline-Systems2015IBMHadoopofferingTechline-Systems2015
IBMHadoopofferingTechline-Systems2015
 
l011029
l011029l011029
l011029
 
Approfondimento-cloud-IBM
Approfondimento-cloud-IBMApprofondimento-cloud-IBM
Approfondimento-cloud-IBM
 

Recently uploaded

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 

Recently uploaded (20)

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Navigating Identity and Access Management in the Modern Enterprise
Navigating Identity and Access Management in the Modern EnterpriseNavigating Identity and Access Management in the Modern Enterprise
Navigating Identity and Access Management in the Modern Enterprise
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
WSO2 Micro Integrator for Enterprise Integration in a Decentralized, Microser...
WSO2 Micro Integrator for Enterprise Integration in a Decentralized, Microser...WSO2 Micro Integrator for Enterprise Integration in a Decentralized, Microser...
WSO2 Micro Integrator for Enterprise Integration in a Decentralized, Microser...
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Stronger Together: Developing an Organizational Strategy for Accessible Desig...
Stronger Together: Developing an Organizational Strategy for Accessible Desig...Stronger Together: Developing an Organizational Strategy for Accessible Desig...
Stronger Together: Developing an Organizational Strategy for Accessible Desig...
 
TEST BANK For Principles of Anatomy and Physiology, 16th Edition by Gerard J....
TEST BANK For Principles of Anatomy and Physiology, 16th Edition by Gerard J....TEST BANK For Principles of Anatomy and Physiology, 16th Edition by Gerard J....
TEST BANK For Principles of Anatomy and Physiology, 16th Edition by Gerard J....
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital Adaptability
 
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering Developers
 
AI+A11Y 11MAY2024 HYDERBAD GAAD 2024 - HelloA11Y (11 May 2024)
AI+A11Y 11MAY2024 HYDERBAD GAAD 2024 - HelloA11Y (11 May 2024)AI+A11Y 11MAY2024 HYDERBAD GAAD 2024 - HelloA11Y (11 May 2024)
AI+A11Y 11MAY2024 HYDERBAD GAAD 2024 - HelloA11Y (11 May 2024)
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontology
 

Conoscerehyperledger

  • 1. 1 Tutto quello che ho conosco….o quasi Daniela Zuppini https://www.linkedin.com/in/daniela-zuppini/
  • 2. 2 BLOCKCHAIN • Consente transazioni P2P su un’infrastruttura decentralizzata • Stabilisce “Trust” tra Peer sconosciuti • Memorizza le transazioni su un Ledger distribuito e immutabile
  • 3. 3 Bitcoin come esempio di Blockchain Bitcoin e’ un P2P payment system Public e Permissionless blockexplorer.com
  • 4. Car Leasing Business Network with Blockchain node 1. Manufacturer 2. Dealer 3. Leasing Company 4. Lessee 5. Scrap Merchant Regulator Shared Ledger Smart Contracts node nodenode node node Conditions for asset transfer Records of asset transfer
  • 5. 5 B2B e B2C e Blockchain Nel mondo Enterprise sono mandatori: ! Privacy ! Confidentiality ! Solo accesso autorizzato Permissioned Blockchain
  • 6. 6
  • 7. Evoluzione di Hyperledger Il progetto Linux Foundation con il piu’ rapido tasso di crescita e adesioni Governing board members Feb. 2016 Governing board Members Sett. 2018 Hyperledger Members Feb. 2016 Hyperledger Members. Sett. 2018 Incubation projects Feb. 2016 Incubation projects Sett. 2018 2 21 30 200 2 10
  • 8.
  • 9. Due Progetti Iniziali Proposto da IBM GA Luglio 2017 v1.0 Modulare Pluggable consenso e Membership Service Confidential Trx Proposto da Intel GA Febbraio 2018 v1.0 Modulare e versatile Tutti i nodi hanno le stesse informazioni Permissioned/Permissionless Adapter per integrarsi con altre trx logic Consenso adattabile alla dimensione della rete https://www.hyperledger.org/blog/2016/11/02/meet-sawtooth-lake
  • 10. 10
  • 11. 11 https://www.hyperledger.org/ Framework per costruire Business Blockchain Ledger privato per un consorzio di Organizzazioni Elementi comuni di tutti i Progetti Hyperledger
  • 12. 12 Differenze tra Hyperledger - Bitcoin e Ethereum Blockchain solo per Cryptocurrency 3 tipi di Blockchain Bitcoin Blockchain solo per Cryptocurrency + Business Logic Ethereum Blockchain solo per Business Logic Hyperledger
  • 13. 13 Bitcoin Ethereum Hyperledger cryptocurrency Si Si No Permissioned No No/Si Si* Pseudo-anonima Si No No Auditabile Si Si Si Ledger Immutabile Si Si Si Modulare No No Si Smart Contract No Si Si Protocollo Consensus PoW PoW/PoS Vari Differenze tra Hyperledger - Bitcoin e Ethereum
  • 14. Pubblica Consorzio Amministratori 0 Previsto Permesso No (possibili utenti malicious) Si (solo trusted user) Gestione Identita’ No Necessaria Confidenzialita’ Bassa Alta Algoritmi di Consenso Non Flessibile Flessibilita’ (pluggable) Validatori Tutti Nodi Specializzati Creazione Blocco 7 tps / 15 tps from 140 tps to 2250 tps* Esempi Bitcoin/Ethereum(anche permissioned) Ripple,Eris,Hyperledger * https://arxiv.org/pdf/1805.11390.pdf
  • 15. 15 Differenze tra Hyperledger - Bitcoin e Ethereum 1.No cryptocurrency ma solo Business Logic 2.Permissioned quidi adatta a B2B e B2C 3.“Mining” solo da Peer Specializzati 4.Modello della Business Network
  • 16. 16 Differenze tra Blockchain - Database 1.Update e Write non sono possibili. E’ disponibile il Write Once 2.Non c’e’ Admin per operazioni di edit/delete sui dati 3.RDBMS sono disegnati come applicazioni centralizzate
  • 17. 17 Perche’ ? Only an Open Source, collaborative software development approach can ensure the transparency, longevity, interoperability and support required to bring blockchain technologies forward to mainstream commercial adoption https://www.hyperledger.org/about
  • 18. 18 – Identifying a good blockchain use-case is not always easy! – However there should always be: What makes a good blockchain use case? 1. A business problem to be solved • That cannot be solved with more mature technologies 2. An identifiable business network • With Participants, Assets and Transactions 3. A need for trust • Consensus, Immutability, Finality or Provenance
  • 19. 19 Blockchain – non sempre . . . NEGATIVO 1. Numero elevato di trx/sec 2. Processo prevede grandi quantita’ di dati statici 3. Le regole delle transazioni cambiano frequentemente 4. Dati confidenziali 5. Uso di servizi esterni per ottenere/memorizzare i dati 6. Non e’ un database replacement 7. Non e’ una messaging solution
  • 21. 21
  • 22. 22 Hyperledger Fabric: Distributed Ledger Platform – An implementation of blockchain technology that is a foundation for developing blockchain applications – Emphasis on ledger, smart contracts, consensus, confidentiality, resiliency and scalability. – V1.0 released July 2017 – 159 developers from 27 organizations – IBM is one contributor of code, IP and development effort to Hyperledger Fabric http://hyperledger-fabric.readthedocs.io/
  • 23. 23 Hyperledger Fabric Model Fabric implementa un Distributed Ledger e una Permissioned Network. • Asset definition per poter scambiare qualsiasi oggetto con un valore monetizzabile • Chaincode eseguito separatamente da ordering service per ottimizzare uso networking e ridurre il livello di trust • Segregated network con i Channel alti livelli di privacy e confidentiality su una rete comune • Ledger contiene tutta la storia delle transazioni per ogni Channel e include SQL like per auditing a risoluzione delle dispute • Servizi di sicurezza e membership trusted network dove tutte le transazioni possono essere rilevate e tracciate da auditor e regulator autorizzati • Consensus Pluggable consensue per definire agreement sul blocco di transazioni da aggiungere
  • 24. 24 Elementi della Blockchain Hyperledger Immagine da https://www.coursera.org/learn/blockchain-platforms/home/welcome
  • 25. 25 Hyperledger Fabric V1 Architecture O O O O Ordering Service Client Application SDK (HFC) Membership Services Provider Peer Endorser Ledger Committer A Chaincode B !Events
  • 27. 27 Hyperledger Fabric Consensus Consensus is achieved using the following transaction flow: Endorse Order Validate
  • 28. 28 A Ledger often consists of two data structures • Blockchain • A linked list of blocks • Each block describes a set of transactions (e.g. the inputs to a smart contract invocation) • Immutable – blocks cannot be tampered • World State • An ordinary database (e.g. key/value store) • Stores the combined outputs of all transactions • Not usually immutableWorld state block txn txn txn Blockchain
  • 29. 29 Blockchain developer Smart Contract submitsdevelops develops recorded How applications interact with the ledger accesses event emits emits D Ledger ‘get’, ‘put’, ‘delete’ Client Application SDK ! ! World state block txn txn txn Blockchain event
  • 30. 30 Consortium Network An example consortium network of 3 organisations • Orgs 1 and 3 run peers • Org 2 provides the ordering service only OO O O Org1 Org3Org2 Hyperledger Fabric Network E E Z Y E A B E User User Admin Admin Admin Y Z A B
  • 31. 31
  • 32. 32 Hyperledger Composer: Accelerating time to value Business Application Hyperledger Composer Blockchain (Hyperledger Fabric) – A suite of high level application abstractions for business networks – Emphasis on business-centric vocabulary for quick solution creation – Reduce risk, and increase understanding and flexibility – Features – Model your business networks, test and expose via APIs – Applications invoke APIs transactions to interact with business network – Integrate existing systems of record using loopback/REST – Fully open and part of Linux Foundation Hyperledger – Try it in your web browser now: http://composer-playground.mybluemix.net/ https://hyperledger.github.io/composer/
  • 33. 33 Con Hyperledger Composer Modeling Language Definisco Asset, Partecipant, Transaction in un .cto file Le transazioni scritte in Javascript sono in un .js file Le Control Rule sono definite in .acl file Con Hyperledger Composer Tool Creo un package con la ready to deploy Business Network Archive in un .bna file Con Hyperledger Composer Playground Tool Interagisco con la Business Network creata Con Hyperledger Composer Rest Server Tool Espongo le API delle transazioni create
  • 35. 35 Introducing the IBM Blockchain Platform Hyperledger Composer DeveloperTools IBM Cloud OperationalTools GovernanceTools Blockchain application Hyperledger Fabric IBM Blockchain Platform is a fully integrated enterprise- ready blockchain platform designed to accelerate the development, governance, and operation of a multi- institution business network – Developer tools that make use of Hyperledger Composer to quickly build your blockchain application – Hyperledger Fabric provides the ledger, which is managed through a set of intuitive operational tools – Governance tools for democratic management of the business network – Flexible deployment options, including a highly secure and performant IBM Cloud environment http://ibm.biz/Platform_Demo
  • 36. 36
  • 37. 37
  • 38. 38
  • 39. 39
  • 40. 40
  • 41. 41
  • 42. 42