docker-compose-files/hyperledger/README.md

989 B

Hyperledger fabric

Note, currently you should manually create an openblockchain/baseimage:latest first. The easiest way to do so is:

$ docker pull yeasy/hyperledger:latest && docker tag yeasy/hyperledger:latest hyperledger/fabric-baseimage:latest
$ docker pull yeasy/hyperledger-peer:latest
$ docker pull yeasy/hyperledger-membersrvc:latest

Then go into the specific consensus directory, then you can start a 4 nodes hyperledger cluster.

E.g., for pbft consensus, use

$ cd pbft; docker-compose up

After the cluster is synced, you can validate by deploying, invoking or querying chaincode from the container or from the host.

See hyperledger-peer if you've not familiar on that.

This refers the example from the hyperledger project.

noops

Use the noops as consensus, i.e., no consensus.

pbft

Use pbft as consensus.