nraychaudhuri / hyperledger-smart-city-card

Hyperledger composer models for smart city card example

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Hyperledger Fabric and Composer example of smart city card

A simple example of smart city card implemented with Composer and deployed in Fabric with one peer, one orderer and MSP

Setup

Running Fabric

$> cd smart-city-card
$> ./downloadFabric.sh
$> ./startFabric.sh
$> ./createPeerAdminCard.sh

Running Composer

To run the example first deploy the composer models and then run the composer-playground command to launch the webapp.

$> cd smart-columbus-card
$> ./deploy.sh
$> composer-playground 

Stopping the application

Stop the composer-playground and then teardown the fabric by running stopFabric.sh from command line.

References

About

Hyperledger composer models for smart city card example


Languages

Language:Shell 71.8%Language:Gherkin 22.5%Language:JavaScript 5.7%