SlideShare a Scribd company logo
Hyperledger Fabric
&
Composer
Murughan Palaniachari
http://www.unicomlearning.com/2017/Devops_Microservices_and_Containers_Summit_Bangalore/
Who am I?
Murughan Palaniachari
Principal Consultant –
Blockchain & DevOps at
Pingala Software
With my Guru –
John Willis & Jez Humble
Organizer of
Technical Agility Conference
Cloud and DevOps meetup
DevOps and Blockchain meetup
Blockchain Developers meetup
https://elevate-org.com/
https://devopsgames.com/
https://in.linkedin.com/in/murughan
@Murughan_P
Challenges with centralized technology
Centralized
Lack of trust & integrity
Lack of traceability
Lack of visibility
Fraud & Data tamper
High operating cost
Middlemen
What is Blockchain
Distributed
Ledger
Smart Contract
DecentralizedImmutable
Cryptographically
Secured
@Murughan_P
Do you need
Blockchain?
https://medium.com/@sbmeunier/when-do-you-need-blockchain-decision-models-a5c40e7c9ba1
Blockchain use-cases
@Murughan_P
Public Blockchain
Anonymous - Anyone can read, write and join network
Decentralized – no entity owns the network
Cryptocurrency involved
Proof-of-Work consensus
Example: Bitcoin, Ethereum, EOS, Stellar
@Murughan_P
How Blockchain works
Node
2
Node
5,000
Node
N
Node
25
Transaction is
Broadcasted
to Blockchain
peer-to-peer
network
User
Requests
a transaction
Transaction will be validated by any
node in this Network through some
algorithms and smart contract
Once the transaction is verified by
multiple Nodes in the Blockchain
network then new block gets added to
chain and replicated across all the nodes
User
Requested
Transaction
Is completed
Node
500
Node
5
Node
1
Node
20,00
0
https://www.slideshare.net/arunmurughan/blockchain-concepts @Murughan_P
Challenges with Public Blockchain
https://medium.com/@preethikasireddy/fundamental-challenges-with-public-blockchains-253c800e9428
@Murughan_P
Low performance
Scalability issue
Anonymous
Limited privacy & confidentiality
Storage constraint
Unsustainable consensus mechanisms
Lack of governance and standards
Quantum computing threat
Not suitable for Enterprises where privacy and confidential is needed
Permissioned Blockchain for Enterprises
@Murughan_P
Restricts who can access and do what on the network
Participants must be identified/identifiable
Network is permissioned
High transaction throughput performance
Low latency of transaction confirmation
Privacy and confidentiality of transactions
Decentralized within the involved parties
Governance is enabled
Interoperable
Public vs Permissioned Blockchain
Public Blockchain - Ethereum Private Blockchain - Hyperledger Fabric
Blockchain Platform Framework
Governance Ethereum is developed by a
worldwide team of passionate
developers
Linux Foundation
Network Public and Permissioned Private and Permissioned
Consensus Mechanism PoW Pluggable Consensus
Currency Ether None
Smart Contract Solidity Golang, Java, Node.js
When to choose If the transactions are public If the transactions needs privacy,
confidentiality and identity.
@Murughan_P
Hyperledger Projects
Hyperledger is an
Umbrella project of
open source
Blockchain and
related tools started
in December 2015 by
the Linux Foundation
Hyperledger project is an open source
collaborative effort created to advance
cross-industry blockchain technologies.
It is a Linux Foundation Project and
implements many open source best
practices familiar to other leading projects.
@Murughan_P
Hyperledger Frameworks
https://www.hyperledger.org/projects @Murughan_P
Hyperledger Tools
@Murughan_P
Supply chain without Blockchain
Suppliers
Factory Distributor
Whole
Seller
Retailer
ConsumerSuppliers
Suppliers
Raw Materials
Raw Materials
Raw Materials
Raw Materials
Raw Materials
Raw Materials
Retailer
Retailer
Ledger maintained by each party – Mutable, Not Trustable, Traceability issue, Non auditable
@Murughan_P
Supply chain with Blockchain
Suppliers
Factory Distributor
Whole
Seller
Retailer
ConsumerSuppliers
Suppliers
Raw Materials
Raw Materials
Raw Materials
Raw Materials
Raw Materials
Raw Materials
Retailer
Retailer
Decentralized and Share Ledger – Immutable, Transparency & Data Visibility, decentralized, traceable, auditable,
encrypted, Eliminating middlemen, Reduced cost, Real-time true data and Privacy & Confidential.
@Murughan_P
Blockchain
Share Ledger
Hyperledger Fabric
Private and permissioned blockchain
Open Source & Governed by a diverse set of maintainers from multiple organizations.
Development community over 35 organizations and nearly 200 developers.
Blockchain framework for Business Blockchain applications
Enables privacy and confidentiality of transactions
Enables trust, transparency and accountability in network
@Murughan_P
Hyperledger Fabric
Highly modular and configurable architecture
Pluggable consensus protocols that enable the platform to be more effective
High transaction throughput performance
Low latency of transaction confirmation
No cryptocurrency to incent costly mining or to fuel smart contract execution
@Murughan_P
The sample network for 4 organizations
https://hyperledger-fabric.readthedocs.io/en/release-1.4/network/network.html @Murughan_P
Concepts
@Murughan_P
Assets Chaincode Ledger
Update LedgerRepresent Value
Asset – Exchange of Value
Exchange of almost anything with monetary
value over the network, from whole foods to
antique cars to currency futures.
Tangible - Real estate, Hardware etc.
Intangible – Contracts, Intellectual property
etc.
Represented as a collection of key-value pairs
in binary and/or JSON form
asset Car {
o String serialNumber
o String owner
.
}
@Murughan_P
Chaincode – Smart Contract
Business logic
Enforces rules to read or altering state
Defining an assets
Transaction instruction to change Asset state
Write smart contracts in Java, Go or Node.js
Chaincode execution results in a state change in ledger
Governed by System chaincode’s Endorsement Policy
Each Chaincode instance in its own container
@Murughan_P
Ledger
Record of all state transitions of asset
Immutable, append-only, sequenced, tamper-resistant record.
Each transaction results in entry to Ledger.
All participant have replica of ledger
There is one ledger per channel.
Each peer maintains a copy of the ledger for each channel of which they are a
member.
@Murughan_P
Ledger
Chaincode modified Ledger data
• Transaction Log
• Records all transactions
• Immutable
• Can perform only Create and Read
• Uses Level DB - Embedded within the peer
• State database
• Records current state of Asset
• Can Perform Create, Read, Update, Delete
• New Versioned created on update with Key-Value pair
• We can use Couch DB to execute complex queries
@Murughan_P
Permissioned Network
Restricts who can
access and do what
on the network
Authentication -
Known Identities
Access Control -
Role assigned
restricts the actions
Transaction
Validations - Carried
out by a subset of
participants
@Murughan_P
Privacy & Confidential
Privacy Participant not visible to the public but can decide to
disclose identity to trusted entities
immutable ledger on a per-channel basis
Confidential Only authorized participants are allowed to have access
to the information
@Murughan_P
Identity
Every actors(participants, peers, orderers, client applications, administrators and more)
in a blockchain network has a digital identity encapsulated in an X.509 digital certificate.
Determine the exact permissions over resources & access to information that actors have
in a blockchain network.
For an identity to be verifiable, it must come from a trusted authority this is achieved
through MSP -Membership Service Provider
Certificates issued & revoked by Certification Authority (CA)
@Murughan_P
Membership Service Provider
Provides the credentials to various entities
Component that defines the rules that govern the valid identities for this
organization.
The default MSP implementation in Fabric uses X.509 certificates as identities,
adopting a Public Key Infrastructure (PKI)
Members in org can create certificates for their participants and infrastructure
For modularity, network can be governed by one or more MSPs
@Murughan_P
Channels
Org 1
Org 2
Org 5
Org 4
LEDGER 1
LEDGER 2
Private communication between two or more
members for private and confidential transactions.
Each party must be authenticated and authorized
to transact on that channel.
Independent Ledger in each channel
Isolates the Ledger
Chaincode installed on peers that need visibility
also provides data encryption
Org 3
Org 6
LEDGER 3
@Murughan_P
LEDGER 1
LEDGER 1
LEDGER 1
LEDGER 1
LEDGER 2
LEDGER 3
Node Types
Client
Peers
• Anchor peers
• Endorsing peers
Orderers
@Murughan_P
Client Node
Client node acts on behalf of the
end user
Creates Txn Request and send
Endorser(s)
Connects to a Orderer for
broadcasting validated transaction
Chaincode defines the
endorsement policy
Uses policy to validate the
transaction
@Murughan_P
Endorser
Validates the transaction e.g.,
Certificate checks
Simulates the
chaincode
Executes the code
But does NOT save the state to the Ledger
Primary objective =
Protect the network
Intentional attack on the network
Misbehaving or misconfigured nodes on the network
Improve scalability
as only endorsers
need to execute the
code
NO need for all nodes to execute the chaincode
@Murughan_P
Peer Node
Adds the transaction to the ledger
Receives requests from client
Local Ledger Synchronization
Highly Scalable Architecture
@Murughan_P
Peers leverage gossip to broadcast
ledger and channel data in a scalable
fashion. Gossip messaging is continuous,
and each peer on a channel is constantly
receiving current and consistent ledger
data from multiple peers.
Anchor Peer
Anchor Peers receive the blocks
Anchor Peers update other peers in
the org
Setup at the channel level
Discoverable
@Murughan_P
Orderer Node - Ordering Service
Communication channel for fabric
Responsible for consistent ledger state
across the network
Consensus mechanism
Ensures order of transactions
Creates the blocks & guarantees atomic
delivery
SOLO or Kafka messaging service
@Murughan_P
Workflow
@Murughan_P
Client
Endorsing
Peer
Committing
Peer
Anchor
Peer
Certificate
Authority
Org 2
Anchor
Peer
Committing
Peer
Endorsing
Peer
Certificate
Authority
Org 1
OrdererClientClient
Access Control Lists
Manage access to resources
by associating a policy —
which specifies a rule that
evaluates to true or false,
given a set of identities
@Murughan_P
The sample network for 4 organizations
https://hyperledger-fabric.readthedocs.io/en/release-1.4/network/network.html @Murughan_P
Transaction Flow in Asset Exchange
https://hyperledger-fabric.readthedocs.io/en/release-1.4/txflow.html
The scenario includes two clients, A and B, who are buying and selling radishes.
@Murughan_P
Transaction Flow
https://hyperledger-fabric.readthedocs.io/en/release-1.4/arch-deep-dive.html#swimlane @Murughan_P
@Murughan_Phttps://hyperledger.github.io/composer/latest/
@Murughan_P
@Murughan_Phttps://hyperledger.github.io/composer/latest/
@Murughan_P
DEMO
@Murughan_P
DEMO
https://composer-
playground.mybluemix.net/login
@Murughan_P

