2
Mohammad Asif Waquar
Senior Software Engineer
atABNAMRO Bank
@asifwaquar
BlockchainArchitecture&UseCase–Part-2
2
about me
Senior Software Engineer at ABN AMRO
https://www.linkedin.com/in/mohammad-asif-6a6153111/
RoadMap
o Part-1 -Blockchain Introduction & Architecture on Azure.
o Part-2 -FabricArchitecture & Installation on Azure
o Part-3 - Block chain Hyper ledger deployment on Azure WorkBench
o Part-4 - CordaArchitecture & Deployment on Azure.
o Part-5 - Cordaworkflow & Swift paymentintegration.
o Part-6 - Blockchain with Ethereum & Quorum and deploying in DAPPSAzure.
o Part-7 - Handling Media & Documents in BlockChain
o Part-8 - Security in Blockchain.
o Part-9 - Block chain with IOT.
o Part-10 - Handson Workshop on Blockchain.
Today’sAgenda
o Recap part-1
o Blockchain use case for International Trade
o SingleVMandMultiVMArchitecture
o Demo of Fabric & chaincode Intsalltion
Recap –Part-1
How Blockchain Works ?
Blockchin architecture & use cases -part-2
Blockchin architecture & use cases -part-2
Blockchin architecture & use cases -part-2
Blockchin architecture & use cases -part-2
Blockchin architecture & use cases -part-2
Blockchin architecture & use cases -part-2
Blockchin architecture & use cases -part-2
Blockchin architecture & use cases -part-2
Hyperledger Fabric Architecture
Orderer
• Consensus
verification
• CreatesBlocks
CA
• Registration
ofidentities
• Manage
Certificates
Peer
• EndorsesTx
• SimulatesTx
• CommitsTx
3ComponentsofFabric
Ledger
Blockchain & WorldState
• createCar
• queryAllCars
• queryCarProperties
• changeCarColor
• changeCarOwner
• EndorsementPolicies
• Assets:Anythingthat’s
valuablefor theOrganization
• Transactions(Statechangesof
Assets)
• GossipProtocol: Theglue
that keepsthepeersin
healthystate.
Allthesecomponentscanbeclusteredfor scalabilityandto avoidSinglePointofFailure
Channels SmartContract OtherConcepts
• Private subnetfor a
set of parties based
on Smartcontract
• Ledger/Channel
• Peerscanhave
multipleChannels
• PrivateData
1
2
Blockchain Usecase for
International Trade
Compliance (KYC,AML)
Problems & deficiencies
âś“ Work done in collecting KYC information unnecessary replicated by multiple institution .
âś“ Isolated view of customer and their transaction insufficient to detect money laundering.
âś“ Uncertainty in knowing if implemented practices are sufficient (over stringent policy hurtful for
business.)
âś“ AMLprocess are too fragmented and dependent on subjective human decision.
Know your customer(KYC)
Know your customer(KYC)
Overview of International Trade
Inefficiencies
• 12 parties
• 27documents
• Lowautomation
Risks
• Currencyfluctuation
• Non-completion
Result
• Financing isexpensive
• SMEs lockedout
3
Blockchain Enabled Future State
No Reconciliation or Manual ValidationRequired
Ledger nodes replicated with identical content via distributedconsensus
Enhanced Trust through
Smart Contracts
E2E Real-time
Visibility
DocumentAccess
Participant
access based on
permissions
(Blockchain node)
Address
Complianceand
Fraud
Document state
and origin known
at all times
(Blockchain
content)
$14T+ in global
trade is financed
Upto 3 weeks
for documents
to be verified
$37.6B potential
cost saving by
eliminating paper
Single VM & Multi VM Network
Organisation
Nodes & Roles
Committing Peer: Maintains ledger and state. Commits transactions.May
hold smart contract(chaincode).
Endorsing Peer: Specialized committing peer that receives a transaction
proposal for endorsement, responds granting or denying endorsement.
Must hold smartcontract
OrderingNode: Approvesthe inclusion of transaction blocksinto the ledger
and communicates with committing and endorsing peer nodes. Doesnot
hold smart contract. Doesnot holdledger.
Consensus is achieved using the following transaction flow:
Endorse Order Validate
Ordering Service & Channel
Theordering service packagestransactions into blocks to be delivered to
peers. Communication with the service is viachannels.
Different configuration options for the ordering service
include:
– SOLO
• Singlenode for development
– Kafka: Crashfault tolerantconsensus
• 3 nodesminimum
• Odd number of nodesrecommended
O O
O O
Ordering-Service
Channelsprovide privacy between differentledgers
– Ledgersexist in the scopeofachannel
• Channels canbe shared acrossan entire network ofpeers
• Channels canbe permissioned for aspecific set of participants
– Chaincodeis installed on peers to accesstheworldstate
– Chaincodeis instantiated onspecific
– Peerscanparticipate in multiplechannels
– Concurrent execution for performanceand scalability
E0
E1
O O
O O
Ordering-Service
Single Channel Network
• All peers connect to thesamesystem
channel (blue).
• All peers have the samechaincodeand
maintain the sameledger
• Endorsement by peers E E E andE0, 1, 2 3
Key:
E1
Client
Application
S
D
K
Hyperledger FabricNetwork
P
B
A
B
E2
A
B
E3
A
B
E0
A
Endorser Ledger
Committing Peer Application
Ordering Node
SmartContract
(Chaincode)
Endorsement
Policy
O O
O O
Ordering-Service
Multi-Channel Network
• PeersE0and E3connect to the red
channel for chaincodesYandZ
• PeersE1and E2connect to the blue
channel for chaincodesAandB
Key:
E2
Hyperledger FabricNetwork
P
Y
Z
A
B
A
B
E3
Y
Z
E0
P
E1 Endorser Ledger
Committing Peer Application
Ordering Node
SmartContract
(Chaincode)
Endorsement
Policy
Client
Application
S
D
K
Client
Application
S
D
K
O O
O O
Ordering-Service
Consortium Network
Example of consortium network of 3 organisations
Org 1 and Org 3 run peers
Org 2 provide ordering service only.
Demo
Step1/3-Configure ordering service and setup peer nodes
Generating Configuration & Certs
Peer nodes starting
Step 2/3-Create and Join Channel
Creating & Joining Channel
Step 3/3-Instantiate chaincode in channel.
An Endorsement policy is applied once chain code is instantiated.
Step 3/3-Instantiate chaincode in channel.
An Endorsement policy is applied once chain code is instantiated.
Endorsement policy
An Endorsement policy describes the condition by which transaction can be endorsed.
Endorsement policy examples
Fabric Installation steps
https://github.com/asifwaquar/blockchain-architecture/blob/master/README.md
https://asifwaquar.blogspot.com/
Github Repo:
Blog:
Questions?
12
ThankYou
12

