docker-compose-files/hyperledger_fabric
Baohua Yang 5f36bbfc0c Fix issue #109: use correct compose config and image 2018-01-19 19:37:27 +08:00
..
docs Fix docs and scripts 2017-12-07 13:55:24 +08:00
latest Fix bootstrap peer 2018-01-14 19:49:20 +08:00
v0.6.0 Add fabric 1.0.5 2017-12-07 10:54:06 +08:00
v1.0.0 Add fabric 1.0.5 2017-12-07 10:54:06 +08:00
v1.0.2 Clean up code 2018-01-18 17:33:15 +08:00
v1.0.4 Update with new configtx.yaml 2017-12-07 14:18:16 +08:00
v1.0.5 Fix issue #109: use correct compose config and image 2018-01-19 19:37:27 +08:00
README.md Update struct 2017-12-19 14:40:39 +08:00

README.md

Hyperledger Fabric Playground

This project provides several useful Docker-Compose script to help quickly bootup a Hyperledger Fabric network, and do simple testing with deploy, invoke and query transactions.

Currently we support Hyperledger Fabric v0.6.x and v1.x.

If you're not familiar with Docker and Blockchain, can have a look at these books (in CN):

Supported Fabric Releases

Fabric Release Description
Fabric v0.6.0 stable with fabric v0.6.0 code.
Fabric v1.0.0 stable with fabric v1.0.0 code.
Fabric v1.0.2 deprecated, test fabric v1.0.2 code.
Fabric v1.0.4 test fabric v1.0.4 code.
Fabric v1.0.5 latest stable fabric code with v1.0.5.
Fabric Latest experimental with latest fabric code, unstable.

Getting Started

Pick up a fabric version

Enter the subdir of specific version, e.g.,

$ cd 1.0.5 # select a fabric version

Quick Test

The following command will run the entire process (start a fabric network, create channel, test chaincode and stop it.) pass-through.

$ make setup # Install docker/compose, and pull required images
$ make test  # Test with default fabric solo mode

Test with more modes

$ HLF_MODE=solo make test # Bootup a fabric network with solo mode
$ HLF_MODE=couchdb make test # Enable couchdb support, web UI is at `http://localhost:5984/_utils`
$ HLF_MODE=event make test  # Enable eventhub listener
$ HLF_MODE=kafka make test # Bootup a fabric network with kafka mode
$ HLF_MODE=be make test  # Start a blockchain-explorer to view network info

Detailed Steps

See detailed steps

TODO

  • Support boot up a fabric network with hyperledger composer

Acknowledgement