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
- 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.
Pre-requisites
-
Install Go.
-
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/src and 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.