Skip to content

Instantly share code, notes, and snippets.

@shaikkhajaibrahim
Created May 6, 2018 13:47
Show Gist options
  • Save shaikkhajaibrahim/c4c0bc9667536849da2e83c1ccad00c9 to your computer and use it in GitHub Desktop.
Save shaikkhajaibrahim/c4c0bc9667536849da2e83c1ccad00c9 to your computer and use it in GitHub Desktop.
# Create Business Network
yo hyperledger-composer
# Create Business Network archive
composer archive create --sourceType dir --sourceName . -a dist/test.bna
#Take a look at cards
composer card list
#Install composer runtime
composer runtime install --card PeerAdmin@hlfv1 --businessNetworkName test
# Start Network
composer network start -c PeerAdmin@hlfv1 -A admin -S adminpw -a dist/test.bna -f networkadmin.card
# import card
composer card import -f networkadmin.card
#Take a look at cards
composer card list
#Ping Network
composer network ping -c admin@test
#Start Rest Service
composer-rest-server
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment