SlideShare a Scribd company logo
1 of 19
Hyperledger Composer
Hyperledger Tools
        Set of collaboration tools for building blockchain networks that make it simple and quick 
for development. 
 Hyperledger Composer
 Composer is a  tool for building blockchain business networks, It used to create 
smart contracts and blockchain applications to solve business problems.
 Hyperledger Explorer
 Explorer is a tool which provides a dashboard viewing information about 
transactions ,blocks and smart contracts available on the network.
 Hyperledger Cello
 Cello can build up a Blockchain as a Service (BaaS) platform quickly from the 
scratch. It reduce the effort required for creating, managing and terminating 
blockchains.
Smart Contract :- computer protocol intended to facilate, verify or enforce the 
negotiation or performance of contract
Mining :- Adding transactions to the ledger
Peers :-   Each node (a computer connected to the network) is called peer
Endorser :-Peer will simulate the transaction and ensure that the outcome is both 
deterministic and stable
Committer :-The peer will validate the integrity of a transaction and then append to 
the ledger.
Endorsement policy:- Instruct a peer on how to decide whether a transaction is 
properly endorsed
Transactions:-  Transactions are submitted by a participant to affect the assets held in 
the asset registries on the Hyperledger blockchain
Consensus:- An agreement made between peers or organizations
Quick Notes
HyperLedger Composer
 Composer is a framework to accelerate the development of applications built on the 
top of Blockchain platform such as Hyperledger Fabric
 Start from the business level :model network assets, participants & transactions
 Build Applications that use API's to invoke transactions, that create, update &delete
 Assets are transfer  between participants
 Assets, participants ,transactions are recorded on Blockchain registries
 Can easily integrate blockchain with existing business processes & system records
 Modelling language: The Hyperledger Composer modelling language is used in the 
business network definition to describe the assets, participants, and transactions in 
the business network
Hyperledger Composer
HyperLedger Composer Benfits
Asserts :- Assets are tangible or intangible goods, services, or property, and are stored
in registries.
Participants :- Participants are members of a business network. They may own assets
and submit transactions.
Peers :- Each node (a computer connected to the network) is called peer
Transactions :-Transactions are the mechanism by which participants interact with
assets, i.e transferring ownership of the asset from participant to
participant
Queries :-Queries are used to return data about the blockchain world-state. Queries are
defined within a business network
Events:- Once events have been defined, they can be emitted by transaction processor
functions to indicate to external systems that something of importance has
happened to the ledger
Terminology
Prerequisites:
 Operating Systems: Ubuntu Linux 14.04 / 16.04 LTS (both 64-bit), or Mac OS 10.12
 Docker Engine: Version 17.03 or higher
 Docker-Compose: Version 1.8 or higher
 Node: 8.9 or higher (note version 9 is not supported)
 npm: v5.x
 git: 2.9.x or higher
 composer-cli
 Yeoman generator
 composer-rest-server
Developing Business from Composer
 Creating business network with model,java Script and permission.acl files
 Next generate the business network archieve file with .bna extension
 Install composer run time for our business network with peer admin card
 Start the composer network and deploy bna file
 Import the network administrator identity card
 To check that the business network has been deployed successfully or not we
can just ping the business network
 To create the REST API run the “composer-rest-server” from terminal
 For tutorial “https://youtu.be/EvICyArbFSs”
HyperLedger Composer Rest API
After creating composer rest server for our business network we can access the API from localhost
3000 port and we can do transaction from API and also the data will store in Couchdb
Couchdb
We can access couchdb at localhost 5984 port ,all transaction done from rest api and playground
Will store in couchdb in the form of documents with unique id
Composer Playground
 The Hyperledger Composer Playground provides a user interface for the
configuration, deployment and testing of a business network
 Without development environment setup we can still develop business network by
playground
 In playground we can create or import network.bna file to generate or develop
business network
 Playground mainly deals with assets, participants and transactions
 If we do anything in the business network that will be save in transaction history
