README
¶
Important notice
Following from a recent Hyperledger workshop sponsored by Cyberport HK, this repo is being reorganised to accommodate feedbacks from the workshop participants.
The maintainer of this repo would like to thank the participants of the workshop for making the effort to provide feedback to help improve this project.
If you have already clone or forked this repo, please be aware that there will be significant changes moving forward.
Introduction
The artefacts, or Fabric development kit, found in this Git repo is intended to help developers:
- learn what is involved in orchestrating and instantiating a Hyperledger Fabric (Fabric) network;
- debug chaincode.
Features
Current version: 0.0.1-alpha
Version: 0.1.0-alpha
- A simple end-to-end command line (CLI) solution based on a fixed two-organisations Fabric network.
- Verified for used on macOS and Linux only
- Compatible with Docker engine 18.06.0-ce and Docker compose 1.22.0
- Hyperledger Blockchain Explorer integrated. This is based on Explorer version 0.3.1 AS-IS.
- This is only a alpha primarily for preview purposes only.
For future considerations
- Feature to enable developer customise a locally instantiable Fabric network to minic a production version for testing.
- Feature to enable developer deploy a development only Fabric network in a shared platform (i.e. cloud, etc.) to enable multiple developers to collaborate.
Pre-requisites
-
Install Go.
-
for macOS, we recommend installing via homebrew;
-
for other platforms please refer to installation guide.
-
-
Set the environmental variable GOPATH to a reference a directory to host your Go source codes and binaries (i.e. Go workspace). For example,
export GOPATH=$HOME/go-projects -
Create a folder in
$GOPATH/srcand navigate to it. Under the folder clone this repository.
Content
| Item | Description |
|---|---|
| chaincodes/ | This folder contains chaincodes |
| chaincodes/minimalcc | This folder is the container for a default version of a chaincode for illustration purposes only |
| consortium | This folder contains definitions of and scripts to orchestrate Fabric network |
| consortium/twoorgs | This is a default two organisations fabric network intended for illustration purposes only |
Two-organisations consortium
This configuration of Fabric network provides developers with the opportunity to quickly debug a chaincode. A default two-organisations network is provided where developers could subject their chaincode to interaction between two organisations.
Please refer to this for a detail description
Acknowledgement
Aladdin Blockchain Technologies Ltd for sponsoring the effort to create this Fabric Development Kit
Disclaimer
Unless otherwise specified, the artefacts in this repository are distributed under Apache 2 license.
All artefacts found here are provided on "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
Aladdin Blockchain Technologies Ltd has the descretion in deciding any features to be incorporated or removed from this repository.