More Related Content

What's hot

An Introduction to Blockchain Technology
An Introduction to Blockchain Technology An Introduction to Blockchain Technology
An Introduction to Blockchain Technology Niuversity
 
Blockchain 101 | Blockchain Tutorial | Blockchain Smart Contracts | Blockchai...
Blockchain 101 | Blockchain Tutorial | Blockchain Smart Contracts | Blockchai...Blockchain 101 | Blockchain Tutorial | Blockchain Smart Contracts | Blockchai...
Blockchain 101 | Blockchain Tutorial | Blockchain Smart Contracts | Blockchai...Edureka!
 
Blockchain Intro to Hyperledger Fabric
Blockchain Intro to Hyperledger Fabric Blockchain Intro to Hyperledger Fabric
Blockchain Intro to Hyperledger Fabric Araf Karsh Hamid
 
What is tokenization in blockchain?
What is tokenization in blockchain?What is tokenization in blockchain?
What is tokenization in blockchain?Ulf Mattsson
 
Blockchaindev #1 - Ethereum Smart Contracts 101
Blockchaindev #1 - Ethereum Smart Contracts 101Blockchaindev #1 - Ethereum Smart Contracts 101
Blockchaindev #1 - Ethereum Smart Contracts 101Thiago Araujo
 
Blockchain Technology Fundamentals
Blockchain Technology FundamentalsBlockchain Technology Fundamentals
Blockchain Technology FundamentalsExperfy
 
