Security News
require(esm) Backported to Node.js 20, Paving the Way for ESM-Only Packages
require(esm) backported to Node.js 20, easing the transition to ESM-only packages and reducing complexity for developers as Node 18 nears end-of-life.
@cdklabs/cdk-ethereum-node
Advanced tools
CDK construct to deploy an Ethereum node running on Amazon Managed Blockchain
This repository contains a CDK construct to deploy an Ethereum node running on Amazon Managed Blockchain. The following networks are supported:
Note that this construct requires AWS CDK v2.
npm install --save @cdklabs/cdk-ethereum-node
pip3 install cdklabs.cdk-ethereum-node
Add the following to pom.xml
:
<dependency>
<groupId>io.github.cdklabs</groupId>
<artifactId>cdk-ethereum-node</artifactId>
</dependency>
dotnet add package Cdklabs.CdkEthereumNode
A minimally complete deployment is shown below. By default,
a bc.t3.large
node will be created on the Ethereum Mainnet.
import { Stack, StackProps } from 'aws-cdk-lib';
import { Construct } from 'constructs';
import { EthereumNode, Network, InstanceType } from '@cdklabs/cdk-ethereum-node';
export class MyStack extends Stack {
constructor(scope: Construct, id: string, props?: StackProps) {
super(scope, id, props);
new EthereumNode(this, 'Example');
}
}
The equivalent Python code is as follows:
from aws_cdk import Stack
from cdklabs.cdk_ethereum_node import EthereumNode
class MyStack(Stack):
def __init__(self, scope, id, **kwargs):
super().__init__(scope, id, **kwargs)
EthereumNode(self, 'Example')
The following is a more complex instantiation illustrating some of the node configuration options available.
new EthereumNode(this, 'Example', {
network: Network.ROPSTEN,
availabilityZone: 'us-east-1b',
instanceType: InstanceType.BURSTABLE3_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 an Ethereum node running on Amazon Managed Blockchain
The npm package @cdklabs/cdk-ethereum-node receives a total of 12 weekly downloads. As such, @cdklabs/cdk-ethereum-node popularity was classified as not popular.
We found that @cdklabs/cdk-ethereum-node demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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.
Security News
require(esm) backported to Node.js 20, easing the transition to ESM-only packages and reducing complexity for developers as Node 18 nears end-of-life.
Security News
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.