Introduction to Blockchain and the Hyperledger ProjectManuel Garcia
Does The Hyperledger Project have the potential to become the engine behind most successful decentralized applications and organizations created in the next 25-50 years? Absolutely!
A much better question is how, and in what new ways, can we:
a) Build decentralized applications, organizations and APIs at 10x the speed at 1/10 the cost.
b) Build situational awareness in the local community.
I believe that the convergence of decentralized applications, decentralized organizations, artificial intelligence and IoT brings upon us the Great Displacement of the 21st century, where the majority of workforce will be left without “conventional” jobs, forced to learn new skills and professions. Why?
Founders of this group believe that the Hyperledger Foundation will be the engine behind decentralization of the world, a massive economic change of the next 25-50 years.
So.... why don't we standardize and democratize the field with and around Hyperledger?
What?
We are a local micro community of those interested in advancing their knowledge of Hyperledger, its use cases and applications.
How?
Join our group for a regular dose of human interaction, conversations, smiles, food and drinks on all things Hyperledger:
• Use Cases
• Competitive analysis of Hyperledger startups (Distributed Apps from disruptive companies in specific vertical markets)
• How-To’s
• Interviews with individuals working at the edge of the Hyperledger project
• Reviews of tools, services and APIs offered by the Hyperledger ecosystem
• Best Practices in Application Architecture
• Do’s and Don’ts
• Application Templates
• Hackathons
• Security in the decentralized world - on the edge, on the node, in the cloud and in transit
• How others solve some of the hard problems that exist in the world using Hyperledger.
https://www.hyperledger.org
https://github.com/hyperledger
Join the movement. Let’s change the world. Because with Hyperledger we can.
This slides belong to a presentation done by Manuel Garcia @ http://www.meetup.com/HyperLedger-and-Blockchain-Apps-Buenos-Aires
Demystify blockchain development with hyperledger fabricBenjamin Fuentes
The World has been following blockchain technology last year with the raise of the public blockchains, the Bitcoin value overpassing Gold and now private blockchains for Business.
Why so many interest on permissioned blockchain ? Which industries are impacted ? What is new for 2017 ? You will have a short presentation on blockchain and a demo on the latest Hyperledger Fabric V1 around an original use case for airline industry
The blockchain is an incorruptible digital ledger of economic transactions that can be programmed to record not just financial transactions but virtually everything of value.
for more inforamation please visit our youtube channel
https://www.youtube.com/edit?o=U&video_id=EvICyArbFSs
www.rihusoft.com
Introduction to Blockchain and the Hyperledger ProjectManuel Garcia
Does The Hyperledger Project have the potential to become the engine behind most successful decentralized applications and organizations created in the next 25-50 years? Absolutely!
A much better question is how, and in what new ways, can we:
a) Build decentralized applications, organizations and APIs at 10x the speed at 1/10 the cost.
b) Build situational awareness in the local community.
I believe that the convergence of decentralized applications, decentralized organizations, artificial intelligence and IoT brings upon us the Great Displacement of the 21st century, where the majority of workforce will be left without “conventional” jobs, forced to learn new skills and professions. Why?
Founders of this group believe that the Hyperledger Foundation will be the engine behind decentralization of the world, a massive economic change of the next 25-50 years.
So.... why don't we standardize and democratize the field with and around Hyperledger?
What?
We are a local micro community of those interested in advancing their knowledge of Hyperledger, its use cases and applications.
How?
Join our group for a regular dose of human interaction, conversations, smiles, food and drinks on all things Hyperledger:
• Use Cases
• Competitive analysis of Hyperledger startups (Distributed Apps from disruptive companies in specific vertical markets)
• How-To’s
• Interviews with individuals working at the edge of the Hyperledger project
• Reviews of tools, services and APIs offered by the Hyperledger ecosystem
• Best Practices in Application Architecture
• Do’s and Don’ts
• Application Templates
• Hackathons
• Security in the decentralized world - on the edge, on the node, in the cloud and in transit
• How others solve some of the hard problems that exist in the world using Hyperledger.
https://www.hyperledger.org
https://github.com/hyperledger
Join the movement. Let’s change the world. Because with Hyperledger we can.
This slides belong to a presentation done by Manuel Garcia @ http://www.meetup.com/HyperLedger-and-Blockchain-Apps-Buenos-Aires
Demystify blockchain development with hyperledger fabricBenjamin Fuentes
The World has been following blockchain technology last year with the raise of the public blockchains, the Bitcoin value overpassing Gold and now private blockchains for Business.
Why so many interest on permissioned blockchain ? Which industries are impacted ? What is new for 2017 ? You will have a short presentation on blockchain and a demo on the latest Hyperledger Fabric V1 around an original use case for airline industry
The blockchain is an incorruptible digital ledger of economic transactions that can be programmed to record not just financial transactions but virtually everything of value.
for more inforamation please visit our youtube channel
https://www.youtube.com/edit?o=U&video_id=EvICyArbFSs
www.rihusoft.com
Introduction to Blockchain and HyperledgerDev_Events
Nitesh Thakrar, IT Software Architect,
IBM @niteshpthakrar and Benjamin Fuentes, Software
Architect and Developer, IBM, @benji_fuentes
This workshop will be in 3 stages:
1. A brief presentation on Blockchain and why
Hyperledger
2. A demo use case to explain the architecture and the code behind the demo
3. Finally, the attendees will create their own blockchain application on the cloud. The hands-on
will also invite them to use the appropriate APIs and event update a smart contract.Majority of
the time will be in doing the hands-on (step 3) so that the attendees are able to continue
developing their application after the event.Requirements: Attendees will need to bring their
laptops and be able to connect to wifi.
Trading derivatives on a decentralized system aims for high
availability (HA) and disaster recovery (DR). Both HA and DR can be
met by incorporating a blockchain and a container technology. The
Hyperledger is a blockchain framework aims for a cross-industry open
standard with the freely customizable plugins, smart contract, and the
data payload. Those features exposes us the easy ways to implement our
trading platform on a blockchain. The Docker was brought to handle
each specific Hyperledger chain internally. Also, hovering the whole
Hyperledger nodes with containers reduce our time in building
infrastructure, and much easier to be deployed on the production
environment. This presentation will show how we integrate the
Hyperledger and the Docker container for our derivatives trading
project, and the issues that we are focusing on. Additionally, the
talk partially includes the performance evaluation results under
different configurations.
This talk was delivered at LinuxCon Japan 2016 by Siriwat Kasamwattanarote, Thierry Gibralta, Vsevolod Yugov, Shibo Lin, Hideaki Takei, and Fernando Vazquez
This tutorial will walk you through building a Hyperledger Composer blockchain solution from scratch. In the space of a few hours you will be able to go from an idea for a disruptive blockchain innovation, to executing transactions against a real Hyperledger Fabric blockchain network and generating/running a sample Angular 2 application that interacts with a blockchain network.
This tutorial gives an overview of the techniques and resources available to apply to your own use case.
Note: This tutorial was written against the latest Hyperledger Composer build on Ubuntu Linux running with Hyperledger Fabric v1.0 where referenced below and also tested for a Mac environment.
A brief compare and contrast of why you may want to choose Hyperledger Fabric for your first foray into the world of building blockchain apps.
If you are interested in how to deploy your first Hello World chaincode, please visit the slides below for a step-by-step guide.
http://www.slideshare.net/Excelian/excelian-hyperledger-walkthroughfeb17
These slides were created by James Bowkett, Principal Consultant at Excelian.
Gluecon 2016 Keynote: Deploying and Managing Blockchain ApplicationsDuncan Johnston-Watt
Blockchain technology has exploded on the business scene in the last few months notably with the establishment of the Hyperledger Project hosted by the Linux Foundation. We look at the background to this project; some of the challenges to its mainstream adoption; then wrap up with a demo deploying and managing a Hyperledger Fabric cluster using Apache Brooklyn.
Bitmark and Hyperledger Workshop: the Digital Assets and PropertyJollen Chen
Introducing the Bitmark and Hyperledger project, how they facilitate the blockchain technology for the digital assets and property world, and learn the Chaincode 101.
Credit goes to Christopher B Ferris @christo4ferris who put together this presentation which covers the latest developments of Hyperledger Fabric made available in Fabric 1.1 and 1.2 and what can be expected next.
An introduction session in the "Blockchain: Cryptocurrencies and other Business Applications" course that I've just finished delivering to the School of Business of Hong Kong Baptist University.
Introduction to Blockchain and HyperledgerDev_Events
Nitesh Thakrar, IT Software Architect,
IBM @niteshpthakrar and Benjamin Fuentes, Software
Architect and Developer, IBM, @benji_fuentes
This workshop will be in 3 stages:
1. A brief presentation on Blockchain and why
Hyperledger
2. A demo use case to explain the architecture and the code behind the demo
3. Finally, the attendees will create their own blockchain application on the cloud. The hands-on
will also invite them to use the appropriate APIs and event update a smart contract.Majority of
the time will be in doing the hands-on (step 3) so that the attendees are able to continue
developing their application after the event.Requirements: Attendees will need to bring their
laptops and be able to connect to wifi.
Trading derivatives on a decentralized system aims for high
availability (HA) and disaster recovery (DR). Both HA and DR can be
met by incorporating a blockchain and a container technology. The
Hyperledger is a blockchain framework aims for a cross-industry open
standard with the freely customizable plugins, smart contract, and the
data payload. Those features exposes us the easy ways to implement our
trading platform on a blockchain. The Docker was brought to handle
each specific Hyperledger chain internally. Also, hovering the whole
Hyperledger nodes with containers reduce our time in building
infrastructure, and much easier to be deployed on the production
environment. This presentation will show how we integrate the
Hyperledger and the Docker container for our derivatives trading
project, and the issues that we are focusing on. Additionally, the
talk partially includes the performance evaluation results under
different configurations.
This talk was delivered at LinuxCon Japan 2016 by Siriwat Kasamwattanarote, Thierry Gibralta, Vsevolod Yugov, Shibo Lin, Hideaki Takei, and Fernando Vazquez
This tutorial will walk you through building a Hyperledger Composer blockchain solution from scratch. In the space of a few hours you will be able to go from an idea for a disruptive blockchain innovation, to executing transactions against a real Hyperledger Fabric blockchain network and generating/running a sample Angular 2 application that interacts with a blockchain network.
This tutorial gives an overview of the techniques and resources available to apply to your own use case.
Note: This tutorial was written against the latest Hyperledger Composer build on Ubuntu Linux running with Hyperledger Fabric v1.0 where referenced below and also tested for a Mac environment.
A brief compare and contrast of why you may want to choose Hyperledger Fabric for your first foray into the world of building blockchain apps.
If you are interested in how to deploy your first Hello World chaincode, please visit the slides below for a step-by-step guide.
http://www.slideshare.net/Excelian/excelian-hyperledger-walkthroughfeb17
These slides were created by James Bowkett, Principal Consultant at Excelian.
Gluecon 2016 Keynote: Deploying and Managing Blockchain ApplicationsDuncan Johnston-Watt
Blockchain technology has exploded on the business scene in the last few months notably with the establishment of the Hyperledger Project hosted by the Linux Foundation. We look at the background to this project; some of the challenges to its mainstream adoption; then wrap up with a demo deploying and managing a Hyperledger Fabric cluster using Apache Brooklyn.
Bitmark and Hyperledger Workshop: the Digital Assets and PropertyJollen Chen
Introducing the Bitmark and Hyperledger project, how they facilitate the blockchain technology for the digital assets and property world, and learn the Chaincode 101.
Credit goes to Christopher B Ferris @christo4ferris who put together this presentation which covers the latest developments of Hyperledger Fabric made available in Fabric 1.1 and 1.2 and what can be expected next.
An introduction session in the "Blockchain: Cryptocurrencies and other Business Applications" course that I've just finished delivering to the School of Business of Hong Kong Baptist University.
Hyperledger Fabric Technical Deep Dive 20190618Arnaud Le Hors
Slides presented at the Hyperledger Fabric workshop in Barecelona on July 10th, 2019.
This introduces blockchain for business and describes in details the Hyperledger Fabric design principles, overall architecture, its components, and the transaction flow.
Blockchin architecture & use cases -part-2Mohammad Asif
In this session we have discussed some block chain real world use cases, different block-chain network and demo to setup hyper-ledger fabric network on Azure VM and installing chain code on peers.
Hyperledger Fabric - Blockchain for the Enterprise - FOSDEM 20190203Arnaud Le Hors
This presentation gives a quick technical overview of what Hyperledger Fabric is about and how to get started using it to develop a blockchain application.
Blockchain is a technology for a new generation of transactional applications that establishes trust,
accountability and transparency while streamlining processes in business networks. Think of it as
an operating system for interactions between participants in a business network. It has the potential
to vastly reduce the cost and complexity of getting things done
Blockchain and BPM - Reflections on Four Years of Research and ApplicationsIngo Weber
In this keynote, delivered at the Blockchain Forum of BPM 2019, I summarized and reflected on research on BPM and blockchain over the last four years, including model-driven engineering, process execution, and analysis and process mining. I also covered selected use cases and applications, as well as recent insights on adoption. The keynote closed with a discussion of open research questions.
Blockchain technology has leapt to prominence in the past year, notably with the establishment of the open source Hyperledger Project hosted by the Linux Foundation. This talk examines Blockchain's impact on financial services and asset management. Using Cloudsoft Application Management Platform (AMP), we show how we can rapidly deploy and manage a Hyperledger Fabric running on a Bluemix Private Cloud across San Jose, London, and Singapore, creating a geographically distributed Blockchain network. Finally we drill down on the Apache Brooklyn blueprint that models this fabric and makes it possible.
https://cloudsoft.io/gethlf/
IBM InterConnect 2017 | Session 2444A
Cisco ICON Speaker Series: Blockchain - Technology that is revolutionizing th...Vishnu Pendyala
Varun Vijay's talk abstract:
Blockchain can profoundly change how the world works. It is said that Blockchain will do for transactions what the Internet did for information. It will increase trust and efficiency in the exchange of almost anything, even vehicle registration and tracking medical records - not just Cryptocurrencies. Blockchain, most simply defined as a shared, immutable ledger, has the potential to be the technology that redefines those processes and many others. Blockchain is not about Cryptocurrencies like Bitcion, but about the underlying digital foundation that supports applications such as bitcoin. The reach of Blockchain extends far beyond Crytocurrencies. The Presentation will cover the fundamentals of Blockchain and how this technology will revolutionize transactions and business networks. Audience will also discover the important difference between Blockchain and Blockchain for business and what makes Blockchain an ideal solution for streamlining business networks.
As enterprises across verticals explore the
opportunities for innovation and process
optimization using blockchain technologies, they
are looking for in technical aspects of deploying
and integrating blockchain technology, with their
existing IT systems.
Based on operating models and blockchain
platforms, there are variations in deployment and
operations aspects, along with factors like
integration & information security. This document
provides approach and factors to consider during
selection and implementation of blockchain
technologies
https://www.lntinfotech.com/Canada/
apidays Helsinki & North 2023 - API authorization with Open Policy Agent, And...apidays
apidays Helsinki & North 2023
API Ecosystems - Connecting Physical and Digital
June 5 & 6, 2023
API authorization with Open Policy Agent
Anders Eknert, Developer Advocate at Styra
------
Check out our conferences at https://www.apidays.global/
Do you want to sponsor or talk at one of our conferences?
https://apidays.typeform.com/to/ILJeAaV8
Learn more on APIscene, the global media made by the community for the community:
https://www.apiscene.io
Explore the API ecosystem with the API Landscape:
https://apilandscape.apiscene.io/
Unit 8 - Information and Communication Technology (Paper I).pdfThiyagu K
This slides describes the basic concepts of ICT, basics of Email, Emerging Technology and Digital Initiatives in Education. This presentations aligns with the UGC Paper I syllabus.
The French Revolution, which began in 1789, was a period of radical social and political upheaval in France. It marked the decline of absolute monarchies, the rise of secular and democratic republics, and the eventual rise of Napoleon Bonaparte. This revolutionary period is crucial in understanding the transition from feudalism to modernity in Europe.
For more information, visit-www.vavaclasses.com
Operation “Blue Star” is the only event in the history of Independent India where the state went into war with its own people. Even after about 40 years it is not clear if it was culmination of states anger over people of the region, a political game of power or start of dictatorial chapter in the democratic setup.
The people of Punjab felt alienated from main stream due to denial of their just demands during a long democratic struggle since independence. As it happen all over the word, it led to militant struggle with great loss of lives of military, police and civilian personnel. Killing of Indira Gandhi and massacre of innocent Sikhs in Delhi and other India cities was also associated with this movement.
Normal Labour/ Stages of Labour/ Mechanism of LabourWasim Ak
Normal labor is also termed spontaneous labor, defined as the natural physiological process through which the fetus, placenta, and membranes are expelled from the uterus through the birth canal at term (37 to 42 weeks
Macroeconomics- Movie Location
This will be used as part of your Personal Professional Portfolio once graded.
Objective:
Prepare a presentation or a paper using research, basic comparative analysis, data organization and application of economic information. You will make an informed assessment of an economic climate outside of the United States to accomplish an entertainment industry objective.
Read| The latest issue of The Challenger is here! We are thrilled to announce that our school paper has qualified for the NATIONAL SCHOOLS PRESS CONFERENCE (NSPC) 2024. Thank you for your unwavering support and trust. Dive into the stories that made us stand out!
Introduction to AI for Nonprofits with Tapp NetworkTechSoup
Dive into the world of AI! Experts Jon Hill and Tareq Monaur will guide you through AI's role in enhancing nonprofit websites and basic marketing strategies, making it easy to understand and apply.
Honest Reviews of Tim Han LMA Course Program.pptxtimhan337
Personal development courses are widely available today, with each one promising life-changing outcomes. Tim Han’s Life Mastery Achievers (LMA) Course has drawn a lot of interest. In addition to offering my frank assessment of Success Insider’s LMA Course, this piece examines the course’s effects via a variety of Tim Han LMA course reviews and Success Insider comments.
Synthetic Fiber Construction in lab .pptxPavel ( NSTU)
Synthetic fiber production is a fascinating and complex field that blends chemistry, engineering, and environmental science. By understanding these aspects, students can gain a comprehensive view of synthetic fiber production, its impact on society and the environment, and the potential for future innovations. Synthetic fibers play a crucial role in modern society, impacting various aspects of daily life, industry, and the environment. ynthetic fibers are integral to modern life, offering a range of benefits from cost-effectiveness and versatility to innovative applications and performance characteristics. While they pose environmental challenges, ongoing research and development aim to create more sustainable and eco-friendly alternatives. Understanding the importance of synthetic fibers helps in appreciating their role in the economy, industry, and daily life, while also emphasizing the need for sustainable practices and innovation.
3. 3
A mutual distributed ledger technology
allowing any participant in the business
network to independently compute and
validate the source of truth
Introducing Blockchain
4. 4
Reference Architecture
Distributed Ledger Technology Services
APIs, Events, SDKs
SMART
CONTRACT
Chain-code
Services
AP
Membership
Services
Enrollment
Attributes
Consensus Services
Distributed
Ledger
Ordering
Service
Network
Protocol
Endorsement
Validation
Secure
Container
Secure
Registry
TRANSACTIONS
LEDGER
IDENTITY
Security and Crypto Services
IDENTITY
Pluggable, Membership, Privacy
and Auditability of transactions.
LEDGER | TRANSACTIONS
Distributed transactional ledger
whose state is updated by
consensus of stakeholders
SMART-CONTRACT
“Programmable Ledger”, provide
ability to run business logic against
the blockchain (aka smart contract)
APIs, Events, SDKs
Multi-language native SDKs allow
developers to write DLT apps
5. 5
Orderer
• A group of Orderers runs a communication service,
called ordering service, to provide atomic broadcast
• Ordering service is the genesis of a network. Clients
of ordering service are peers and applications
– Accept transactions and deliver blocks
– Process all configuration transactions to set up network
policies (readers, writers, admins)
• Orderer manages a pluggable trust engine (eg CFT or
BFT) that performs the ordering of the transactions
orderer
Atomicbroadcast
System Config
Config
Processor
Trust Model
6. 6
Peer
• A Peer is a node on the network maintaining state of the
ledger and managing chaincodes
• Any number of Peers may participate in a network
• A Peer can be an endorser, committer and/or submitter
(submitter has not been implemented). An endorser is always
a committer
– An endorser executes and endorses transactions
– A committer verifies endorsements and validates transaction results
• A Peer manages event hub and deliver events to the
subscribers
• Peers form a peer-to-peer gossip network
Endorser
Committer
Ledger
Chaincode
Event
Submitter
peer
7. 7
Ledger
Latest written key/values for
use in transaction simulation
Supports keyed queries,
composite key queries, key
range queries
TX
Reads[]
Writes[]
TX
Reads[]
Writes[]
TX
Reads[]
Writes[]
TX
Reads[]
Writes[]
State Database
Transaction Log
Last written key/value
CouchDB (external option)
supports keyed queries,
composite key queries, key
range queries, plus full data
rich queries (beta in 1.0)
blockHash à SegNo + offset
blockNum à SegNo + offset
txId à SegNo + offset
Block index
block
tx array
File System Level DB
Replaceable
tracking history of a key
Key History index
8. 8
Channel
• A data partitioning mechanism to control transaction visibility only to
stakeholders
• Consensus takes place within a channel by members of the channel
– Other members on the network are not allowed to access the channel and will not
see transactions on the channel
• A chaincode may be deployed on multiple channels, each instance is
isolated within its channel
– A chaincode may query another chaincode in other channel (ACL applied)
9. 9
Membership Service Provider
• An abstraction of identity provider
– <MSP.id, MSP.sign, MSP.verify, MSP.validateid, MSP.admin>
– govern application, endorser and orderer identities
• Used as building blocks for access control
frameworks
– at the system level (read/write access on system
controls, and channel creation)
– at the channel level (read/write access),
– at the chaincode level (invocation access)
• Represent a consortium or a member
Client
End-user
Bob
Endorser
Endorser
Endorser
Membership
Service Provider
Orderer
Channel
ü
External
Certificate Authority
Fabric-CA
Certificate Authority
ü
10. 10
Crypto Service Provider
• CSP abstracts crypto standards (software
and hardware) to enable plugging in
different implementation
– Alternate implementations of crypto interface
can be used within the Fabric code, without
modifying the core
• Support for Multiple CSPs
– Easy addition of more types of CSPs, e.g., of
different HSM types
– Enable the use of different CSP on different
system components transparently
Fabric Components
ACSP
EP11
(enterprise PKCS11
firmware)
IBM HSM
(card)
OpenCryptoKi
(remote PKCS11)
(PKCS11)
(enterprise PKCS11)
Software BCCSP
HSM BCCSP
(PKCS11)
CSP Factory
11. 11
Ecert
Tcert
Fabric-CA
• Default implementation of the
Membership Services Provider
Interface.
• Issues Ecerts (long-term
identity) and Tcerts (disposable
certificate)
• Supports clustering for HA
characteristics
• Supports LDAP for user
authentication
• Supports HSM
Fabric-CA
cluster DB
LDAP
Authenticate
Enroll ID, secret
HSM
Root
Certificate Authority
ü
Membership
Services
Provider
Implements
12. 12
Overview of Application Flow
• Developers create application
and smart contracts (chaincodes)
– Chaincodes are deployed on the
network and control the state of the
ledger
– Application handles user interface
and submits transactions to the
network which call chaincodes
• Network emits events on block of
transactions allowing applications
to integrate with other systems
cached state,
history, tx
Blockchain
block
txn txn txn txn …
Blockchain
developer
Smart
Contract
Invokes/queriesdevelops
develops
Application
Accesses
event
emits
emits
D
Ledger
‘get’ ‘put, ‘delete’
SDK
Peer
14. 14
Bootstrapping a Network
• Decide on members (MSPs) controlling the ordering service
– Set up MSP configuration for each member (root certs, signing certs, key, admins)
– Set up policies governing the network (who has privilege to modify config and create
channels)
– Start up orderers with the configuration
• Each member decides on the number of peers to participate
– For each peer, issue peer identity (local MSP configuration) and start it up
• At this point, we have a network of peers and orderers
– Peers are not yet connected to orderers nor to each other
16. 16
Setting up Channels, Policies, and Chaincodes
• Depending on the business network, 1 or more channels may be required
• To create a channel, send a configuration transaction to the ordering service
specifying members of the channel, ACL policies, anchor peers
– The configuration becomes part of the genesis block of the channel
– Then notify members to join the channel (a peer may join multiple channels)
• Deploy chaincodes on the channel with appropriate endorsement policy
• Now the network is ready for transacting
17. 17
Consensus Redefined
• Consensus = Transaction Endorsement + Ordering + Validation
• Endorsement: Each stakeholder decides whether to accept or reject a
transaction
• Ordering: Sort all transactions within a period into a block to be committed in
that order
• Validation: Verify transaction endorsement satisfied the policy and
transaction transformation is valid according to multiversion concurrency
control (MVCC)
18. 18
Transaction Endorsement
• An endorsement is a signed response of the result of a transaction execution
• An endorsement policy encapsulates the requirement for a transaction to be
accepted by the stakeholders, either explicit or implicit
– A signature from both member1 and member2
– Either a signature from both member1 and member2 or a signature from member3
– A signature from John Doe
• The endorsement policy is specified during a chaincode instantiation on a
channel; each channel-chaincode may have different endorsement policy
19. 19
Two-Member Network with A Channel
Ordering
Service
(transaction timestamping)
Orderer
Peer
Peer
Peer
Peer
Peer
Peer
Orderer
Channel
Channel
App
App
What if we want to add more members ?
21. 21
Sample transaction: Step 1/7 – Propose transaction
E0
Client
Application E1
E2
S
D
K
Endorser Ledger
Committer Application
Orderier
Smart Contract
(Chain code)
Endorsement
Policy
Key:
Fabric
Ordering-Service
O
O O
OAp
Application proposes transaction
Endorsement policy:
• “E0, E1 and E2 must sign”
• (P3, P4 are not part of the policy)
Client application submits a transaction
proposal for chaincode A. It must target
the required peers {E0, E1, E2}
P4P3
A
B
A
B
A
B
A
D
22. 22
Sample transaction: Step 2/7 – Execute proposal
Endorsers Execute Proposals
E0, E1 & E2 will each execute the
proposed transaction. None of these
executions will update the ledger
Each execution will capture the set of
Read and Written data, called RW sets,
which will now flow in the fabric.
E0
Client
Application E1
E2
S
D
K
Fabric
Ordering-Service
O
O O
OAp
Endorser Ledger
Committer Application
Orderier
Smart Contract
(Chain code)
Endorsement
Policy
Key:
P4P3
A
B
A
B
A
B
A
D
23. 23
Sample transaction: Step 3/7 – Proposal Response
Application receives responses
The RW sets are signed by each
endorser and returned to the application
E0
Client
Application E1
E2
S
D
K
Fabric
Ordering-Service
O
O O
OAp
Endorser Ledger
Committer Application
Orderier
Smart Contract
(Chain code)
Endorsement
Policy
Key:
P4P3
A
B
A
B
A
B
A
D
24. 24
Sample transaction: Step 4/7 – Order Transaction
Application submits responses for
ordering
Application submits responses as a
transaction to be ordered.
Ordering happens across the fabric in
parallel with transactions submitted by
other applications
Fabric
E0
E1
E2
O
O O
OAp
Client
Application
S
D
K
Endorser Ledger
Committer Application
Orderier
Smart Contract
(Chain code)
Endorsement
Policy
Key:
(other applications)
Ordering-Service
P4P3
A
B
A
B
A
B
A
D
25. 25
Sample transaction: Step 5/7 – Deliver Transaction
Orderer delivers to all committing peers
Ordering service collects transactions
into blocks for distribution to committing
peers. Peers can deliver to other peers
using gossip (not shown)
Different ordering algorithms available:
• SOLO (single node, development)
• Kafka (blocks map to topics)
• SBFT (tolerates faulty peers, future)
Fabric
E0
E1
E2
O
O O
OAp
Client
Application
S
D
K
Endorser Ledger
Committer Application
Orderier
Smart Contract
(Chain code)
Endorsement
Policy
Key:
Ordering-Service
P4P3
A
B
A
B
A
B
A
D
26. 26
Sample transaction: Step 6/7 – Validate Transaction
Committing peers validate transactions
Every committing peer validates against
the endorsement policy. Also check RW
sets are still valid for the current state
Transactions are written to the ledger
and update caching DBs with validated
transactions
Fabric
E0
E1
E2
O
O O
OAp
Client
Application
S
D
K
Endorser Ledger
Committer Application
Orderier
Smart Contract
(Chain code)
Endorsement
Policy
Key:
Ordering-Service
P4P3
A
B
A
B
A
B
A
D
27. 27
Sample transaction: Step 7/7 – Notify Transaction
Committing peers notify applications
Applications can register to be notified
when transactions succeed or fail, and
when blocks are added to the ledger
Applications will be notified by each peer
to which they are connected
Fabric
E0
A
B
E1
A
B
E2
A
B
O
O O
OAp
Client
Application
S
D
K
Endorser Ledger
Committer Application
Orderier
Smart Contract
(Chain code)
Endorsement
Policy
Key:
Ordering-Service
P3
A
D
P4
!
!
!
!
! !
29. 29
2017!December January 31 March 20 May
Early Docker Images for
the December Connect-
A-Thon with Press
Release
11 companies in
Australia, Hungary, UK,
US East Coast, US West
Coast, Canada
Docker images for
Hyperledger Community
60+ participants real time
testing out latest
Hyperledger Fabric 1.0
and documentation at
Hyperledger Developer
Event in San Fransisco
Interconnect:
Docker images
aligned with Beta
for HSBN
Docker images
aligned with the
HSBN Consortium
offering GA
Proposal to community on current content
(which also applies to Interconnect 2017)
https://wiki.hyperledger.org/projects/proposedv1alphacontent
Docker Images
Continually
produced through
Continuous
Integration
March 3
Docker
images for
community,
being used by
select
customers
Moving Forward
30. 30
Where to Ask Questions
Hyperledger Community has moved off Slack to RocketChat.
Go to chat.hyperledger.org and register.
You will be required to have a linux foundation ID however. If you aren't
registered with the Linux Foundation, get an ID from
https://identity.linuxfoundation.org/
For questions on Version 1.0, go to the fabric-questions channel.
Also every day, the docker build status is posted when passing the
continuous integration tests will be posted on fabric-ci (only posted when
tests pass)
31. 31
Useful Information To Get You Started
• Documentation actively getting updated as we progress:
http://hyperledger-fabric.readthedocs.io/en/latest/
• Support for Docker images for easy deployment for Hyperledger-fabric 1.0.
Docker images will be available for all major components to run a network (peers, solo
orderer, CLI, CA, Kafka, CouchDB). A “Getting started” section will be available in the
Hyperledger-fabric publications. Getting started will help a developer or user to start
the network, run a simple application , and learn the basics of running fabric 1.0. See:
http://hyperledger-fabric.readthedocs.io/en/latest/
• Support for a tool that helps bootstrap a network. The bootstrap network tool is
available and called the Configuration Transaction Generator (configtxgen). The tool is
designed to configure the network with organizations included in the ordering service
genesis block and generates the configuration transaction artifacts used for channel
creation.