Source code used at IBM Hackathon 2017
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
app
config
features
lib
models
test
README.md
header.txt
index.js
jsdoc.json
networkimage.svg
networkimageanimated.svg
package.json
permissions.acl

README.md

Digital Contracts saved on blockchain

For details check my blog -> ondrejsarnecky.com

This business network defines:

Install npm in root

SampleParticipant

Install npm in app

SampleAsset

Generate distribution files

mkdir dist

composer archive create -a dist/viceversa.bna --sourceType dir --sourceName .

Deyploying product

cd dist

composer network deploy -a viceversa.bna -p hlfv1 -i PeerAdmin -s randomString -A admin -S

**Verification of deployed network **

composer network ping -n viceversa -p hlfv1 -i admin -s adminpw

Generating REST API

composer-rest-server / composer-rest-server -p hlfv1 -n viceversa -i admin -s admin -N never -w true

http://localhost:3000/explorer

Generating app skeleton

yo hyperledger-composer

Start app

cd my-app

npm start