One stop solution to cease fraud and black marketing of the donated organs using hyperledger fabric
- Organ waiting list made transparent to cease jumping and manipulations.
- Organ availability list made transparent and updated by the hospitals.
- Total privacy for the donor.
- Tracking the organ is possible.
- No black marketing of the organs to the rich.
cd fabric-tools
./startFabric.sh
./createPeerAdminCard.sh
npm install
composer archive create --sourceType dir --sourceName ../
composer network install -a ./[email protected] -c PeerAdmin@hlfv1
composer network start -c PeerAdmin@hlfv1 -n fabric-care -V 0.0.1 -A admin -S adminpw
composer card import -f [email protected]
##7. Final step
node app.js
npm install -g composer-cli
2. Utility for running a REST Server on your machine to expose your business networks as RESTful APIs:
npm install -g composer-rest-server
npm install -g generator-hyperledger-composer
npm install -g yo
2. Install playground or use online Composer playground
Browser app for simple editing and testing Business Networks:
npm install -g composer-playground
This step gives you a local Hyperledger Fabric runtime to deploy your business networks to.
1. In a directory of your choice (we will assume ~/fabric-tools), get the .tar.gz file that contains the tools to install Hyperledger Fabric:
mkdir ~/fabric-tools && cd ~/fabric-tools
curl -O https://raw.githubusercontent.com/hyperledger/composer-tools/master/packages/fabric-dev-servers/fabric-dev-servers.tar.gz
tar -xvf fabric-dev-servers.tar.gz
2. Use the scripts you just downloaded and extracted to download a local Hyperledger Fabric runtime:
cd ~/fabric-tools
./downloadFabric.sh
yo hyperledger-composer:businessnetwork
- Python 2.7
- Nodejs and npm with node version 8.11.1
- Docker Engine: Version 17.03 or higher