which cannot be change
 Define tab:- Define tab we can define and work with model for your business network
 Test tab:-can create assets and participants that were defined in the Define tab, and
test the functionality of your business network..
Developing Business network in playground
 Click Deploy a new business network  
 Click empty-business-network then Deploy the Business network
 To connect to our business network click Connect now under our business
network card.
 Then add model file,script file and Access control file
 Click Update to deploy the changes to our business network
 Click the Test tab to test our Business network
 The first thing we should add to our business network is to add  participants
and assests.
 Click the Submit Transaction button to submit our transactions
 We can see all transactions in our business network by Click  All Transactions
HyperLedger-Composer PlayGround
HyperLedger-Composer PlayGround
These are all different id cards for different participants in the business network.By clicking
Connect now on card we can connect to business network by that participant id
Deploying a business network to Hyperledger Fabric for a
single organization
Step-1 : Setup the development environment.
- https://hyperledger.github.io/composer/unstable/installing/development-tools.html
Step-2 : Build and start a Hyperledger Fabric network.
- http://hyperledger-fabric.readthedocs.io/en/release/build_network.html
Step-3 : Setup configuration tools cryptogen and configtxgen.
Step-4 : Create a connection profile use to connect with the Fabric network.
Step-5 : Locate the certificate and private key for the administrator.
Step-6 : Create a business network card that contains all of the information required to
connect to the business network. i.e, It includes Connection profile, Private key and
Certificate.
Step-7 : Import the business network card for the Hyperledger Fabric administrator.
Step-8 : Install Composer runtime onto all of the Hyperledger Fabric peer nodes,
this is nothing but a chaincode install operation. Here we specify the name of the
blockchain business network.
Step-9 : Start the blockchain business network, this is chaincode instantiate operation.
Step-10 : Import the business network card for the business network administrator.
Step-11 : Check that the business network has been deployed successfully.
Step-12: Generate a REST API based on the business network.
References
 https://hyperledger.github.io/composer/playground/playground-index.html
 https://hyperledger.github.io/composer/tutorials/deploy-to-fabric-multi-org.html
 https://hyperledger.github.io/composer/tutorials/developer-tutorial
 https://github.com/hyperledger/cello/blob/master/docs/terminology.md
 http://hyperledger.org/
 https://www.youtube.com/edit?o=U&video_id=EvICyArbFSs
Thank You...

More Related Content

What's hot

Blockchain HyperLedger Fabric Internals - Clavent
Blockchain HyperLedger Fabric Internals - ClaventBlockchain HyperLedger Fabric Internals - Clavent
Blockchain HyperLedger Fabric Internals - ClaventAraf Karsh Hamid
 
Blockchain - Use Cases
Blockchain - Use CasesBlockchain - Use Cases
Blockchain - Use CasesIBM Sverige
 
An introduction to blockchain and hyperledger v ru
An introduction to blockchain and hyperledger v ruAn introduction to blockchain and hyperledger v ru
An introduction to blockchain and hyperledger v ruLennartF
 
What makes blockchain secure: Key Characteristics & Security Architecture
What makes blockchain secure: Key Characteristics & Security ArchitectureWhat makes blockchain secure: Key Characteristics & Security Architecture
What makes blockchain secure: Key Characteristics & Security ArchitectureEC-Council
 
01 - Introduction to Hyperledger : A Blockchain Technology for Business
01 - Introduction to Hyperledger : A Blockchain Technology for Business01 - Introduction to Hyperledger : A Blockchain Technology for Business
01 - Introduction to Hyperledger : A Blockchain Technology for BusinessMerlec Mpyana
 
Hyperledger Fabric Architecture
Hyperledger Fabric ArchitectureHyperledger Fabric Architecture
Hyperledger Fabric Architecture상문 오
 
Blockchain: The New Technology and Its Applications for Libraries
Blockchain: The New Technology and Its Applications for LibrariesBlockchain: The New Technology and Its Applications for Libraries
Blockchain: The New Technology and Its Applications for LibrariesBohyun Kim
 
