Skip to content

Maulana-anjari/bc-fabric-sdk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PHARMA-CHAIN

Basic Hyperledger Fabric network setup for secure and transparent data exchange between healthcare providers, insurance companies, and pharmaceutical supply chain entities. For this network configuration, it will be used as a decentralized healthcare insurance companies network. The healthcare insurance companies network consists of five fictional actors:

  • AAUI (Orderer org)
  • AAJI (Orderer org)
  • Prudential (Peer org)
  • Manulife (Peer org)
  • Allianz (Peer org)

To spin the network, firstly install Hyperledger Fabric prerequisites and CLI tool binaries. Then simply execute ./network.sh script, which will perform:

  1. Creation of crypto artifacts/credentials (script/createArtifacts.sh).
  2. Running docker container network (docker-compose).
  3. Creation of application channel network_health_insurance (scripts/createChannel.sh).
  4. Deployment of chaincode (scripts/deployChaincode.sh).
  5. Testing of chaincode (scripts/testChaincode.sh). This step only invokes UploadIdentity function to check if the chaincode functions normally/

NOTE

To shut down the docker network and remove the artifacts, run the following commands from project root:

$ rm -rf ./channel-artifacts
$ rm -rf ./organizations
$ docker-compose -f ./config/docker/docker-compose.yaml down --volumes --remove-orphans

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •