Code Camp: Hyperledger
Tracy A Kuhrt, The Linux Foundation
Community Architect, Hyperledger
September 25, 2017
About Me
2
20+ years of software engineering and
architecture experience
● The Linux Foundation
● PayPal
● Microchip Technologies
Twitter: @TracyKuhrt
email: tkuhrt@linuxfoundation.org
Agenda
3
1 What are Hyperledger and the Linux Foundation
What projects exist under the Hyperledger umbrella2
Introduction to Hyperledger Composer3
Hyperledger Composer in action4
Open source
collaborative effort to
advance cross-industry
blockchain technologies
Hosted by
The Linux Foundation,
fastest-growing project in
LF history
Global collaboration
spanning finance,
banking, IoT, supply
chains, manufacturing
and technology
Introducing Hyperledger
4
5
We are helping
global privacy
and security
through a
program to
encrypt the
entire internet.
Security Networking
We are creating
ecosystems around
networking to
improve agility in the
evolving
software-defined
datacenter.
Cloud
We are creating a
portability layer for
the cloud, driving de
facto standards and
developing the
orchestration layer
for all clouds.
Automotive
We are creating the
platform for
infotainment in the
auto industry that
can be expanded
into instrument
clusters and
telematics systems.
Blockchain
We are creating a
permanent, secure
distributed ledger
that makes it easier
to create
cost-efficient,
decentralized
business networks.
We are regularly adding projects; for the most up-to-date listing of all projects visit tlfprojects.org
Web
We are providing the
application
development
framework for next
generation web,
mobile, serverless,
and IoT applications.
The Linux Foundation is Much More than Linux
Hyperledger
Composer
Hyperledger
Explorer
Hyperledger
Cello
Modules
Typically built for one framework, and through
common license and community of communities
approach, ported to other frameworks
Hyperledger
Fabric
Hyperledger
Iroha
Hyperledger
Sawtooth
HyperledgerCloudFoundry Node.js
Open Container
Initiative
Hyperledger Modular Umbrella Approach
6
Infrastructure
Technical, Legal,
Marketing, Organizational
Ecosystems that accelerate
open development and
commercial adoption
Frameworks
Meaningfully differentiated approaches
to business blockchain frameworks
developed by a growing community of
communities
Hyperledger
Burrow
Hyperledger
Indy
Hyperledger Composer
Introduction to Hyperledger Composer
8
● A suite of tools that allow you to
○ quickly model your business blockchain
network
○ quickly generate REST APIs for interacting
with your blockchain network
● Emphasis on business-centric
vocabulary for quick solution creation
Business Application
Hyperledger Composer
Hyperledger Fabric
(Blockchain Framework)
Develop blockchain
applications more
quickly and cheaply
High level abstraction
makes it easier to
iterate
Hyperledger Composer Benefits
9
Move from business
concepts to
blockchain solution
Familiar, Open Development Toolset
10
Business Network is Defined using Four Files
11
Model File
(.cto)
Access Control
(.acl)
Script File
(.js)
Query File
(.qry)
Defines the
structure and
relationships
between model
elements.
Defines the
access rights
of participants
on the network.
Implements the
business
requirements.
Optional.
Defines queries
that return data
about the
blockchain
world state.
Business Network is Defined using Four Files
12
Model File
(.cto)
Access Control
(.acl)
Script File
(.js)
Query File
(.qry)
Definition of:
- Assets
- Participants
- Transactions
- Events
Access control
rules
Implementation
of transactions
Query
definitions
Business Network can be Packaged for
Deployment
13
Model File
(.cto)
Access Control
(.acl)
Script File
(.js)
Query File
(.qry)
Business Network Archive
(.bna)
Business Network: Health Savings Accounts
14
Demonstration
15
● Deploy network from existing BNA file
○ http://composer-playground.mybluemix.net/
○ http://bit.ly/code-camp-network
● Explore the Model File
● Explore the Script File
● Explore the Access Control List
● Generating and Using the REST API
Resources
16
Website: https://hyperledger.github.io/composer
Rocket.Chat*: https://chat.hyperledger.org/channel/composer
Online Playground: http://composer-playground.mybluemix.net/
Sample (.bna): http://bit.ly/code-camp-network
Documentation: https://hyperledger.github.io/composer
* Requires Linux Foundation ID (https://identity.linuxfoundation.org/)
Questions?
Tracy Kuhrt, Community Architect, Hyperledger
https://twitter.com/tracykuhrt
tkuhrt@linuxfoundation.org
@tkuhrt on Rocket.Chat
September 25, 2017

Distributed:Health Code Camp Hyperledger

  • 1.
    Code Camp: Hyperledger TracyA Kuhrt, The Linux Foundation Community Architect, Hyperledger September 25, 2017
  • 2.
    About Me 2 20+ yearsof software engineering and architecture experience ● The Linux Foundation ● PayPal ● Microchip Technologies Twitter: @TracyKuhrt email: tkuhrt@linuxfoundation.org
  • 3.
    Agenda 3 1 What areHyperledger and the Linux Foundation What projects exist under the Hyperledger umbrella2 Introduction to Hyperledger Composer3 Hyperledger Composer in action4
  • 4.
    Open source collaborative effortto advance cross-industry blockchain technologies Hosted by The Linux Foundation, fastest-growing project in LF history Global collaboration spanning finance, banking, IoT, supply chains, manufacturing and technology Introducing Hyperledger 4
  • 5.
    5 We are helping globalprivacy and security through a program to encrypt the entire internet. Security Networking We are creating ecosystems around networking to improve agility in the evolving software-defined datacenter. Cloud We are creating a portability layer for the cloud, driving de facto standards and developing the orchestration layer for all clouds. Automotive We are creating the platform for infotainment in the auto industry that can be expanded into instrument clusters and telematics systems. Blockchain We are creating a permanent, secure distributed ledger that makes it easier to create cost-efficient, decentralized business networks. We are regularly adding projects; for the most up-to-date listing of all projects visit tlfprojects.org Web We are providing the application development framework for next generation web, mobile, serverless, and IoT applications. The Linux Foundation is Much More than Linux
  • 6.
    Hyperledger Composer Hyperledger Explorer Hyperledger Cello Modules Typically built forone framework, and through common license and community of communities approach, ported to other frameworks Hyperledger Fabric Hyperledger Iroha Hyperledger Sawtooth HyperledgerCloudFoundry Node.js Open Container Initiative Hyperledger Modular Umbrella Approach 6 Infrastructure Technical, Legal, Marketing, Organizational Ecosystems that accelerate open development and commercial adoption Frameworks Meaningfully differentiated approaches to business blockchain frameworks developed by a growing community of communities Hyperledger Burrow Hyperledger Indy
  • 7.
  • 8.
    Introduction to HyperledgerComposer 8 ● A suite of tools that allow you to ○ quickly model your business blockchain network ○ quickly generate REST APIs for interacting with your blockchain network ● Emphasis on business-centric vocabulary for quick solution creation Business Application Hyperledger Composer Hyperledger Fabric (Blockchain Framework)
  • 9.
    Develop blockchain applications more quicklyand cheaply High level abstraction makes it easier to iterate Hyperledger Composer Benefits 9 Move from business concepts to blockchain solution
  • 10.
  • 11.
    Business Network isDefined using Four Files 11 Model File (.cto) Access Control (.acl) Script File (.js) Query File (.qry) Defines the structure and relationships between model elements. Defines the access rights of participants on the network. Implements the business requirements. Optional. Defines queries that return data about the blockchain world state.
  • 12.
    Business Network isDefined using Four Files 12 Model File (.cto) Access Control (.acl) Script File (.js) Query File (.qry) Definition of: - Assets - Participants - Transactions - Events Access control rules Implementation of transactions Query definitions
  • 13.
    Business Network canbe Packaged for Deployment 13 Model File (.cto) Access Control (.acl) Script File (.js) Query File (.qry) Business Network Archive (.bna)
  • 14.
    Business Network: HealthSavings Accounts 14
  • 15.
    Demonstration 15 ● Deploy networkfrom existing BNA file ○ http://composer-playground.mybluemix.net/ ○ http://bit.ly/code-camp-network ● Explore the Model File ● Explore the Script File ● Explore the Access Control List ● Generating and Using the REST API
  • 16.
    Resources 16 Website: https://hyperledger.github.io/composer Rocket.Chat*: https://chat.hyperledger.org/channel/composer OnlinePlayground: http://composer-playground.mybluemix.net/ Sample (.bna): http://bit.ly/code-camp-network Documentation: https://hyperledger.github.io/composer * Requires Linux Foundation ID (https://identity.linuxfoundation.org/)
  • 17.
    Questions? Tracy Kuhrt, CommunityArchitect, Hyperledger https://twitter.com/tracykuhrt tkuhrt@linuxfoundation.org @tkuhrt on Rocket.Chat September 25, 2017