Blockchain Presentation
Blockchain PresentationBlockchain Presentation
Blockchain PresentationZied GUESMI
 
Introduction to Blockchain
Introduction to BlockchainIntroduction to Blockchain
Introduction to BlockchainJordan Harris
 
Write smart contract with solidity on Ethereum
Write smart contract with solidity on EthereumWrite smart contract with solidity on Ethereum
Write smart contract with solidity on EthereumMurughan Palaniachari
 
How does blockchain work
How does blockchain workHow does blockchain work
How does blockchain workShishir Aryal
 
Blockchain Study(1) - What is Blockchain?
Blockchain Study(1) - What is Blockchain?Blockchain Study(1) - What is Blockchain?
Blockchain Study(1) - What is Blockchain?Fermat Jade
 
Blockchain basics
Blockchain basicsBlockchain basics
Blockchain basicsRomit Bose
 
Blockchain Technology
Blockchain TechnologyBlockchain Technology
Blockchain TechnologyRashi Singh
 
An introduction to block chain technology
An introduction to block chain technologyAn introduction to block chain technology
An introduction to block chain technologyyaminisindhurabandar
 
Smart Contract & Ethereum
Smart Contract & EthereumSmart Contract & Ethereum
Smart Contract & EthereumAkshay Singh
 

What's hot (20)

Blockchain concepts
Blockchain conceptsBlockchain concepts
Blockchain concepts
 
An Introduction to Blockchain Technology
An Introduction to Blockchain Technology An Introduction to Blockchain Technology
An Introduction to Blockchain Technology
 
Blockchain 101 | Blockchain Tutorial | Blockchain Smart Contracts | Blockchai...
Blockchain 101 | Blockchain Tutorial | Blockchain Smart Contracts | Blockchai...Blockchain 101 | Blockchain Tutorial | Blockchain Smart Contracts | Blockchai...
Blockchain 101 | Blockchain Tutorial | Blockchain Smart Contracts | Blockchai...
 
BLOCKCHAIN
BLOCKCHAINBLOCKCHAIN
BLOCKCHAIN
 
Blockchain Intro to Hyperledger Fabric
Blockchain Intro to Hyperledger Fabric Blockchain Intro to Hyperledger Fabric
Blockchain Intro to Hyperledger Fabric
 
What is tokenization in blockchain?
What is tokenization in blockchain?What is tokenization in blockchain?
What is tokenization in blockchain?
 
Blockchaindev #1 - Ethereum Smart Contracts 101
Blockchaindev #1 - Ethereum Smart Contracts 101Blockchaindev #1 - Ethereum Smart Contracts 101
Blockchaindev #1 - Ethereum Smart Contracts 101
 
Smart contract
Smart contractSmart contract
Smart contract
 
Blockchain Technology Fundamentals
Blockchain Technology FundamentalsBlockchain Technology Fundamentals
Blockchain Technology Fundamentals
 
Blockchain Presentation
Blockchain PresentationBlockchain Presentation
Blockchain Presentation
 
Introduction to Blockchain
Introduction to BlockchainIntroduction to Blockchain
Introduction to Blockchain
 
Write smart contract with solidity on Ethereum
Write smart contract with solidity on EthereumWrite smart contract with solidity on Ethereum
Write smart contract with solidity on Ethereum
 
How does blockchain work
How does blockchain workHow does blockchain work
How does blockchain work
 
Blockchain Study(1) - What is Blockchain?
Blockchain Study(1) - What is Blockchain?Blockchain Study(1) - What is Blockchain?
Blockchain Study(1) - What is Blockchain?
 
Blockchain basics
Blockchain basicsBlockchain basics
Blockchain basics
 
