mblottiere / hlf-k8s

Substra Network initializes an Hyperledger Fabric network with Certificate Authorities

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

HLF k8s Helm

HLF-k8s is a network of Hyperledger Fabric orderers and peers forming a permissioned blockchain.

It is part of the Substra project.

Prerequisites

Local install

Use skaffold v1.20+.

To start hlf-k8s, run:

skaffold run

This will deploy hlf-k8s with:

  • 1 orderer MyOrderer
  • 2 organizations: MyOrg1 and MyOrg2

Running a specific version

To deploy locally a specific version of hlf-k8s, the recommended way is the following:

SUBSTRA_HLF_VERSION=0.0.16
git checkout $SUBSTRA_HLF_VERSION
skaffold deploy --images substrafoundation/fabric-tools:$SUBSTRA_HLF_VERSION --images substrafoundation/fabric-peer:$SUBSTRA_HLF_VERSION

Install a custom chaincode

By default, the skaffold run command will start a network using the default substra-chaincode image.

To use a custom chaincode locally, you need to build and replace the chaincodes.image fields to use your local image of substra-chaincode.

You can check how to do it in the helm chart documentation in the Test hlf-k8s with your own chaincode section

Production install / Changelog

Please refer to the helm chart documentation.

License

This project is developed under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file.

About

Substra Network initializes an Hyperledger Fabric network with Certificate Authorities

License:Apache License 2.0


Languages

Language:Shell 65.0%Language:Dockerfile 25.5%Language:Mustache 9.5%