More Related Content

PPTX
Blockchin Architecture on Azure-Part-3
PDF
Blockchin architecture azure meetup
PPTX
Blockchain On Azure
PDF
Corda on Azure Blockchain
PPTX
Anatomy of a hyperledger application
PPTX
Architecture blockchain-azure
PPTX
Blockchain solution architecture deliverable
PDF
Build Blockchain Prototype using Azure Workbench and Manage data on ledger
Blockchin Architecture on Azure-Part-3
Blockchin architecture azure meetup
Blockchain On Azure
Corda on Azure Blockchain
Anatomy of a hyperledger application
Architecture blockchain-azure
Blockchain solution architecture deliverable
Build Blockchain Prototype using Azure Workbench and Manage data on ledger

What's hot (20)

PPTX
Blockchain Hyper Ledger Fabric : Bangkok Conference
PDF
Introduction of Hyperledger Fabric & Composer
PDF
Hyperledger whitepaper
PDF
Ibm blockchain - Hyperledger 15.02.18
PPTX
Hyperledger Fabric
PDF
20160304 blockchain in fsi client ready raymond
PDF
Hyperledger Lightning Talk
DOCX
Hyper ledger febric
PDF
Wwc developing hyperledger applications v4
PDF
Hyperledger Fabric Application Development 20190618
PPTX
Decentralization of internet of things with blockchain architecture
 
