Skip to content

olegabu/fabric-starter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

726e321 · Dec 21, 2022
Oct 4, 2022
Nov 25, 2022
Sep 13, 2019
Dec 8, 2022
Sep 9, 2020
Jun 15, 2022
Sep 20, 2022
Sep 20, 2022
Oct 3, 2022
Sep 20, 2022
Sep 20, 2022
Sep 20, 2022
Sep 20, 2022
Sep 20, 2022
Nov 25, 2022
Oct 3, 2022
Oct 28, 2019
Sep 20, 2022
Jul 13, 2017
Sep 20, 2022
Sep 20, 2022
Dec 20, 2018
Dec 21, 2022
Sep 20, 2022
Dec 21, 2022
Sep 20, 2022
Feb 10, 2019
Aug 20, 2019
Sep 20, 2022
Sep 20, 2022
Sep 20, 2022
Aug 13, 2020
Aug 5, 2019
Oct 7, 2018
Sep 9, 2020
Oct 29, 2020
Aug 29, 2019
Aug 5, 2019
Nov 2, 2022
Sep 20, 2022
Sep 20, 2022
Sep 20, 2022
Dec 20, 2022
Jan 28, 2021
Feb 15, 2019
Jun 16, 2022
Sep 20, 2022
Sep 20, 2022
Nov 25, 2022
Sep 20, 2022
Feb 25, 2021
Sep 20, 2022
Aug 13, 2020
Sep 20, 2022
Sep 20, 2022
Sep 20, 2022
Sep 20, 2022
Dec 20, 2022
Jul 23, 2019
Mar 6, 2019
Sep 20, 2022
Mar 16, 2021
Oct 6, 2021
Aug 30, 2019
Sep 20, 2022
Sep 20, 2022
Aug 30, 2019
Sep 9, 2020
Aug 30, 2019
Aug 30, 2019
Nov 27, 2020
Jun 19, 2020
Aug 30, 2019
Aug 30, 2019
Sep 9, 2020
Sep 20, 2022
Dec 8, 2022
Sep 20, 2022
Sep 20, 2022
Aug 13, 2020

Repository files navigation

Starter Application for Hyperledger Fabric

(!) The project has switched to Hyperledger Fabric v2.3. For using previous versions see snapshot-xxx branches

Create a Hyperledger Fabric network to jump start development of your decentralized application on Hyperledger Fabric platform.

The network is run by docker containers and can be deployed to one host for development or to multiple hosts for testing or production.

Scripts of this starter generate crypto material and config files, start the Hyperledger Fabric node and deploy your chaincodes. Additional nodes can be started and automatically connected to a Blockchain network.

Developers can use REST API to invoke and query chaincodes, explore blocks and transactions.

What's left is to develop your chaincodes and place them into the chaincode folder, and user interface as a single page web app that you can serve by by placing the sources into the www folder.

See also

Blockchain network deployment

The following sections describe Fabric Starter possibilities in more details:

Install

See Prerequisites

Using a particular version of Hyperledger Fabric

By default Fabric starter uses the 2.3 version of HL Fabric. If you want to deploy network with another version of HL Fabric then export it in the FABRIC_VERSION environment variable, e.g.:

export FABRIC_VERSION=1.4.8

Create a network with one organization

See Start an organization node

Add other organizations to the Network

See Add organizations to Network

Use REST API to query and invoke chaincodes

See Use REST Api

Use LDAP for user authentication and management

LDAP and Hyperledger Fabric Certification Authority are the two options for user management and membership. See Use LDAP for LDAP details.

Consensus Types. RAFT consensus algorithm.

Two types of consensus are used for ordering: Raft and Solo. For using Raft consensus see instructions in Start Raft Ordering Service

Prepare and install chaincodes

See Install Chaincodes

Releases\Snapshots cycle

When the code is stable for release or before introducing major changes\new features the branches stable, hlf-{fabric-version}-stable and hlf-{fabric-version}-snapshot-{version} are created.

Up to the snapshot-0.13-2.3 the snapshot-{version}-{fabric-version} tempate was used.

Note, the Hyperledger Fabric version and the Fabric Starter version which the snapshot depends on are defined in the .env file.