Participants
Nonprofit Organizations Medical Providers Government Agencies Refugees
Assets
BankAccounts
Transactions
Transfer
Events
Transaction
npm install -g composer-cli- Hyperledger composer-rest-server
npm install -g composer-rest-server- Hyperledger Fabric Tools
/getTools.shcd fabric-tools
./downloadFabric.sh
./startFabric.sh
./createPeerAdminCard.shnpm install
npm testcp fabric-tools/fabric-scripts/hlfv1/composer/crypto-config/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/signcerts/<cert> .
cp fabric-tools/fabric-scripts/hlfv1/composer/crypto-config/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/keystore/<key> .composer card create -p connection.json -u PeerAdmin -c Admin@org1.example.com-cert.pem -k <keyfile> -r PeerAdmin -r ChannelAdmin
composer card import -f PeerAdmin\@fabric-network.cardcomposer runtime install -c PeerAdmin@fabric-network -n harbor-ledger-networkcomposer network start -c PeerAdmin@fabric-network -a dist/harbor-ledger-network.bna -A admin -S adminpwcomposer card import -f admin\@harbor-ledger-network.cardcomposer-rest-server -c admin@harbor-ledger-network -n never -w trueThis will start a rest server listening at: http://localhost:3000
Browse your REST API at http://localhost:3000/explorer
nohup composer-rest-server -c admin@harbor-ledger-network -n never -w true > ~/rest.stdout 2> ~/rest.stderr & disowncomposer archive create --sourceType dir --sourceName . -a dist/harbor-ledger-network.bna
composer network update -a dist/harbor-ledger-network.bna -c admin@harbor-ledger-networkTo tear down your development session
cd ~/fabric-tools
./stopFabric.sh
./teardownFabric.sh