wahabjawed / Build-Multi-Host-Network-Hyperledger

Build Multi-Host Network - Hyperledger Fabric
MIT License
46 stars 45 forks source link

Error when execute $ cd Build-Multi-Host-Network-Hyperledger/ $ ./bmhn.sh #3

Open bacthosan opened 5 years ago

bacthosan commented 5 years ago

Generating certs and genesis block for with channel 'mychannel' and CLI timeout of '10' Continue (y/n)? y proceeding ... cryptogen tool not found. exiting

I have this error when execute bmhn.sh. Can any help me?

JohnDun89 commented 5 years ago

@bacthosan I am having the same issue - did you find a solution?

chjaniet commented 5 years ago

@JohnDun89 @JohnDun89 @lehors me too. Any one found a solution for this?

lehors commented 5 years ago

cryptogen is part of Fabric. You need to go through Fabric's Install described on the following page: https://hyperledger-fabric.readthedocs.io/en/release-1.4/install.html

This will get you through the steps of downloading a bunch of containers and binaries among which you will find cryptogen. The bmhn.sh script assumes that the bin directory which thus gets created is a sibling directory to the one where bmhn.sh lives. If that's not the case make sure to add it to your PATH so it is found.

adeebabdulsalam commented 4 years ago

Those who has already installed 'fabric-samples' following the the tutorial here, just move the folder 'Build-Multi-Host-Network-Hyperledger' into 'fabric-samples' and execute ./bmhn.sh again.