Disadvantages of Blockchain
Disadvantages of BlockchainDisadvantages of Blockchain
Disadvantages of Blockchain101 Blockchains
 
Blockchain
BlockchainBlockchain
BlockchainSai Nath
 
Introduction to Blockchain
Introduction to BlockchainIntroduction to Blockchain
Introduction to BlockchainMalak Abu Hammad
 
Hyperledger fabric architecture
Hyperledger fabric architectureHyperledger fabric architecture
Hyperledger fabric architectureCeline George
 
Developing applications with Hyperledger Fabric SDK
Developing applications with Hyperledger Fabric SDKDeveloping applications with Hyperledger Fabric SDK
Developing applications with Hyperledger Fabric SDKHorea Porutiu
 
Blockchain consensus algorithms
Blockchain consensus algorithmsBlockchain consensus algorithms
Blockchain consensus algorithmsAnurag Dashputre
 
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!
 
Introduction to Blockchain
Introduction to BlockchainIntroduction to Blockchain
Introduction to BlockchainJordan Harris
 
Blockchain Explained | Blockchain Simplified | Blockchain Technology | Blockc...
Blockchain Explained | Blockchain Simplified | Blockchain Technology | Blockc...Blockchain Explained | Blockchain Simplified | Blockchain Technology | Blockc...
Blockchain Explained | Blockchain Simplified | Blockchain Technology | Blockc...Edureka!
 

What's hot (20)

Blockchain HyperLedger Fabric Internals - Clavent
Blockchain HyperLedger Fabric Internals - ClaventBlockchain HyperLedger Fabric Internals - Clavent
Blockchain HyperLedger Fabric Internals - Clavent
 
Blockchain - Use Cases
Blockchain - Use CasesBlockchain - Use Cases
Blockchain - Use Cases
 
An introduction to blockchain and hyperledger v ru
An introduction to blockchain and hyperledger v ruAn introduction to blockchain and hyperledger v ru
An introduction to blockchain and hyperledger v ru
 
Introduction to Blockchain
Introduction to BlockchainIntroduction to Blockchain
Introduction to Blockchain
 
What makes blockchain secure: Key Characteristics & Security Architecture
What makes blockchain secure: Key Characteristics & Security ArchitectureWhat makes blockchain secure: Key Characteristics & Security Architecture
What makes blockchain secure: Key Characteristics & Security Architecture
 
Hyperledger
HyperledgerHyperledger
Hyperledger
 
01 - Introduction to Hyperledger : A Blockchain Technology for Business
01 - Introduction to Hyperledger : A Blockchain Technology for Business01 - Introduction to Hyperledger : A Blockchain Technology for Business
01 - Introduction to Hyperledger : A Blockchain Technology for Business
 
Hyperledger Fabric Architecture
Hyperledger Fabric ArchitectureHyperledger Fabric Architecture
Hyperledger Fabric Architecture
 
Blockchain: The New Technology and Its Applications for Libraries
Blockchain: The New Technology and Its Applications for LibrariesBlockchain: The New Technology and Its Applications for Libraries
Blockchain: The New Technology and Its Applications for Libraries
 
Blockchain ppt
Blockchain pptBlockchain ppt
Blockchain ppt
 
Disadvantages of Blockchain
Disadvantages of BlockchainDisadvantages of Blockchain
Disadvantages of Blockchain
 
Blockchain
BlockchainBlockchain
Blockchain
 
Introduction to Blockchain
Introduction to BlockchainIntroduction to Blockchain
Introduction to Blockchain
 
Hyperledger fabric architecture
Hyperledger fabric architectureHyperledger fabric architecture
Hyperledger fabric architecture
 
Developing applications with Hyperledger Fabric SDK
Developing applications with Hyperledger Fabric SDKDeveloping applications with Hyperledger Fabric SDK
Developing applications with Hyperledger Fabric SDK
 
Blockchain consensus algorithms
Blockchain consensus algorithmsBlockchain consensus algorithms
Blockchain consensus algorithms
 
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
 
Introduction to Blockchain
Introduction to BlockchainIntroduction to Blockchain
Introduction to Blockchain
 
Blockchain Explained | Blockchain Simplified | Blockchain Technology | Blockc...
Blockchain Explained | Blockchain Simplified | Blockchain Technology | Blockc...Blockchain Explained | Blockchain Simplified | Blockchain Technology | Blockc...
Blockchain Explained | Blockchain Simplified | Blockchain Technology | Blockc...
 

Similar to Hyperledger Composer

Hyperledger Composer architecture
Hyperledger Composer architectureHyperledger Composer architecture
Hyperledger Composer architectureSimon Stone
 
Setting up the hyperledger composer in ubuntu
Setting up the hyperledger composer in ubuntuSetting up the hyperledger composer in ubuntu
Setting up the hyperledger composer in ubuntukesavan N B
 
Introduction to Hyperledger Composer
Introduction to Hyperledger ComposerIntroduction to Hyperledger Composer
Introduction to Hyperledger ComposerSimon Stone
 
[Call for code] IBM 블록체인을 활용하여 투명하게 구호기금 관리하기 - Hyperledger Fabric v1.1 by 맹개발
[Call for code] IBM 블록체인을 활용하여 투명하게 구호기금 관리하기 - Hyperledger Fabric v1.1 by 맹개발 [Call for code] IBM 블록체인을 활용하여 투명하게 구호기금 관리하기 - Hyperledger Fabric v1.1 by 맹개발
[Call for code] IBM 블록체인을 활용하여 투명하게 구호기금 관리하기 - Hyperledger Fabric v1.1 by 맹개발 Yunho Maeng
 
Build on Streakk Chain - Blockchain
Build on Streakk Chain - BlockchainBuild on Streakk Chain - Blockchain
Build on Streakk Chain - BlockchainEarn.World
 
Ibm blockchain - Hyperledger 15.02.18
Ibm blockchain - Hyperledger 15.02.18Ibm blockchain - Hyperledger 15.02.18
Ibm blockchain - Hyperledger 15.02.18TelecomValley
 
Hyperledger Fabric & Composer
Hyperledger Fabric & Composer Hyperledger Fabric & Composer
Hyperledger Fabric & Composer Dr. Ketan Parmar
 
Blockchin Architecture on Azure-Part-3
Blockchin Architecture on Azure-Part-3Blockchin Architecture on Azure-Part-3
Blockchin Architecture on Azure-Part-3Mohammad Asif
 
IRJET- Proof of Document using Multichain and Ethereum
IRJET- Proof of Document using Multichain and EthereumIRJET- Proof of Document using Multichain and Ethereum
IRJET- Proof of Document using Multichain and EthereumIRJET Journal
 
03 - An introduction to hyperledger composer
03 - An introduction to hyperledger composer03 - An introduction to hyperledger composer
03 - An introduction to hyperledger composerMerlec Mpyana
 
Hyperledger Composer Update 2017-04-05
Hyperledger Composer Update 2017-04-05Hyperledger Composer Update 2017-04-05
Hyperledger Composer Update 2017-04-05Dan Selman
 
Introduction of Hyperledger Fabric & Composer
Introduction of Hyperledger Fabric & Composer Introduction of Hyperledger Fabric & Composer
Introduction of Hyperledger Fabric & Composer Dr. Ketan Parmar
 
Blockchain on ibm cloud
Blockchain on ibm cloudBlockchain on ibm cloud
Blockchain on ibm cloudSimone Romano
 
RTP Bluemix Meetup April 20th 2016
RTP Bluemix Meetup April 20th 2016RTP Bluemix Meetup April 20th 2016
RTP Bluemix Meetup April 20th 2016Tom Boucher
 
Using IBM Blockchain Platform (November 2019)
Using IBM Blockchain Platform (November 2019)Using IBM Blockchain Platform (November 2019)
Using IBM Blockchain Platform (November 2019)Matt Lucas
 
IBM Bluemix Nice Meetup - 20171120 - Hyperledger Fabric & Composer
IBM Bluemix Nice Meetup - 20171120 - Hyperledger Fabric & ComposerIBM Bluemix Nice Meetup - 20171120 - Hyperledger Fabric & Composer
IBM Bluemix Nice Meetup - 20171120 - Hyperledger Fabric & ComposerIBM France Lab
 
IBM Cloud Côte D'Azur Meetup - 20181004 - Blockchain Hyperledger Workshop
IBM Cloud Côte D'Azur Meetup - 20181004 - Blockchain Hyperledger WorkshopIBM Cloud Côte D'Azur Meetup - 20181004 - Blockchain Hyperledger Workshop
IBM Cloud Côte D'Azur Meetup - 20181004 - Blockchain Hyperledger WorkshopIBM France Lab
 

Similar to Hyperledger Composer (20)

Hyperledger
HyperledgerHyperledger
Hyperledger
 
Hyperledger Composer architecture
Hyperledger Composer architectureHyperledger Composer architecture
Hyperledger Composer architecture
 
Setting up the hyperledger composer in ubuntu
Setting up the hyperledger composer in ubuntuSetting up the hyperledger composer in ubuntu
Setting up the hyperledger composer in ubuntu
 
Introduction to Hyperledger Composer
Introduction to Hyperledger ComposerIntroduction to Hyperledger Composer
Introduction to Hyperledger Composer
 
[Call for code] IBM 블록체인을 활용하여 투명하게 구호기금 관리하기 - Hyperledger Fabric v1.1 by 맹개발
[Call for code] IBM 블록체인을 활용하여 투명하게 구호기금 관리하기 - Hyperledger Fabric v1.1 by 맹개발 [Call for code] IBM 블록체인을 활용하여 투명하게 구호기금 관리하기 - Hyperledger Fabric v1.1 by 맹개발
[Call for code] IBM 블록체인을 활용하여 투명하게 구호기금 관리하기 - Hyperledger Fabric v1.1 by 맹개발
 
Build on Streakk Chain - Blockchain
Build on Streakk Chain - BlockchainBuild on Streakk Chain - Blockchain
Build on Streakk Chain - Blockchain
 
Ibm blockchain - Hyperledger 15.02.18
Ibm blockchain - Hyperledger 15.02.18Ibm blockchain - Hyperledger 15.02.18
Ibm blockchain - Hyperledger 15.02.18
 
Conoscerehyperledger
ConoscerehyperledgerConoscerehyperledger
Conoscerehyperledger
 
Hyperledger Fabric & Composer
Hyperledger Fabric & Composer Hyperledger Fabric & Composer
Hyperledger Fabric & Composer
 
Blockchin Architecture on Azure-Part-3
Blockchin Architecture on Azure-Part-3Blockchin Architecture on Azure-Part-3
Blockchin Architecture on Azure-Part-3
 
IRJET- Proof of Document using Multichain and Ethereum
IRJET- Proof of Document using Multichain and EthereumIRJET- Proof of Document using Multichain and Ethereum
IRJET- Proof of Document using Multichain and Ethereum
 
03 - An introduction to hyperledger composer
03 - An introduction to hyperledger composer03 - An introduction to hyperledger composer
03 - An introduction to hyperledger composer
 
Hyperledger Composer Update 2017-04-05
Hyperledger Composer Update 2017-04-05Hyperledger Composer Update 2017-04-05
Hyperledger Composer Update 2017-04-05
 
Introduction of Hyperledger Fabric & Composer
Introduction of Hyperledger Fabric & Composer Introduction of Hyperledger Fabric & Composer
Introduction of Hyperledger Fabric & Composer
 
Blockchain on ibm cloud
Blockchain on ibm cloudBlockchain on ibm cloud
Blockchain on ibm cloud
 
RTP Bluemix Meetup April 20th 2016
RTP Bluemix Meetup April 20th 2016RTP Bluemix Meetup April 20th 2016
RTP Bluemix Meetup April 20th 2016
 
Using IBM Blockchain Platform (November 2019)
Using IBM Blockchain Platform (November 2019)Using IBM Blockchain Platform (November 2019)
Using IBM Blockchain Platform (November 2019)
 
IBM Bluemix Nice Meetup - 20171120 - Hyperledger Fabric & Composer
IBM Bluemix Nice Meetup - 20171120 - Hyperledger Fabric & ComposerIBM Bluemix Nice Meetup - 20171120 - Hyperledger Fabric & Composer
IBM Bluemix Nice Meetup - 20171120 - Hyperledger Fabric & Composer
 
Block chain
Block chainBlock chain
Block chain
 
IBM Cloud Côte D'Azur Meetup - 20181004 - Blockchain Hyperledger Workshop
IBM Cloud Côte D'Azur Meetup - 20181004 - Blockchain Hyperledger WorkshopIBM Cloud Côte D'Azur Meetup - 20181004 - Blockchain Hyperledger Workshop
IBM Cloud Côte D'Azur Meetup - 20181004 - Blockchain Hyperledger Workshop
 

Recently uploaded

Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyAlfredo García Lavilla
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr LapshynFwdays
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024Stephanie Beckett
 
Training state-of-the-art general text embedding
Training state-of-the-art general text embeddingTraining state-of-the-art general text embedding
Training state-of-the-art general text embeddingZilliz
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfRankYa
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clashcharlottematthew16
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...Fwdays
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii SoldatenkoFwdays
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebUiPathCommunity
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 

Recently uploaded (20)

Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easy
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
 
Training state-of-the-art general text embedding
Training state-of-the-art general text embeddingTraining state-of-the-art general text embedding
Training state-of-the-art general text embedding
 
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdf
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clash
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 

