Ethereum 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:
- Mainnet (default)
- Testnet: Goerli
- Testnet: Rinkeby
- Testnet: Ropsten
Installation
Note that this construct requires AWS CDK v2.
JavaScript
npm install --save @cdklabs/cdk-ethereum-node
Python
pip3 install cdklabs.cdk-ethereum-node
Java
Add the following to pom.xml:
<dependency>
<groupId>io.github.cdklabs</groupId>
<artifactId>cdk-ethereum-node</artifactId>
</dependency>
.NET
dotnet add package Cdklabs.CdkEthereumNode
Usage
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.
References
Contributing
Pull requests are welcomed. Please review the Contributing Guidelines and the Code of Conduct.
Security
See CONTRIBUTING for more information.
Authors
- Trinity Key (trinikey@amazon.com)
- Marc Gozali (gozalim@amazon.com)
License
This project is licensed under the MIT-0 License. See the LICENSE file for details.
Metadata
Release files for cdklabs.cdk-ethereum-node 0.0.731
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| cdklabs_cdk_ethereum_node-0.0.731.tar.gz | 28.4 kB | Without provenance | Details for cdklabs_cdk_ethereum_node-0.0.731.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| cdklabs_cdk_ethereum_node-0.0.731-py3-none-any.whl | Python 3 | none | any | Details for cdklabs_cdk_ethereum_node-0.0.731-py3-none-any.whl |
Total release size: 56.0 kB
Release files / cdklabs_cdk_ethereum_node-0.0.731.tar.gz
| Download URL | cdklabs_cdk_ethereum_node-0.0.731.tar.gz |
|---|---|
| Size | 28.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4baa87b85fb4f624351fea5cd584122555eb2855e79f90d2655ce1be16388776
|
|
BLAKE2b-256 checksum How to use checksums |
dce116086fec4d703af3865b4fa534d7c23f3d6547aebeb41d1be9d04cda7e8d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.8
|
Release files / cdklabs_cdk_ethereum_node-0.0.731-py3-none-any.whl
| Download URL | cdklabs_cdk_ethereum_node-0.0.731-py3-none-any.whl |
|---|---|
| Size | 27.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
82befd64151d3a1e43266ddcfd8dea435b65a3de6de57bdde7b00fabbea5680b
|
|
BLAKE2b-256 checksum How to use checksums |
dc9d3edf01b21b9fd29651d1768fdffcd65260fa0b4197a9bac9b6f1164a38d5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.8
|
Security for cdklabs.cdk-ethereum-node 0.0.731
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.