Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
cdk-hyperledger-fabric-network
Advanced tools
CDK construct to deploy a Hyperledger Fabric network running on Amazon Managed Blockchain
This repository contains an L2 CDK construct to deploy a Hyperledger Fabric network running on Amazon Managed Blockchain. It currently builds out a member and its nodes, but the following enhanced functionality is planned for future releases:
The construct can be installed in a CDK project with the following:
npm install --save cdk-hyperledger-fabric-network
Note that this construct requires AWS CDK v2.
A minimally complete deployment is shown below. By default, a standard network
will be created running Hyperledger Fabric 1.4 with a single bc.t3.small
node.
import * as cdk from 'aws-cdk-lib';
import * as constructs from 'constructs';
import * as hyperledger from 'cdk-hyperledger-fabric-network';
class MyStack extends cdk.Stack {
constructor(scope: constructs.Construct, id: string, props?: cdk.StackProps) {
super(scope, id, props);
new hyperledger.HyperledgerFabricNetwork(this, 'MyNetwork', {
networkName: 'MyNetwork',
memberName: 'MyMember',
});
});
}
The following is a more complex instantiation illustrating some of the options available.
new hyperledger.HyperledgerFabricNetwork(this, 'MyNetwork', {
networkName: 'MyNetwork',
networkDescription: 'This is my Hyperledger Fabric network',
memberName: 'MyMember',
networkDescription: 'This is my Hyperledger Fabric member',
frameworkVersion: hyperledger.FrameworkVersion.VERSION_1_2,
proposalDurationInHours: 48,
thresholdPercentage: 75,
nodes: [
{
availabilityZone: 'us-east-1a',
instanceType: hyperledger.InstanceType.STANDARD5_LARGE,
},
{
availabilityZone: 'us-east-1b',
instanceType: hyperledger.InstanceType.STANDARD5_LARGE,
},
],
});
See the API Documentation for details on all available input and output parameters.
Pull requests are welcomed. Please review the Contributing Guidelines and the Code of Conduct.
See CONTRIBUTING for more information.
This project is licensed under the MIT-0 License. See the LICENSE file for details.
FAQs
CDK construct to deploy a Hyperledger Fabric network running on Amazon Managed Blockchain
The npm package cdk-hyperledger-fabric-network receives a total of 0 weekly downloads. As such, cdk-hyperledger-fabric-network popularity was classified as not popular.
We found that cdk-hyperledger-fabric-network demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.