Blockchain Technology
Blockchain TechnologyBlockchain Technology
Blockchain Technology
 
An introduction to block chain technology
An introduction to block chain technologyAn introduction to block chain technology
An introduction to block chain technology
 
Blockchain
BlockchainBlockchain
Blockchain
 
Smart Contract & Ethereum
Smart Contract & EthereumSmart Contract & Ethereum
Smart Contract & Ethereum
 
Ethereum
EthereumEthereum
Ethereum
 

Similar to Hyperledger Fabric

blockchain unit 3
blockchain unit 3blockchain unit 3
blockchain unit 3Rohit Verma
 
Public key infrastrucure and its uses.pptx
Public key infrastrucure and its uses.pptxPublic key infrastrucure and its uses.pptx
Public key infrastrucure and its uses.pptxGayathriSanthosh11
 
Blockchain for Python Developers - Pyjamas Conf 2020
Blockchain for Python Developers - Pyjamas Conf 2020Blockchain for Python Developers - Pyjamas Conf 2020
Blockchain for Python Developers - Pyjamas Conf 2020Juarez Junior
 
Blockchain Technology ,Architecture and its Structure
Blockchain Technology ,Architecture and its StructureBlockchain Technology ,Architecture and its Structure
Blockchain Technology ,Architecture and its Structurekasthurimukila
 
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 NetworkDuncan Johnston-Watt
 
BlockchainConf.tech - Hyperledger overview
BlockchainConf.tech - Hyperledger overviewBlockchainConf.tech - Hyperledger overview
BlockchainConf.tech - Hyperledger overviewPad Kankipati
 
Blockchain and BPM - Reflections on Four Years of Research and Applications
Blockchain and BPM - Reflections on Four Years of Research and ApplicationsBlockchain and BPM - Reflections on Four Years of Research and Applications
Blockchain and BPM - Reflections on Four Years of Research and ApplicationsIngo Weber
 
hyperledger-chaincode & hyperl fabric.pptx
hyperledger-chaincode & hyperl fabric.pptxhyperledger-chaincode & hyperl fabric.pptx
hyperledger-chaincode & hyperl fabric.pptxdeepaksingh160910
 
Blockchain Smart Manufacturing .pdf
Blockchain Smart Manufacturing .pdfBlockchain Smart Manufacturing .pdf
Blockchain Smart Manufacturing .pdfJohnWard824710
 
Block chain fundamentals and hyperledger
Block chain fundamentals and hyperledgerBlock chain fundamentals and hyperledger
Block chain fundamentals and hyperledgersendhilkumarks
 
Hyperledger Architecture > Volume 1
Hyperledger Architecture > Volume 1Hyperledger Architecture > Volume 1
Hyperledger Architecture > Volume 1VIJAY MUTHU
 
Hyperledger arch wg_paper_1_consensus
Hyperledger arch wg_paper_1_consensusHyperledger arch wg_paper_1_consensus
Hyperledger arch wg_paper_1_consensusCMR WORLD TECH
 
Hyperledger arch wg_paper_1_consensus
Hyperledger arch wg_paper_1_consensusHyperledger arch wg_paper_1_consensus
Hyperledger arch wg_paper_1_consensusCMR WORLD TECH
 
Role of hyperledger fabric in blockchain
Role of hyperledger fabric in blockchainRole of hyperledger fabric in blockchain
Role of hyperledger fabric in blockchainBlockchain Council
 

Similar to Hyperledger Fabric (20)

blockchain unit 3
blockchain unit 3blockchain unit 3
blockchain unit 3
 
Public key infrastrucure and its uses.pptx
Public key infrastrucure and its uses.pptxPublic key infrastrucure and its uses.pptx
Public key infrastrucure and its uses.pptx
 
Blockchain for Python Developers - Pyjamas Conf 2020
Blockchain for Python Developers - Pyjamas Conf 2020Blockchain for Python Developers - Pyjamas Conf 2020
Blockchain for Python Developers - Pyjamas Conf 2020
 
Blockchain Technology ,Architecture and its Structure
Blockchain Technology ,Architecture and its StructureBlockchain Technology ,Architecture and its Structure
Blockchain Technology ,Architecture and its Structure
 
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
 
Defrag x blockchain keynote
Defrag x blockchain keynoteDefrag x blockchain keynote
Defrag x blockchain keynote
 
BlockchainConf.tech - Hyperledger overview
BlockchainConf.tech - Hyperledger overviewBlockchainConf.tech - Hyperledger overview
BlockchainConf.tech - Hyperledger overview
 
Blockchain and BPM - Reflections on Four Years of Research and Applications
Blockchain and BPM - Reflections on Four Years of Research and ApplicationsBlockchain and BPM - Reflections on Four Years of Research and Applications
Blockchain and BPM - Reflections on Four Years of Research and Applications
 
hyperledger-chaincode & hyperl fabric.pptx
hyperledger-chaincode & hyperl fabric.pptxhyperledger-chaincode & hyperl fabric.pptx
hyperledger-chaincode & hyperl fabric.pptx
 
Azure Blockchain Workbench
Azure Blockchain WorkbenchAzure Blockchain Workbench
Azure Blockchain Workbench
 
Blockchain Smart Manufacturing .pdf
Blockchain Smart Manufacturing .pdfBlockchain Smart Manufacturing .pdf
Blockchain Smart Manufacturing .pdf
 
