Proof of concept demo for issuing and trading bonds on Hyperledger blockchain. Please read the functional spec document.
security.enabled = true
Add 6 more users
auditor0: 1 yg5DVhm0er1z bank_a
investor1: 1 b7pmSxzKNFiw bank_a
investor0: 1 YsWZD4qQmYxo bank_a
issuer1: 1 W8G0usrU7jRk bank_a
issuer0: 1 H80SiB5ODKKQ bank_a
offlineServices: 1 H80SiB5ODKKQ bank_a
And add correct atributes to the aca.attributes section
attribute-entry-2: auditor0;bank_a;role;auditor;2015-07-13T00:00:00-03:00;;
attribute-entry-3: investor1;bank_a;role;investor;2001-02-02T00:00:00-03:00;;
attribute-entry-4: investor0;bank_a;role;investor;2001-02-02T00:00:00-03:00;;
attribute-entry-5: issuer1;bank_a;role;issuer;2015-01-01T00:00:00-03:00;;
attribute-entry-6: issuer0;bank_a;role;issuer;2015-01-01T00:00:00-03:00;;
attribute-entry-7: offlineServices;bank_a;role;bank;2015-01-01T00:00:00-03:00;;
run support/deploy_chaincode.sh
to run membersrvc and one peer
Demo is served by an Angular single page web application. Please install and run in web
directory.
npm install
bower install
Will download developer dependencies which may take a little while.
The web app is built and run by gulp
:
gulp serve