Hyperledger Composer

  • 2. Hyperledger Tools         Set of collaboration tools for building blockchain networks that make it simple and quick  for development.   Hyperledger Composer  Composer is a  tool for building blockchain business networks, It used to create  smart contracts and blockchain applications to solve business problems.  Hyperledger Explorer  Explorer is a tool which provides a dashboard viewing information about  transactions ,blocks and smart contracts available on the network.  Hyperledger Cello  Cello can build up a Blockchain as a Service (BaaS) platform quickly from the  scratch. It reduce the effort required for creating, managing and terminating  blockchains.
  • 3. Smart Contract :- computer protocol intended to facilate, verify or enforce the  negotiation or performance of contract Mining :- Adding transactions to the ledger Peers :-   Each node (a computer connected to the network) is called peer Endorser :-Peer will simulate the transaction and ensure that the outcome is both  deterministic and stable Committer :-The peer will validate the integrity of a transaction and then append to  the ledger. Endorsement policy:- Instruct a peer on how to decide whether a transaction is  properly endorsed Transactions:-  Transactions are submitted by a participant to affect the assets held in  the asset registries on the Hyperledger blockchain Consensus:- An agreement made between peers or organizations Quick Notes
  • 4. HyperLedger Composer  Composer is a framework to accelerate the development of applications built on the  top of Blockchain platform such as Hyperledger Fabric  Start from the business level :model network assets, participants & transactions  Build Applications that use API's to invoke transactions, that create, update &delete  Assets are transfer  between participants  Assets, participants ,transactions are recorded on Blockchain registries  Can easily integrate blockchain with existing business processes & system records  Modelling language: The Hyperledger Composer modelling language is used in the  business network definition to describe the assets, participants, and transactions in  the business network
  • 7. Asserts :- Assets are tangible or intangible goods, services, or property, and are stored in registries. Participants :- Participants are members of a business network. They may own assets and submit transactions. Peers :- Each node (a computer connected to the network) is called peer Transactions :-Transactions are the mechanism by which participants interact with assets, i.e transferring ownership of the asset from participant to participant Queries :-Queries are used to return data about the blockchain world-state. Queries are defined within a business network Events:- Once events have been defined, they can be emitted by transaction processor functions to indicate to external systems that something of importance has happened to the ledger Terminology
  • 8. Prerequisites:  Operating Systems: Ubuntu Linux 14.04 / 16.04 LTS (both 64-bit), or Mac OS 10.12  Docker Engine: Version 17.03 or higher  Docker-Compose: Version 1.8 or higher  Node: 8.9 or higher (note version 9 is not supported)  npm: v5.x  git: 2.9.x or higher  composer-cli  Yeoman generator  composer-rest-server
  • 9. Developing Business from Composer  Creating business network with model,java Script and permission.acl files  Next generate the business network archieve file with .bna extension  Install composer run time for our business network with peer admin card  Start the composer network and deploy bna file  Import the network administrator identity card  To check that the business network has been deployed successfully or not we can just ping the business network  To create the REST API run the “composer-rest-server” from terminal  For tutorial “https://youtu.be/EvICyArbFSs”
  • 10. HyperLedger Composer Rest API After creating composer rest server for our business network we can access the API from localhost 3000 port and we can do transaction from API and also the data will store in Couchdb
  • 11. Couchdb We can access couchdb at localhost 5984 port ,all transaction done from rest api and playground Will store in couchdb in the form of documents with unique id
  • 12. Composer Playground  The Hyperledger Composer Playground provides a user interface for the configuration, deployment and testing of a business network  Without development environment setup we can still develop business network by playground  In playground we can create or import network.bna file to generate or develop business network  Playground mainly deals with assets, participants and transactions  If we do anything in the business network that will be save in transaction history which cannot be change  Define tab:- Define tab we can define and work with model for your business network  Test tab:-can create assets and participants that were defined in the Define tab, and test the functionality of your business network..
  • 13. Developing Business network in playground  Click Deploy a new business network    Click empty-business-network then Deploy the Business network  To connect to our business network click Connect now under our business network card.  Then add model file,script file and Access control file  Click Update to deploy the changes to our business network  Click the Test tab to test our Business network  The first thing we should add to our business network is to add  participants and assests.  Click the Submit Transaction button to submit our transactions  We can see all transactions in our business network by Click  All Transactions
  • 15. HyperLedger-Composer PlayGround These are all different id cards for different participants in the business network.By clicking Connect now on card we can connect to business network by that participant id
  • 16. Deploying a business network to Hyperledger Fabric for a single organization Step-1 : Setup the development environment. - https://hyperledger.github.io/composer/unstable/installing/development-tools.html Step-2 : Build and start a Hyperledger Fabric network. - http://hyperledger-fabric.readthedocs.io/en/release/build_network.html Step-3 : Setup configuration tools cryptogen and configtxgen. Step-4 : Create a connection profile use to connect with the Fabric network. Step-5 : Locate the certificate and private key for the administrator.
  • 17. Step-6 : Create a business network card that contains all of the information required to connect to the business network. i.e, It includes Connection profile, Private key and Certificate. Step-7 : Import the business network card for the Hyperledger Fabric administrator. Step-8 : Install Composer runtime onto all of the Hyperledger Fabric peer nodes, this is nothing but a chaincode install operation. Here we specify the name of the blockchain business network. Step-9 : Start the blockchain business network, this is chaincode instantiate operation. Step-10 : Import the business network card for the business network administrator. Step-11 : Check that the business network has been deployed successfully. Step-12: Generate a REST API based on the business network.
  • 18. References  https://hyperledger.github.io/composer/playground/playground-index.html  https://hyperledger.github.io/composer/tutorials/deploy-to-fabric-multi-org.html  https://hyperledger.github.io/composer/tutorials/developer-tutorial  https://github.com/hyperledger/cello/blob/master/docs/terminology.md  http://hyperledger.org/  https://www.youtube.com/edit?o=U&video_id=EvICyArbFSs