suddutt1 / fabricnetgenerator Goto Github PK
View Code? Open in Web Editor NEWHyperledger Fabric Network Generator - A simple tool to craft a hyperledger fabric network byond "byfn"
Hyperledger Fabric Network Generator - A simple tool to craft a hyperledger fabric network byond "byfn"
Solved:
Windows 7 users please make sure to download the code base in the shared folder as mentioned in the Oracle VM Box for that particular VM machine.
Generally the shared folder is Users/
Otherwise during deployment of the code the folders will not be mounted as expected.
Solved:
Go to $GoRoot/src
Run the command:
go get gopkg.in/yaml.v2
Solved:
According to the logic present till 23-11-2017
we have to create a folder structure like:
chaincode/your folder structure/chaincodename.go
Process:
Create the folder called "chaincode" inside fabricnetgenarator (it will be the downloaded folder name).
Now create another folder structure (your folder structure) inside "chaincode" as specified in the network-config.json file and put the chaincode in it.
chaincode/your folder structure/chaincodename.go
Solved:
It is actually creating
fabricnetgenerator.exe file
so
fabricnetgenerator command will work
Hi, I used your generator, but having issues with ./generateartifacts.sh
and getting this error:
*********** Deleting old certificates *******
************ Generating certificates *********
superbuyer.com
rapidseller.net
transnet.com
************ Generating tx files ************
2019-11-13 08:43:40.878 -03 [common/configtx/tool] main -> INFO 001 Loading configuration
2019-11-13 08:43:40.894 -03 [common/configtx/tool/localconfig] Load -> CRIT 002 Error unmarshaling config into struct: 20 error(s) decoding:
* '' has invalid keys: capabilities, channel
* 'Application' has invalid keys: Capabilities, Policies
* 'Orderer' has invalid keys: Capabilities, Policies
* 'Organizations[0]' has invalid keys: Policies
* 'Organizations[1]' has invalid keys: Policies
* 'Organizations[2]' has invalid keys: Policies
* 'Organizations[3]' has invalid keys: Policies
Is it due to compatibility issues?
Solved:
Present:
docker exec -it cli bash -f ./buildandjoinchannel.sh # To build and join channel
docker exec -it cli bash -f ./chaincode id_install.sh # To install the chain code
Corrected:
docker exec -it cli bash -e ./buildandjoinchannel.sh # To build and join channel
docker exec -it cli bash -e ./chaincode id_install.sh # To install the chain code
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.