Published on

The Complexity of Setting up Hyperledger Fabric

Authors

Hyperledger Fabric is very configurable. But with this increased flexibility comes complexity. When setting up a Fabric server you first need to setup the certs. This can be done using the cryptogen tool that is part of the Hyperledger Fabric project - but you can generate certs as you wish. You need to specify a yaml file for that tool to use but the details of this file are not well documented. Once you have your certs setup you then need to specify your genesis block config which is specified in a yaml file. A good starting point on this is IBM's sample Kubernetes repo and failing that digging into the code. If you look for example at the struct definitions here you can work out how these config files are structured and what many of the fields mean (as some of them have comments above them detailing how they are used).