Block chain fundamentals and hyperledger
Block chain fundamentals and hyperledgerBlock chain fundamentals and hyperledger
Block chain fundamentals and hyperledger
 
BlockChain-1.pptx
BlockChain-1.pptxBlockChain-1.pptx
BlockChain-1.pptx
 
Hyperledger Architecture > Volume 1
Hyperledger Architecture > Volume 1Hyperledger Architecture > Volume 1
Hyperledger Architecture > Volume 1
 
Hyperledger arch wg_paper_1_consensus
Hyperledger arch wg_paper_1_consensusHyperledger arch wg_paper_1_consensus
Hyperledger arch wg_paper_1_consensus
 
Hyperledger arch wg_paper_1_consensus
Hyperledger arch wg_paper_1_consensusHyperledger arch wg_paper_1_consensus
Hyperledger arch wg_paper_1_consensus
 
Conoscerehyperledger
ConoscerehyperledgerConoscerehyperledger
Conoscerehyperledger
 
BlockChain-1.pptx
BlockChain-1.pptxBlockChain-1.pptx
BlockChain-1.pptx
 
Role of hyperledger fabric in blockchain
Role of hyperledger fabric in blockchainRole of hyperledger fabric in blockchain
Role of hyperledger fabric in blockchain
 
Hyperledger
HyperledgerHyperledger
Hyperledger
 

More from Murughan Palaniachari

Create and Deploy your ERC20 token with Ethereum
Create and Deploy your ERC20 token with EthereumCreate and Deploy your ERC20 token with Ethereum
Create and Deploy your ERC20 token with EthereumMurughan Palaniachari
 
Git version control and trunk based approach with VSTS
Git version control and trunk based approach with VSTSGit version control and trunk based approach with VSTS
Git version control and trunk based approach with VSTSMurughan Palaniachari
 
DevOps continuous learning and experimentation
DevOps continuous learning and experimentationDevOps continuous learning and experimentation
DevOps continuous learning and experimentationMurughan Palaniachari
 
DevOps ci/cd with Microsoft vsts and azure
DevOps ci/cd with Microsoft vsts and azureDevOps ci/cd with Microsoft vsts and azure
DevOps ci/cd with Microsoft vsts and azureMurughan Palaniachari
 
DevOps the phoenix project simulation
DevOps the phoenix project simulationDevOps the phoenix project simulation
DevOps the phoenix project simulationMurughan Palaniachari
 
Dev ops culture and principles of high performing organization
Dev ops culture and principles of high performing organizationDev ops culture and principles of high performing organization
Dev ops culture and principles of high performing organizationMurughan Palaniachari
 
DevOps culture in high performing organization and adoption & growth of DevOps
DevOps culture in high performing organization and adoption & growth of DevOps DevOps culture in high performing organization and adoption & growth of DevOps
DevOps culture in high performing organization and adoption & growth of DevOps Murughan Palaniachari
 
Zero downtime release through DevOps Continuous Delivery
Zero downtime release through DevOps Continuous DeliveryZero downtime release through DevOps Continuous Delivery
Zero downtime release through DevOps Continuous DeliveryMurughan Palaniachari
 
DevOps principles and practices - accelerate flow
DevOps principles and practices - accelerate flowDevOps principles and practices - accelerate flow
DevOps principles and practices - accelerate flowMurughan Palaniachari
 

More from Murughan Palaniachari (15)

Blockchain on aws
Blockchain on awsBlockchain on aws
Blockchain on aws
 
Create and Deploy your ERC20 token with Ethereum
Create and Deploy your ERC20 token with EthereumCreate and Deploy your ERC20 token with Ethereum
Create and Deploy your ERC20 token with Ethereum
 
Agile scrum with Microsoft VSTS
Agile scrum with Microsoft VSTSAgile scrum with Microsoft VSTS
Agile scrum with Microsoft VSTS
 
Git version control and trunk based approach with VSTS
Git version control and trunk based approach with VSTSGit version control and trunk based approach with VSTS
Git version control and trunk based approach with VSTS
 
DevOps culture
DevOps cultureDevOps culture
DevOps culture
 
DevOps continuous learning and experimentation
DevOps continuous learning and experimentationDevOps continuous learning and experimentation
DevOps continuous learning and experimentation
 
DevOps ci/cd with Microsoft vsts and azure
DevOps ci/cd with Microsoft vsts and azureDevOps ci/cd with Microsoft vsts and azure
DevOps ci/cd with Microsoft vsts and azure
 
DevOps the phoenix project simulation
DevOps the phoenix project simulationDevOps the phoenix project simulation
DevOps the phoenix project simulation
 
Dev ops culture and principles of high performing organization
Dev ops culture and principles of high performing organizationDev ops culture and principles of high performing organization
Dev ops culture and principles of high performing organization
 
DevOps culture in high performing organization and adoption & growth of DevOps
DevOps culture in high performing organization and adoption & growth of DevOps DevOps culture in high performing organization and adoption & growth of DevOps
DevOps culture in high performing organization and adoption & growth of DevOps
 
Zero downtime release through DevOps Continuous Delivery
Zero downtime release through DevOps Continuous DeliveryZero downtime release through DevOps Continuous Delivery
Zero downtime release through DevOps Continuous Delivery
 
DevOps principles and practices - accelerate flow
DevOps principles and practices - accelerate flowDevOps principles and practices - accelerate flow
DevOps principles and practices - accelerate flow
 
