SlideShare a Scribd company logo
Blockchain,
Hyperledger fabric & Hyperledger cello
Tong Li, Senior Software Engineer at IBM
#email4tong
litong01@us.ibm.com
2
Why does blockchain system (network) stand out from others?
• Decentralized
• Consensus
– Proof of work
– Proof of stake
• Immutable
• Public
3
Blockchains
• Bitcoin
– https://blockchain.info/
– https://blockchain.info/unconfirmed-transactions
• Etherum
– https://ethstats.net/
4
5
A smart contract is a computer protocol intended to facilitate, verify, or enforce
the negotiation or performance of a contract.
Smart contracts were first proposed by Nick Szabo in 1996
-- Wikipedia
Hyperledger Fabric is a blockchain framework implementation and one
of the Hyperledger projects hosted by The Linux Foundation. Intended
as a foundation for developing applications or solutions with a modular
architecture, Hyperledger Fabric allows components, such as
consensus and membership services, to be plug-and-play. Hyperledger
Fabric leverages container technology to host smart contracts called
“chaincode” that comprise the application logic of the system.
Hyperledger Fabric was initially contributed by Digital Asset and IBM
6
7
• Transactions contents are protected, only permitted people can see
the contents of the transactions from transactions entering the
system to living in the system.
• Consensus algorithm, energy saving and faster consensus,
pluggable methods, Solo, Kafka, PBFT.
• Components are completely (docker) containerized. Part of reason
why k8s is a good fit for running Hyperledger fabric.
8
• Use battle tested tool (Ansible)
• Complete automation
• Repeatable
• Cloud first, network services dns & container registrator
• Dev, test and production consistent
• Full configurable fabric network topology
• From zero to fully functional fabric network
• Run all plays, one play or some plays as you wish for dev
https://github.com/hyperledger/cello/src/agent/ansible
9
Fabric Deploy – How does it work?
• Use Ansible playbooks
• Use Ansible cloud modules (OpenStack, AWS, Azure) to provision
Virtual Machines on different cloud
• Convenient top level playbooks for typical deploy scenarios
• Three steps to achieve the goal
– Provision (OS, VB, AWS, Azure now, Bluemix, softlayer later)
– Prepare nodes (Dependencies, Overlay Network or K8S, DNS,
Registrator)
– Build and deploy
• build from source or draw from docker hub
• Certificate generation
• Deploy onto one node or multiple nodes
10
• Two node Hyperledger fabric network on my laptop
• Three node Hyperledger fabric network on AWS
11
Operation on blockchain
• Start the tool container so that we have environment to run peer cli
commands, we will be doing on one of the nodes since we will need
to have
– docker exec -it k8s_peer1st-orgaxxxx bash
• Query
– peer chaincode query -C firstchannel -n firstchaincode -c
'{"Args":["query","a"]}'
• Do transcation:
– peer chaincode invoke -C firstchannel -n firstchaincode -c
'{"Args":["invoke","a","b","10"]}’
12
13

More Related Content

PDF
Hyperledger Fabric Technical Deep Dive 20190618
PDF
Hyperledger fabric 3
PDF
Introduction to Blockchain and Hyperledger
ODP
Hyperledger Fabric and Tools
PDF
Hyperledger Fabric & Composer
PDF
Hyperledger community update 201805
PDF
Excelian hyperledger walkthrough-feb17
PDF
Hyperledger Lightning Talk
Hyperledger Fabric Technical Deep Dive 20190618
Hyperledger fabric 3
Introduction to Blockchain and Hyperledger
Hyperledger Fabric and Tools
Hyperledger Fabric & Composer
Hyperledger community update 201805
Excelian hyperledger walkthrough-feb17
Hyperledger Lightning Talk

What's hot (20)

PDF
Hyperledger community update Feb 20, 2018
PPTX
Hyperledger Fabric
PDF
Introduction of Hyperledger Fabric & Composer
PDF
Hyperledger Fabric EVM Integration Feb 20, 2018
PDF
Bitmark and Hyperledger Workshop: the Digital Assets and Property
PPTX
Hyperledger
PDF
Developing applications with Hyperledger Fabric SDK
PDF
Lc3 beijing-june262018-sahdev zala-guangya
ODP
Hyperledger Composer
PPTX
Conoscerehyperledger
ODP
Blockchain Explorer
PPTX
Hyperledger community update 20180528
PDF
Hyperledger Fabric Application Development 20190618
PDF
Ibm blockchain - Hyperledger 15.02.18
PDF
IBM Blockchain Overview
PDF
Hyperledger Fabric Architecture
PDF
Blockchain Explored: A technical deep-dive
PDF
Demystify blockchain development with hyperledger fabric
PDF
IBM Bluemix Nice Meetup - 20171120 - Hyperledger Fabric & Composer
PPTX
Fabric Composer - Construct 2017
Hyperledger community update Feb 20, 2018
Hyperledger Fabric
Introduction of Hyperledger Fabric & Composer
Hyperledger Fabric EVM Integration Feb 20, 2018
Bitmark and Hyperledger Workshop: the Digital Assets and Property
Hyperledger
Developing applications with Hyperledger Fabric SDK
Lc3 beijing-june262018-sahdev zala-guangya
Hyperledger Composer
Conoscerehyperledger
Blockchain Explorer
Hyperledger community update 20180528
Hyperledger Fabric Application Development 20190618
Ibm blockchain - Hyperledger 15.02.18
IBM Blockchain Overview
Hyperledger Fabric Architecture
Blockchain Explored: A technical deep-dive
Demystify blockchain development with hyperledger fabric
IBM Bluemix Nice Meetup - 20171120 - Hyperledger Fabric & Composer
Fabric Composer - Construct 2017
Ad

Similar to Blockchain, 
Hyperledger fabric & Hyperledger cello (20)

PPTX
Secure Your Containers: What Network Admins Should Know When Moving Into Prod...
PDF
Hyperledger Cello Feb 20, 2018
PDF
Hyperledger Besu for Private & Public Enterprise introduction slides
PPTX
Oscon 2017: Build your own container-based system with the Moby project
PPTX
Hyperledger Project Overview - January 2018.pptx
PDF
Dockercon eu tour 2015 - Devoxx Casablanca
PPTX
Ethereum Devcon1 Report (summary writing)
PPTX
Introducing LinuxKit
PPTX
Block chain
PDF
2012-03-15 What's New at Red Hat
PPTX
Hyperledger community update February 2018
PDF
Wwc developing hyperledger applications v4
PDF
5 Ways to Secure Your Containers for Docker and Beyond
PPTX
Moby Open Source Summit North America 2017
PDF
Container Networking Deep Dive
PPTX
Docker Orchestration: Welcome to the Jungle! Devoxx & Docker Meetup Tour Nov ...
PDF
Analysing Data from Blockchains - Keynote @ SOCCA 2020
PPTX
Docker Platform and Ecosystem Nov 2015
PPTX
Docker Orchestration: Welcome to the Jungle! JavaOne 2015
PDF
20220406 - SDAN_Presentation1_SDANOverview.pdf
Secure Your Containers: What Network Admins Should Know When Moving Into Prod...
Hyperledger Cello Feb 20, 2018
Hyperledger Besu for Private & Public Enterprise introduction slides
Oscon 2017: Build your own container-based system with the Moby project
Hyperledger Project Overview - January 2018.pptx
Dockercon eu tour 2015 - Devoxx Casablanca
Ethereum Devcon1 Report (summary writing)
Introducing LinuxKit
Block chain
2012-03-15 What's New at Red Hat
Hyperledger community update February 2018
Wwc developing hyperledger applications v4
5 Ways to Secure Your Containers for Docker and Beyond
Moby Open Source Summit North America 2017
Container Networking Deep Dive
Docker Orchestration: Welcome to the Jungle! Devoxx & Docker Meetup Tour Nov ...
Analysing Data from Blockchains - Keynote @ SOCCA 2020
Docker Platform and Ecosystem Nov 2015
Docker Orchestration: Welcome to the Jungle! JavaOne 2015
20220406 - SDAN_Presentation1_SDANOverview.pdf
Ad

Recently uploaded (20)

PPTX
Agentic AI : A Practical Guide. Undersating, Implementing and Scaling Autono...
PPTX
L1 - Introduction to python Backend.pptx
PDF
Understanding Forklifts - TECH EHS Solution
PDF
top salesforce developer skills in 2025.pdf
PPTX
Agentic AI Use Case- Contract Lifecycle Management (CLM).pptx
PDF
Upgrade and Innovation Strategies for SAP ERP Customers
PPTX
ISO 45001 Occupational Health and Safety Management System
PDF
Why TechBuilder is the Future of Pickup and Delivery App Development (1).pdf
PDF
Nekopoi APK 2025 free lastest update
PDF
How Creative Agencies Leverage Project Management Software.pdf
PPTX
CHAPTER 12 - CYBER SECURITY AND FUTURE SKILLS (1) (1).pptx
PPT
Introduction Database Management System for Course Database
PDF
PTS Company Brochure 2025 (1).pdf.......
PDF
System and Network Administraation Chapter 3
PPTX
ManageIQ - Sprint 268 Review - Slide Deck
PPTX
ai tools demonstartion for schools and inter college
PPTX
Transform Your Business with a Software ERP System
PDF
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
PDF
Design an Analysis of Algorithms I-SECS-1021-03
PPTX
Online Work Permit System for Fast Permit Processing
Agentic AI : A Practical Guide. Undersating, Implementing and Scaling Autono...
L1 - Introduction to python Backend.pptx
Understanding Forklifts - TECH EHS Solution
top salesforce developer skills in 2025.pdf
Agentic AI Use Case- Contract Lifecycle Management (CLM).pptx
Upgrade and Innovation Strategies for SAP ERP Customers
ISO 45001 Occupational Health and Safety Management System
Why TechBuilder is the Future of Pickup and Delivery App Development (1).pdf
Nekopoi APK 2025 free lastest update
How Creative Agencies Leverage Project Management Software.pdf
CHAPTER 12 - CYBER SECURITY AND FUTURE SKILLS (1) (1).pptx
Introduction Database Management System for Course Database
PTS Company Brochure 2025 (1).pdf.......
System and Network Administraation Chapter 3
ManageIQ - Sprint 268 Review - Slide Deck
ai tools demonstartion for schools and inter college
Transform Your Business with a Software ERP System
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
Design an Analysis of Algorithms I-SECS-1021-03
Online Work Permit System for Fast Permit Processing

Blockchain, 
Hyperledger fabric & Hyperledger cello

  • 1. Blockchain, Hyperledger fabric & Hyperledger cello Tong Li, Senior Software Engineer at IBM #email4tong litong01@us.ibm.com
  • 2. 2
  • 3. Why does blockchain system (network) stand out from others? • Decentralized • Consensus – Proof of work – Proof of stake • Immutable • Public 3
  • 4. Blockchains • Bitcoin – https://blockchain.info/ – https://blockchain.info/unconfirmed-transactions • Etherum – https://ethstats.net/ 4
  • 5. 5 A smart contract is a computer protocol intended to facilitate, verify, or enforce the negotiation or performance of a contract. Smart contracts were first proposed by Nick Szabo in 1996 -- Wikipedia
  • 6. Hyperledger Fabric is a blockchain framework implementation and one of the Hyperledger projects hosted by The Linux Foundation. Intended as a foundation for developing applications or solutions with a modular architecture, Hyperledger Fabric allows components, such as consensus and membership services, to be plug-and-play. Hyperledger Fabric leverages container technology to host smart contracts called “chaincode” that comprise the application logic of the system. Hyperledger Fabric was initially contributed by Digital Asset and IBM 6
  • 7. 7
  • 8. • Transactions contents are protected, only permitted people can see the contents of the transactions from transactions entering the system to living in the system. • Consensus algorithm, energy saving and faster consensus, pluggable methods, Solo, Kafka, PBFT. • Components are completely (docker) containerized. Part of reason why k8s is a good fit for running Hyperledger fabric. 8
  • 9. • Use battle tested tool (Ansible) • Complete automation • Repeatable • Cloud first, network services dns & container registrator • Dev, test and production consistent • Full configurable fabric network topology • From zero to fully functional fabric network • Run all plays, one play or some plays as you wish for dev https://github.com/hyperledger/cello/src/agent/ansible 9
  • 10. Fabric Deploy – How does it work? • Use Ansible playbooks • Use Ansible cloud modules (OpenStack, AWS, Azure) to provision Virtual Machines on different cloud • Convenient top level playbooks for typical deploy scenarios • Three steps to achieve the goal – Provision (OS, VB, AWS, Azure now, Bluemix, softlayer later) – Prepare nodes (Dependencies, Overlay Network or K8S, DNS, Registrator) – Build and deploy • build from source or draw from docker hub • Certificate generation • Deploy onto one node or multiple nodes 10
  • 11. • Two node Hyperledger fabric network on my laptop • Three node Hyperledger fabric network on AWS 11
  • 12. Operation on blockchain • Start the tool container so that we have environment to run peer cli commands, we will be doing on one of the nodes since we will need to have – docker exec -it k8s_peer1st-orgaxxxx bash • Query – peer chaincode query -C firstchannel -n firstchaincode -c '{"Args":["query","a"]}' • Do transcation: – peer chaincode invoke -C firstchannel -n firstchaincode -c '{"Args":["invoke","a","b","10"]}’ 12
  • 13. 13

Editor's Notes

  • #3: Blockchain is a time-stamped, non-repudiable database that contains the entire logged history of the system. It is normally a huge database, a distributed system, sometimes, people simply call such system a network. Each node on the network will have complete data, it is very different from the traditional distributed database which normally has pieces of the completely data, all the nodes combined will provide the complete data, but blockchain node each maintains the complete data in its chain.
  • #4: Peer to peer network, everyone is a client, every one is a server