PPTX
Blockchain on aws
PDF
Towards Self Sovereign Identity 20180508
PPTX
Hyperledger Fabric Update - June 2018
PPTX
Distributed Intelligence
PPTX
Blockchain Essentials and Blockchain on Azure
PDF
Kaleido Platform Overview and Full-stack Blockchain Services
PDF
Enterprise Blockchain: Lessons from Global Innovators in Production (All Thin...
PDF
Advanced Blockchain Technologies on Privacy & Scalability (All Things Open)
PPTX
Blockchain - HyperLedger Fabric
Blockchain Hyper Ledger Fabric : Bangkok Conference
Introduction of Hyperledger Fabric & Composer
Hyperledger whitepaper
Ibm blockchain - Hyperledger 15.02.18
Hyperledger Fabric
20160304 blockchain in fsi client ready raymond
Hyperledger Lightning Talk
Hyper ledger febric
Wwc developing hyperledger applications v4
Hyperledger Fabric Application Development 20190618
Decentralization of internet of things with blockchain architecture
 
Blockchain on aws
Towards Self Sovereign Identity 20180508
Hyperledger Fabric Update - June 2018
Distributed Intelligence
Blockchain Essentials and Blockchain on Azure
Kaleido Platform Overview and Full-stack Blockchain Services
Enterprise Blockchain: Lessons from Global Innovators in Production (All Thin...
Advanced Blockchain Technologies on Privacy & Scalability (All Things Open)
Blockchain - HyperLedger Fabric
Ad

Similar to Blockchin architecture & use cases -part-2 (20)

PDF
Hyperledger Fabric Technical Deep Dive 20190618
PDF
Blockchain Explored: A technical deep-dive
PDF
Hyperledger fabric 3
PPTX
Blockchain explored
PPSX
Blockchain HyperLedger Fabric Internals - Clavent
PPTX
Hyperledger fabric 20180528
PPTX
Blockchain Intro to Hyperledger Fabric
PDF
Modeling Blockchain Applications v1.02
PPTX
Javantura v6 - Case Study: Marketplace App with Java and Hyperledger Fabric -...
PDF
Lecture 8 Hyperledger Fabric 2022f.pdf
PPTX
Blockchain Technology ,Architecture and its Structure
PPTX
Dejan Podgorsek - Is Hyperledger Fabric secure enough for your Business?
PPTX
CCS339 Unit IV HYPERLEDGER FABRIC & ETHEREUM
PDF
Chainyard ref arch hyperledger global forum 2018 12-04 v0.97 ss
PDF
Blockchain for the Enterprise
PPTX
Block chain fundamentals and hyperledger
PPTX
BlockChain-1.pptx
PDF
Hyperledger Fabric - Blockchain for the Enterprise - FOSDEM 20190203
PPTX
Deploying and Managing Global Blockchain Networks
PPTX
Deploying and Managing a Global Blockchain Network
Hyperledger Fabric Technical Deep Dive 20190618
Blockchain Explored: A technical deep-dive
Hyperledger fabric 3
Blockchain explored
Blockchain HyperLedger Fabric Internals - Clavent
Hyperledger fabric 20180528
Blockchain Intro to Hyperledger Fabric
Modeling Blockchain Applications v1.02
Javantura v6 - Case Study: Marketplace App with Java and Hyperledger Fabric -...
Lecture 8 Hyperledger Fabric 2022f.pdf
Blockchain Technology ,Architecture and its Structure
Dejan Podgorsek - Is Hyperledger Fabric secure enough for your Business?
CCS339 Unit IV HYPERLEDGER FABRIC & ETHEREUM
Chainyard ref arch hyperledger global forum 2018 12-04 v0.97 ss
Blockchain for the Enterprise
Block chain fundamentals and hyperledger
BlockChain-1.pptx
Hyperledger Fabric - Blockchain for the Enterprise - FOSDEM 20190203
Deploying and Managing Global Blockchain Networks
Deploying and Managing a Global Blockchain Network
Ad

Recently uploaded (20)

PDF
UiPath Agentic Automation session 1: RPA to Agents
PDF
1 - Historical Antecedents, Social Consideration.pdf
PPTX
Microsoft Excel 365/2024 Beginner's training
PDF
A proposed approach for plagiarism detection in Myanmar Unicode text
PDF
Hybrid horned lizard optimization algorithm-aquila optimizer for DC motor
PDF
Comparative analysis of machine learning models for fake news detection in so...
PPTX
TEXTILE technology diploma scope and career opportunities
PDF
Taming the Chaos: How to Turn Unstructured Data into Decisions
PDF
A review of recent deep learning applications in wood surface defect identifi...
PDF
Flame analysis and combustion estimation using large language and vision assi...
PDF
Getting started with AI Agents and Multi-Agent Systems
PPT
Geologic Time for studying geology for geologist
PDF
“A New Era of 3D Sensing: Transforming Industries and Creating Opportunities,...
PPTX
The various Industrial Revolutions .pptx
PPTX
2018-HIPAA-Renewal-Training for executives
PPT
What is a Computer? Input Devices /output devices
PPTX
Configure Apache Mutual Authentication
PPTX
GROUP4NURSINGINFORMATICSREPORT-2 PRESENTATION
PDF
ENT215_Completing-a-large-scale-migration-and-modernization-with-AWS.pdf
PPT
Module 1.ppt Iot fundamentals and Architecture
UiPath Agentic Automation session 1: RPA to Agents
1 - Historical Antecedents, Social Consideration.pdf
Microsoft Excel 365/2024 Beginner's training
A proposed approach for plagiarism detection in Myanmar Unicode text
Hybrid horned lizard optimization algorithm-aquila optimizer for DC motor
Comparative analysis of machine learning models for fake news detection in so...
TEXTILE technology diploma scope and career opportunities
Taming the Chaos: How to Turn Unstructured Data into Decisions
A review of recent deep learning applications in wood surface defect identifi...
Flame analysis and combustion estimation using large language and vision assi...
Getting started with AI Agents and Multi-Agent Systems
Geologic Time for studying geology for geologist
“A New Era of 3D Sensing: Transforming Industries and Creating Opportunities,...
The various Industrial Revolutions .pptx
2018-HIPAA-Renewal-Training for executives
What is a Computer? Input Devices /output devices
Configure Apache Mutual Authentication
GROUP4NURSINGINFORMATICSREPORT-2 PRESENTATION
ENT215_Completing-a-large-scale-migration-and-modernization-with-AWS.pdf
Module 1.ppt Iot fundamentals and Architecture

Blockchin architecture & use cases -part-2

  • 1. 2 Mohammad Asif Waquar Senior Software Engineer atABNAMRO Bank @asifwaquar BlockchainArchitecture&UseCase–Part-2
  • 2. 2 about me Senior Software Engineer at ABN AMRO https://www.linkedin.com/in/mohammad-asif-6a6153111/
  • 3. RoadMap o Part-1 -Blockchain Introduction & Architecture on Azure. o Part-2 -FabricArchitecture & Installation on Azure o Part-3 - Block chain Hyper ledger deployment on Azure WorkBench o Part-4 - CordaArchitecture & Deployment on Azure. o Part-5 - Cordaworkflow & Swift paymentintegration. o Part-6 - Blockchain with Ethereum & Quorum and deploying in DAPPSAzure. o Part-7 - Handling Media & Documents in BlockChain o Part-8 - Security in Blockchain. o Part-9 - Block chain with IOT. o Part-10 - Handson Workshop on Blockchain.
  • 4. Today’sAgenda o Recap part-1 o Blockchain use case for International Trade o SingleVMandMultiVMArchitecture o Demo of Fabric & chaincode Intsalltion
  • 15. Hyperledger Fabric Architecture Orderer • Consensus verification • CreatesBlocks CA • Registration ofidentities • Manage Certificates Peer • EndorsesTx • SimulatesTx • CommitsTx 3ComponentsofFabric Ledger Blockchain & WorldState • createCar • queryAllCars • queryCarProperties • changeCarColor • changeCarOwner • EndorsementPolicies • Assets:Anythingthat’s valuablefor theOrganization • Transactions(Statechangesof Assets) • GossipProtocol: Theglue that keepsthepeersin healthystate. Allthesecomponentscanbeclusteredfor scalabilityandto avoidSinglePointofFailure Channels SmartContract OtherConcepts • Private subnetfor a set of parties based on Smartcontract • Ledger/Channel • Peerscanhave multipleChannels • PrivateData 1 2
  • 17. Compliance (KYC,AML) Problems & deficiencies âś“ Work done in collecting KYC information unnecessary replicated by multiple institution . âś“ Isolated view of customer and their transaction insufficient to detect money laundering. âś“ Uncertainty in knowing if implemented practices are sufficient (over stringent policy hurtful for business.) âś“ AMLprocess are too fragmented and dependent on subjective human decision.
  • 20. Overview of International Trade Inefficiencies • 12 parties • 27documents • Lowautomation Risks • Currencyfluctuation • Non-completion Result • Financing isexpensive • SMEs lockedout 3
  • 21. Blockchain Enabled Future State No Reconciliation or Manual ValidationRequired Ledger nodes replicated with identical content via distributedconsensus Enhanced Trust through Smart Contracts E2E Real-time Visibility DocumentAccess Participant access based on permissions (Blockchain node) Address Complianceand Fraud Document state and origin known at all times (Blockchain content) $14T+ in global trade is financed Upto 3 weeks for documents to be verified $37.6B potential cost saving by eliminating paper
  • 22. Single VM & Multi VM Network
  • 24. Nodes & Roles Committing Peer: Maintains ledger and state. Commits transactions.May hold smart contract(chaincode). Endorsing Peer: Specialized committing peer that receives a transaction proposal for endorsement, responds granting or denying endorsement. Must hold smartcontract OrderingNode: Approvesthe inclusion of transaction blocksinto the ledger and communicates with committing and endorsing peer nodes. Doesnot hold smart contract. Doesnot holdledger. Consensus is achieved using the following transaction flow: Endorse Order Validate
  • 25. Ordering Service & Channel Theordering service packagestransactions into blocks to be delivered to peers. Communication with the service is viachannels. Different configuration options for the ordering service include: – SOLO • Singlenode for development – Kafka: Crashfault tolerantconsensus • 3 nodesminimum • Odd number of nodesrecommended O O O O Ordering-Service Channelsprovide privacy between differentledgers – Ledgersexist in the scopeofachannel • Channels canbe shared acrossan entire network ofpeers • Channels canbe permissioned for aspecific set of participants – Chaincodeis installed on peers to accesstheworldstate – Chaincodeis instantiated onspecific – Peerscanparticipate in multiplechannels – Concurrent execution for performanceand scalability E0 E1 O O O O Ordering-Service
  • 26. Single Channel Network • All peers connect to thesamesystem channel (blue). • All peers have the samechaincodeand maintain the sameledger • Endorsement by peers E E E andE0, 1, 2 3 Key: E1 Client Application S D K Hyperledger FabricNetwork P B A B E2 A B E3 A B E0 A Endorser Ledger Committing Peer Application Ordering Node SmartContract (Chaincode) Endorsement Policy O O O O Ordering-Service
  • 27. Multi-Channel Network • PeersE0and E3connect to the red channel for chaincodesYandZ • PeersE1and E2connect to the blue channel for chaincodesAandB Key: E2 Hyperledger FabricNetwork P Y Z A B A B E3 Y Z E0 P E1 Endorser Ledger Committing Peer Application Ordering Node SmartContract (Chaincode) Endorsement Policy Client Application S D K Client Application S D K O O O O Ordering-Service
  • 28. Consortium Network Example of consortium network of 3 organisations Org 1 and Org 3 run peers Org 2 provide ordering service only.
  • 29. Demo
  • 30. Step1/3-Configure ordering service and setup peer nodes
  • 33. Step 2/3-Create and Join Channel
  • 35. Step 3/3-Instantiate chaincode in channel. An Endorsement policy is applied once chain code is instantiated.
  • 36. Step 3/3-Instantiate chaincode in channel. An Endorsement policy is applied once chain code is instantiated.
  • 37. Endorsement policy An Endorsement policy describes the condition by which transaction can be endorsed.