DevOps game marshmallow challenge
DevOps game marshmallow challengeDevOps game marshmallow challenge
DevOps game marshmallow challenge
 
DevOps game lego
DevOps game legoDevOps game lego
DevOps game lego
 
Top 10 devops values
Top 10 devops valuesTop 10 devops values
Top 10 devops values
 

Recently uploaded

Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered QualitySoftware Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered QualityInflectra
 
Unpacking Value Delivery - Agile Oxford Meetup - May 2024.pptx
Unpacking Value Delivery - Agile Oxford Meetup - May 2024.pptxUnpacking Value Delivery - Agile Oxford Meetup - May 2024.pptx
Unpacking Value Delivery - Agile Oxford Meetup - May 2024.pptxDavid Michel
 
Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........Alison B. Lowndes
 
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptxIOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptxAbida Shariff
 
The architecture of Generative AI for enterprises.pdf
The architecture of Generative AI for enterprises.pdfThe architecture of Generative AI for enterprises.pdf
The architecture of Generative AI for enterprises.pdfalexjohnson7307
 
Introduction to Open Source RAG and RAG Evaluation
Introduction to Open Source RAG and RAG EvaluationIntroduction to Open Source RAG and RAG Evaluation
Introduction to Open Source RAG and RAG EvaluationZilliz
 
What's New in Teams Calling, Meetings and Devices April 2024
What's New in Teams Calling, Meetings and Devices April 2024What's New in Teams Calling, Meetings and Devices April 2024
What's New in Teams Calling, Meetings and Devices April 2024Stephanie Beckett
 
ODC, Data Fabric and Architecture User Group
ODC, Data Fabric and Architecture User GroupODC, Data Fabric and Architecture User Group
ODC, Data Fabric and Architecture User GroupCatarinaPereira64715
 
Agentic RAG What it is its types applications and implementation.pdf
Agentic RAG What it is its types applications and implementation.pdfAgentic RAG What it is its types applications and implementation.pdf
Agentic RAG What it is its types applications and implementation.pdfChristopherTHyatt
 
UiPath Test Automation using UiPath Test Suite series, part 2
UiPath Test Automation using UiPath Test Suite series, part 2UiPath Test Automation using UiPath Test Suite series, part 2
UiPath Test Automation using UiPath Test Suite series, part 2DianaGray10
 
Connector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a buttonConnector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a buttonDianaGray10
 
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...Jeffrey Haguewood
 
Powerful Start- the Key to Project Success, Barbara Laskowska
Powerful Start- the Key to Project Success, Barbara LaskowskaPowerful Start- the Key to Project Success, Barbara Laskowska
Powerful Start- the Key to Project Success, Barbara LaskowskaCzechDreamin
 
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...Product School
 
Essentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with ParametersEssentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with ParametersSafe Software
 
Search and Society: Reimagining Information Access for Radical Futures
Search and Society: Reimagining Information Access for Radical FuturesSearch and Society: Reimagining Information Access for Radical Futures
Search and Society: Reimagining Information Access for Radical FuturesBhaskar Mitra
 
IoT Analytics Company Presentation May 2024
IoT Analytics Company Presentation May 2024IoT Analytics Company Presentation May 2024
IoT Analytics Company Presentation May 2024IoTAnalytics
 
Key Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdfKey Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdfCheryl Hung
 
SOQL 201 for Admins & Developers: Slice & Dice Your Org’s Data With Aggregate...
SOQL 201 for Admins & Developers: Slice & Dice Your Org’s Data With Aggregate...SOQL 201 for Admins & Developers: Slice & Dice Your Org’s Data With Aggregate...
SOQL 201 for Admins & Developers: Slice & Dice Your Org’s Data With Aggregate...CzechDreamin
 
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...Product School
 

Recently uploaded (20)

Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered QualitySoftware Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
 
Unpacking Value Delivery - Agile Oxford Meetup - May 2024.pptx
Unpacking Value Delivery - Agile Oxford Meetup - May 2024.pptxUnpacking Value Delivery - Agile Oxford Meetup - May 2024.pptx
Unpacking Value Delivery - Agile Oxford Meetup - May 2024.pptx
 
Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........
 
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptxIOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
 
The architecture of Generative AI for enterprises.pdf
The architecture of Generative AI for enterprises.pdfThe architecture of Generative AI for enterprises.pdf
The architecture of Generative AI for enterprises.pdf
 
Introduction to Open Source RAG and RAG Evaluation
Introduction to Open Source RAG and RAG EvaluationIntroduction to Open Source RAG and RAG Evaluation
Introduction to Open Source RAG and RAG Evaluation
 
What's New in Teams Calling, Meetings and Devices April 2024
What's New in Teams Calling, Meetings and Devices April 2024What's New in Teams Calling, Meetings and Devices April 2024
What's New in Teams Calling, Meetings and Devices April 2024
 
ODC, Data Fabric and Architecture User Group
ODC, Data Fabric and Architecture User GroupODC, Data Fabric and Architecture User Group
ODC, Data Fabric and Architecture User Group
 
Agentic RAG What it is its types applications and implementation.pdf
Agentic RAG What it is its types applications and implementation.pdfAgentic RAG What it is its types applications and implementation.pdf
Agentic RAG What it is its types applications and implementation.pdf
 
UiPath Test Automation using UiPath Test Suite series, part 2
UiPath Test Automation using UiPath Test Suite series, part 2UiPath Test Automation using UiPath Test Suite series, part 2
UiPath Test Automation using UiPath Test Suite series, part 2
 
