{"id":24173164,"url":"https://github.com/cdklabs/cdk-hyperledger-fabric-network","last_synced_at":"2025-09-20T17:32:54.751Z","repository":{"id":49797982,"uuid":"482057773","full_name":"cdklabs/cdk-hyperledger-fabric-network","owner":"cdklabs","description":"CDK construct to deploy a Hyperledger Fabric network running on Amazon Managed Blockchain","archived":false,"fork":false,"pushed_at":"2025-01-08T00:45:36.000Z","size":2904,"stargazers_count":8,"open_issues_count":2,"forks_count":7,"subscribers_count":16,"default_branch":"main","last_synced_at":"2025-01-08T01:26:14.890Z","etag":null,"topics":["amazon-managed-blockchain","aws","aws-cdk-construct","blockchain","hyperledger-fabric"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit-0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cdklabs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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":"2022-04-15T19:01:38.000Z","updated_at":"2025-01-08T00:40:12.000Z","dependencies_parsed_at":"2024-02-09T01:43:06.547Z","dependency_job_id":"86ce7852-5801-4770-b84a-ef37da97f981","html_url":"https://github.com/cdklabs/cdk-hyperledger-fabric-network","commit_stats":{"total_commits":818,"total_committers":7,"mean_commits":"116.85714285714286","dds":0.0476772616136919,"last_synced_commit":"993c2d6613f7b05eb653effad91e93f86dd3a442"},"previous_names":[],"tags_count":784,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cdklabs%2Fcdk-hyperledger-fabric-network","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cdklabs%2Fcdk-hyperledger-fabric-network/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cdklabs%2Fcdk-hyperledger-fabric-network/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cdklabs%2Fcdk-hyperledger-fabric-network/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cdklabs","download_url":"https://codeload.github.com/cdklabs/cdk-hyperledger-fabric-network/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":233600582,"owners_count":18700693,"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","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":["amazon-managed-blockchain","aws","aws-cdk-construct","blockchain","hyperledger-fabric"],"created_at":"2025-01-13T01:15:10.150Z","updated_at":"2025-09-20T17:32:49.454Z","avatar_url":"https://github.com/cdklabs.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Hyperledger Fabric on Amazon Managed Blockchain\n\n[![license](https://img.shields.io/github/license/cdklabs/cdk-hyperledger-fabric-network?color=green)](https://opensource.org/licenses/MIT)\n[![release](https://img.shields.io/github/v/release/cdklabs/cdk-hyperledger-fabric-network?color=green)](https://github.com/cdklabs/cdk-hyperledger-fabric-network/releases)\n[![npm:version](https://img.shields.io/npm/v/@cdklabs/cdk-hyperledger-fabric-network?color=blue)](https://www.npmjs.com/package/@cdklabs/cdk-hyperledger-fabric-network)\n[![PyPi:version](https://img.shields.io/pypi/v/cdklabs.cdk-hyperledger-fabric-network?color=blue)](https://pypi.org/project/cdklabs.cdk-hyperledger-fabric-network/)\n[![Maven:version](https://img.shields.io/maven-central/v/io.github.cdklabs/cdk-hyperledger-fabric-network?color=blue\u0026label=maven)](https://central.sonatype.dev/artifact/io.github.cdklabs/cdk-hyperledger-fabric-network/0.8.147)\n[![NuGet:version](https://img.shields.io/nuget/v/Cdklabs.CdkHyperledgerFabricNetwork?color=blue)](https://www.nuget.org/packages/Cdklabs.CdkHyperledgerFabricNetwork)\n\nThis repository contains a CDK construct to deploy a Hyperledger Fabric network\nrunning on Amazon Managed Blockchain. It builds out a member and its nodes, a VPC\nand associated endpoint to access them, and a set of users enrolled on the network.\n\nThe following functionality is planned for future releases:\n\n*  Create channels on nodes\n*  Instantiate chaincode on nodes\n\n\n## Installation\n\nNote that this construct requires [AWS CDK v2](https://docs.aws.amazon.com/cdk/v2/guide/getting_started.html#getting_started_install).\n\n#### JavaScript\n\n```bash\nnpm install --save @cdklabs/cdk-hyperledger-fabric-network\n```\n\n#### Python\n\n```bash\npip3 install cdklabs.cdk-hyperledger-fabric-network\n```\n\n#### Java\n\nAdd the following to `pom.xml`:\n\n```xml\n\u003cdependency\u003e\n  \u003cgroupId\u003eio.github.cdklabs\u003c/groupId\u003e\n  \u003cartifactId\u003ecdk-hyperledger-fabric-network\u003c/artifactId\u003e\n\u003c/dependency\u003e\n```\n\n#### .NET\n\n```bash\ndotnet add package Cdklabs.CdkHyperledgerFabricNetwork\n```\n\n\n## Usage\n\nA minimally complete deployment is shown below. By default, a standard network\nwill be created running Hyperledger Fabric 1.4 with a single `bc.t3.small` node.\n\n```typescript\nimport { Stack, StackProps } from 'aws-cdk-lib';\nimport { Construct } from 'constructs';\nimport { HyperledgerFabricNetwork } from '@cdklabs/cdk-hyperledger-fabric-network';\n\nclass MyStack extends Stack {\n  constructor(scope: Construct, id: string, props?: StackProps) {\n    super(scope, id, props);\n    new HyperledgerFabricNetwork(this, 'Example', {\n      networkName: 'MyNetwork',\n      memberName: 'MyMember',\n    });\n  }\n}\n```\n\nThe equivalent Python code is as follows:\n\n```python\nfrom aws_cdk import Stack\nfrom cdklabs.cdk_hyperledger_fabric_network import HyperledgerFabricNetwork\n\nclass MyStack(Stack):\n    def __init__(self, scope, id, **kwargs):\n        super().__init__(scope, id, **kwargs)\n        HyperledgerFabricNetwork(\n            self, 'Example',\n            network_name='MyNetwork',\n            member_name='MyMember',\n        )\n```\n\nThe following is a more complex instantiation illustrating some of the options available.\n\n```typescript\nnew HyperledgerFabricNetwork(this, 'Example', {\n  networkName: 'MyNetwork',\n  networkDescription: 'This is my Hyperledger Fabric network',\n  memberName: 'MyMember',\n  networkDescription: 'This is my Hyperledger Fabric member',\n  frameworkVersion: hyperledger.FrameworkVersion.VERSION_1_2,\n  proposalDurationInHours: 48,\n  thresholdPercentage: 75,\n  nodes: [\n    {\n      availabilityZone: 'us-east-1a',\n      instanceType: hyperledger.InstanceType.STANDARD5_LARGE,\n    },\n    {\n      availabilityZone: 'us-east-1b',\n      instanceType: hyperledger.InstanceType.STANDARD5_LARGE,\n    },\n  ],\n  users: [\n    { userId: 'AppUser1', affilitation: 'MyMember' },\n    { userId: 'AppUser2', affilitation: 'MyMember.department1' },\n  ],\n});\n```\n\nSee the [API Documentation](API.md) for details on all available input and output parameters.\n\n\n## References\n\n*  [AWS CDK](https://docs.aws.amazon.com/cdk/v2/guide/home.html)\n*  [Amazon Managed Blockchain](https://aws.amazon.com/managed-blockchain/)\n*  [Hyperledger Fabric](https://hyperledger-fabric.readthedocs.io/)\n*  [Node Fabric SDK](https://hyperledger.github.io/fabric-sdk-node/release-1.4/index.html)\n*  [Fabric Chaincode Node](https://hyperledger.github.io/fabric-chaincode-node/)\n\n\n## Contributing\n\nPull requests are welcomed. Please review the [Contributing Guidelines](CONTRIBUTING.md)\nand the [Code of Conduct](CODE_OF_CONDUCT.md).\n\n\n## Security\n\nSee [CONTRIBUTING](CONTRIBUTING.md#security-issue-notifications) for more information.\n\n\n## Authors\n\n*  Jud Neer (judneer@amazon.com)\n*  Vignesh Rajasingh (vrajasin@amazon.com)\n\n\n## License\n\nThis project is licensed under the MIT-0 License. See the [LICENSE](LICENSE) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcdklabs%2Fcdk-hyperledger-fabric-network","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcdklabs%2Fcdk-hyperledger-fabric-network","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcdklabs%2Fcdk-hyperledger-fabric-network/lists"}