{"id":21713531,"url":"https://github.com/suddutt1/fabricnetgenerator","last_synced_at":"2025-09-03T10:33:26.863Z","repository":{"id":109830446,"uuid":"109091902","full_name":"suddutt1/fabricnetgenerator","owner":"suddutt1","description":"Hyperledger Fabric Network Generator - A simple tool to craft a hyperledger fabric network byond \"byfn\"","archived":false,"fork":false,"pushed_at":"2021-07-04T13:37:57.000Z","size":1668,"stargazers_count":21,"open_issues_count":0,"forks_count":14,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-12T18:52:20.255Z","etag":null,"topics":["automation","blockchain","fabric","hyeperledger","tool"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/suddutt1.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-11-01T05:44:45.000Z","updated_at":"2024-06-26T08:18:42.000Z","dependencies_parsed_at":"2023-05-31T09:00:54.468Z","dependency_job_id":null,"html_url":"https://github.com/suddutt1/fabricnetgenerator","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/suddutt1/fabricnetgenerator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/suddutt1%2Ffabricnetgenerator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/suddutt1%2Ffabricnetgenerator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/suddutt1%2Ffabricnetgenerator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/suddutt1%2Ffabricnetgenerator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/suddutt1","download_url":"https://codeload.github.com/suddutt1/fabricnetgenerator/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/suddutt1%2Ffabricnetgenerator/sbom","scorecard":{"id":857204,"data":{"date":"2025-08-11","repo":{"name":"github.com/suddutt1/fabricnetgenerator","commit":"dcaefab6cf8cf81b7306954f9f54cd99b8512cf8"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2,"checks":[{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Code-Review","score":0,"reason":"Found 0/30 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"License","score":0,"reason":"license file not detected","details":["Warn: project does not have a license file"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Signed-Releases","score":0,"reason":"Project has not signed or included provenance with any releases.","details":["Warn: release artifact 1.4 not signed: https://api.github.com/repos/suddutt1/fabricnetgenerator/releases/19774672","Warn: release artifact V1.3.2 not signed: https://api.github.com/repos/suddutt1/fabricnetgenerator/releases/15207723","Warn: release artifact V1.3.1 not signed: https://api.github.com/repos/suddutt1/fabricnetgenerator/releases/14743846","Warn: release artifact 1.4 does not have provenance: https://api.github.com/repos/suddutt1/fabricnetgenerator/releases/19774672","Warn: release artifact V1.3.2 does not have provenance: https://api.github.com/repos/suddutt1/fabricnetgenerator/releases/15207723","Warn: release artifact V1.3.1 does not have provenance: https://api.github.com/repos/suddutt1/fabricnetgenerator/releases/14743846"],"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Vulnerabilities","score":7,"reason":"3 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GO-2021-0061 / GHSA-r88r-gmrh-7j83","Warn: Project is vulnerable to: GO-2022-0956 / GHSA-6q6q-88xp-6f2r","Warn: Project is vulnerable to: GO-2020-0036 / GHSA-wxc4-f4m6-wwqv"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-24T00:09:22.815Z","repository_id":109830446,"created_at":"2025-08-24T00:09:22.815Z","updated_at":"2025-08-24T00:09:22.815Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273430547,"owners_count":25104481,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-03T02:00:09.631Z","response_time":76,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["automation","blockchain","fabric","hyeperledger","tool"],"created_at":"2024-11-26T00:17:28.613Z","updated_at":"2025-09-03T10:33:26.841Z","avatar_url":"https://github.com/suddutt1.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Hyperledger Fabric Network Generator\n### This tool generates hyperledger fabric v1.x network related files to spwan a network quickly\n\nHyperledger Fabric Network Generator\n--------------------------------------------\nThis is a simple tool to generate a set of scripts to spawn a docker-compose based hyperledger fabric network in a linux machine. Tool takes a simple JSON as input specifying any fabric network and generates a set of shell scripts, docker-compose.yaml file to start a network, create and join channels, install and update chain codes. Tool also generates a README file to assit new users with squence of scripts to runm in order to bring a hyperledger fabric network up and running.\nThe saves time for a developer to build a network without making any mistake in creating configtx.yaml, crypto-config.yaml. docker-compose files etc, those are required by a hyperledger fabric network to start.\nMoreover this tools helps developers to concentrate more on the smart contract writing and developing other integration parts rather than concentrating on the infrastructure part. \nThe future versions of this tool is aimed to support multi-vm , K8S complient and docker swarm compliant network configuration files and scripts generation. \n\n\n\n## Updates \n#### May 24,2021: Support for 2.2.0 is completed. Tested in battlefield.\n#### Oct 25,2020: Support for 2.2.0 is completed. Testing pending.\n#### Oct 10,2020: Started working to support  2.2.0 with Raft\n#### July 30, 2019: Updated support for 1.4.2 with Raft\n#### July 20, 2019: Stopped support for verions below Fabric version 1.4.\n#### March 14, 2019: Added extra_hosts attribute same entries \n#### Dec 28,2018: Fixed issues with Fabric version 1.3 . Updated code for some new features like pre-generated user lookup and ca-affiliate-add shell scripts \n#### Dec 25,2018: Version 1.3 issues are resolved. Now you may generate and operate a hyperledger version 1.3 network\n#### Dec 24,2018: Custom affiliation scripts added.Fixed other CA related issues  \n#### Dec 03,2018: Anchor peer update included.  \n#### Nov 28,2018: Updated to support Fabric 1.3 based network with solo anf kafka orderer. Support for Fabric 1.2 is skipped for now.\n#### Nov 25,2018: Fixed issue on kafka configuration . Added a feature to generate a base chaincode\n#### Nov 19,2018 : Fix issue for networks generated in ECS , Alibaba cloud environment\n#### June 30, 2018: Updated a version comapatibility map system so that it can support fabric version 1.0.0, 1.1.0, 1.0.4.  \n#### June 12, 2018: Added the option to generate ports starting from an input numnber\n1. Refer to the startPort entry in the network-config.json\n2. Tested for solo. Need to be tested for kafka based orderer options. \n3. The port numbers generated are not continous \n#### April 8, 2018: Added documentation for running the chain code after installation \n#### March 9, 2018 : Moved to HLF Version 1.1.0-rc1\n#### December 25, 2017 : Added kafka option for HA orderers\n\n\n## Installation  ( From Source )\n1. Clone this source code\n2. Build using \n    ```sh\n    cd \u003cpath to source code directory\u003e\n    go get gopkg.in/yaml.v2\n    go build\n    ```\n3. Install using  the following commands ( Make sure that GOBIN environment variable is set and your PATH contains GOBIN in it)\n    ```sh\n    cd \u003cpath to source code directory\u003e\n    go install\n    ```\n4. Create a network-config.json ( Refer to the example given in the respository).\n5. Generate the scripts and other configs\n    ```sh\n    fabricnetgen \u003cpath to the network-config json file name\u003e\n    \n \n     ```\n6. Follow the instructions generated in README.txt file.\n\n## Installation  ( Binary )\n1. Download latest fabricnetgen from the releases tab\n2. Change the permission to make it an executable \n ```sh\n    chmod a+x fabricnetgen\n ```  \n3. Put the fabricnetgen some where so that it is in PATH  \n4. Create a network-config.json ( Refer to the example given in the respository).\n5. Generate the scripts and other configs\n    ```sh\n    fabricnetgen \u003cpath to the network-config json file name\u003e\n    \n \n     ```\n6. Follow the instructions generated in README.txt file.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsuddutt1%2Ffabricnetgenerator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsuddutt1%2Ffabricnetgenerator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsuddutt1%2Ffabricnetgenerator/lists"}