Connector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a buttonConnector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a button
 
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
 
Powerful Start- the Key to Project Success, Barbara Laskowska
Powerful Start- the Key to Project Success, Barbara LaskowskaPowerful Start- the Key to Project Success, Barbara Laskowska
Powerful Start- the Key to Project Success, Barbara Laskowska
 
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
 
Essentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with ParametersEssentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with Parameters
 
Search and Society: Reimagining Information Access for Radical Futures
Search and Society: Reimagining Information Access for Radical FuturesSearch and Society: Reimagining Information Access for Radical Futures
Search and Society: Reimagining Information Access for Radical Futures
 
IoT Analytics Company Presentation May 2024
IoT Analytics Company Presentation May 2024IoT Analytics Company Presentation May 2024
IoT Analytics Company Presentation May 2024
 
Key Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdfKey Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdf
 
SOQL 201 for Admins & Developers: Slice & Dice Your Org’s Data With Aggregate...
SOQL 201 for Admins & Developers: Slice & Dice Your Org’s Data With Aggregate...SOQL 201 for Admins & Developers: Slice & Dice Your Org’s Data With Aggregate...
SOQL 201 for Admins & Developers: Slice & Dice Your Org’s Data With Aggregate...
 
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
 

Hyperledger Fabric

  • 2. http://www.unicomlearning.com/2017/Devops_Microservices_and_Containers_Summit_Bangalore/ Who am I? Murughan Palaniachari Principal Consultant – Blockchain & DevOps at Pingala Software With my Guru – John Willis & Jez Humble Organizer of Technical Agility Conference Cloud and DevOps meetup DevOps and Blockchain meetup Blockchain Developers meetup https://elevate-org.com/ https://devopsgames.com/ https://in.linkedin.com/in/murughan @Murughan_P
  • 3. Challenges with centralized technology Centralized Lack of trust & integrity Lack of traceability Lack of visibility Fraud & Data tamper High operating cost Middlemen
  • 4. What is Blockchain Distributed Ledger Smart Contract DecentralizedImmutable Cryptographically Secured @Murughan_P
  • 7. Public Blockchain Anonymous - Anyone can read, write and join network Decentralized – no entity owns the network Cryptocurrency involved Proof-of-Work consensus Example: Bitcoin, Ethereum, EOS, Stellar @Murughan_P
  • 8. How Blockchain works Node 2 Node 5,000 Node N Node 25 Transaction is Broadcasted to Blockchain peer-to-peer network User Requests a transaction Transaction will be validated by any node in this Network through some algorithms and smart contract Once the transaction is verified by multiple Nodes in the Blockchain network then new block gets added to chain and replicated across all the nodes User Requested Transaction Is completed Node 500 Node 5 Node 1 Node 20,00 0 https://www.slideshare.net/arunmurughan/blockchain-concepts @Murughan_P
  • 9. Challenges with Public Blockchain https://medium.com/@preethikasireddy/fundamental-challenges-with-public-blockchains-253c800e9428 @Murughan_P Low performance Scalability issue Anonymous Limited privacy & confidentiality Storage constraint Unsustainable consensus mechanisms Lack of governance and standards Quantum computing threat Not suitable for Enterprises where privacy and confidential is needed
  • 10. Permissioned Blockchain for Enterprises @Murughan_P Restricts who can access and do what on the network Participants must be identified/identifiable Network is permissioned High transaction throughput performance Low latency of transaction confirmation Privacy and confidentiality of transactions Decentralized within the involved parties Governance is enabled Interoperable
  • 11. Public vs Permissioned Blockchain Public Blockchain - Ethereum Private Blockchain - Hyperledger Fabric Blockchain Platform Framework Governance Ethereum is developed by a worldwide team of passionate developers Linux Foundation Network Public and Permissioned Private and Permissioned Consensus Mechanism PoW Pluggable Consensus Currency Ether None Smart Contract Solidity Golang, Java, Node.js When to choose If the transactions are public If the transactions needs privacy, confidentiality and identity. @Murughan_P
  • 12. Hyperledger Projects Hyperledger is an Umbrella project of open source Blockchain and related tools started in December 2015 by the Linux Foundation Hyperledger project is an open source collaborative effort created to advance cross-industry blockchain technologies. It is a Linux Foundation Project and implements many open source best practices familiar to other leading projects. @Murughan_P
  • 15. Supply chain without Blockchain Suppliers Factory Distributor Whole Seller Retailer ConsumerSuppliers Suppliers Raw Materials Raw Materials Raw Materials Raw Materials Raw Materials Raw Materials Retailer Retailer Ledger maintained by each party – Mutable, Not Trustable, Traceability issue, Non auditable @Murughan_P
  • 16. Supply chain with Blockchain Suppliers Factory Distributor Whole Seller Retailer ConsumerSuppliers Suppliers Raw Materials Raw Materials Raw Materials Raw Materials Raw Materials Raw Materials Retailer Retailer Decentralized and Share Ledger – Immutable, Transparency & Data Visibility, decentralized, traceable, auditable, encrypted, Eliminating middlemen, Reduced cost, Real-time true data and Privacy & Confidential. @Murughan_P Blockchain Share Ledger
  • 17. Hyperledger Fabric Private and permissioned blockchain Open Source & Governed by a diverse set of maintainers from multiple organizations. Development community over 35 organizations and nearly 200 developers. Blockchain framework for Business Blockchain applications Enables privacy and confidentiality of transactions Enables trust, transparency and accountability in network @Murughan_P
  • 18. Hyperledger Fabric Highly modular and configurable architecture Pluggable consensus protocols that enable the platform to be more effective High transaction throughput performance Low latency of transaction confirmation No cryptocurrency to incent costly mining or to fuel smart contract execution @Murughan_P
  • 19. The sample network for 4 organizations https://hyperledger-fabric.readthedocs.io/en/release-1.4/network/network.html @Murughan_P
  • 21. Asset – Exchange of Value Exchange of almost anything with monetary value over the network, from whole foods to antique cars to currency futures. Tangible - Real estate, Hardware etc. Intangible – Contracts, Intellectual property etc. Represented as a collection of key-value pairs in binary and/or JSON form asset Car { o String serialNumber o String owner . } @Murughan_P
  • 22. Chaincode – Smart Contract Business logic Enforces rules to read or altering state Defining an assets Transaction instruction to change Asset state Write smart contracts in Java, Go or Node.js Chaincode execution results in a state change in ledger Governed by System chaincode’s Endorsement Policy Each Chaincode instance in its own container @Murughan_P
  • 23. Ledger Record of all state transitions of asset Immutable, append-only, sequenced, tamper-resistant record. Each transaction results in entry to Ledger. All participant have replica of ledger There is one ledger per channel. Each peer maintains a copy of the ledger for each channel of which they are a member. @Murughan_P
  • 24. Ledger Chaincode modified Ledger data • Transaction Log • Records all transactions • Immutable • Can perform only Create and Read • Uses Level DB - Embedded within the peer • State database • Records current state of Asset • Can Perform Create, Read, Update, Delete • New Versioned created on update with Key-Value pair • We can use Couch DB to execute complex queries @Murughan_P
  • 25. Permissioned Network Restricts who can access and do what on the network Authentication - Known Identities Access Control - Role assigned restricts the actions Transaction Validations - Carried out by a subset of participants @Murughan_P
  • 26. Privacy & Confidential Privacy Participant not visible to the public but can decide to disclose identity to trusted entities immutable ledger on a per-channel basis Confidential Only authorized participants are allowed to have access to the information @Murughan_P
  • 27. Identity Every actors(participants, peers, orderers, client applications, administrators and more) in a blockchain network has a digital identity encapsulated in an X.509 digital certificate. Determine the exact permissions over resources & access to information that actors have in a blockchain network. For an identity to be verifiable, it must come from a trusted authority this is achieved through MSP -Membership Service Provider Certificates issued & revoked by Certification Authority (CA) @Murughan_P
  • 28. Membership Service Provider Provides the credentials to various entities Component that defines the rules that govern the valid identities for this organization. The default MSP implementation in Fabric uses X.509 certificates as identities, adopting a Public Key Infrastructure (PKI) Members in org can create certificates for their participants and infrastructure For modularity, network can be governed by one or more MSPs @Murughan_P
  • 29. Channels Org 1 Org 2 Org 5 Org 4 LEDGER 1 LEDGER 2 Private communication between two or more members for private and confidential transactions. Each party must be authenticated and authorized to transact on that channel. Independent Ledger in each channel Isolates the Ledger Chaincode installed on peers that need visibility also provides data encryption Org 3 Org 6 LEDGER 3 @Murughan_P LEDGER 1 LEDGER 1 LEDGER 1 LEDGER 1 LEDGER 2 LEDGER 3
  • 30. Node Types Client Peers • Anchor peers • Endorsing peers Orderers @Murughan_P
  • 31. Client Node Client node acts on behalf of the end user Creates Txn Request and send Endorser(s) Connects to a Orderer for broadcasting validated transaction Chaincode defines the endorsement policy Uses policy to validate the transaction @Murughan_P
  • 32. Endorser Validates the transaction e.g., Certificate checks Simulates the chaincode Executes the code But does NOT save the state to the Ledger Primary objective = Protect the network Intentional attack on the network Misbehaving or misconfigured nodes on the network Improve scalability as only endorsers need to execute the code NO need for all nodes to execute the chaincode @Murughan_P
  • 33. Peer Node Adds the transaction to the ledger Receives requests from client Local Ledger Synchronization Highly Scalable Architecture @Murughan_P Peers leverage gossip to broadcast ledger and channel data in a scalable fashion. Gossip messaging is continuous, and each peer on a channel is constantly receiving current and consistent ledger data from multiple peers.
  • 34. Anchor Peer Anchor Peers receive the blocks Anchor Peers update other peers in the org Setup at the channel level Discoverable @Murughan_P
  • 35. Orderer Node - Ordering Service Communication channel for fabric Responsible for consistent ledger state across the network Consensus mechanism Ensures order of transactions Creates the blocks & guarantees atomic delivery SOLO or Kafka messaging service @Murughan_P
  • 37. Access Control Lists Manage access to resources by associating a policy — which specifies a rule that evaluates to true or false, given a set of identities @Murughan_P
  • 38. The sample network for 4 organizations https://hyperledger-fabric.readthedocs.io/en/release-1.4/network/network.html @Murughan_P
  • 39. Transaction Flow in Asset Exchange https://hyperledger-fabric.readthedocs.io/en/release-1.4/txflow.html The scenario includes two clients, A and B, who are buying and selling radishes. @Murughan_P