| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
A universal, AI-friendly AWS CDK application for rapidly testing and iterating on blockchain node infrastructure configurations. Experiment with different instance types, storage options, and deployment modes using natural language prompts.
The AWS Blockchain Node Runners provides a single, unified infrastructure-as-code solution for blockchain node deployment on AWS. Built with AI-first design principles, it enables rapid experimentation and optimization of infrastructure configurations through natural language interactions with AI assistants.
📖 Full Documentation: aws-samples.github.io/aws-blockchain-node-runners
Blockchain protocols are delivered as NPM packages (blueprints). Six built-in blueprints ship with the repository — Ethereum, Solana (Agave and Frankendancer), Base, BNB Chain, Bitcoin, and Dummy (reference implementation). External blueprints can be installed from the NPM registry or GitHub:
# Install an external blueprint
npm install aws-bnr-blueprint-polygon --legacy-peer-deps
# Or from GitHub
npm install github:owner/aws-bnr-blueprint-polygon#v1.0.0 --legacy-peer-depsThe --legacy-peer-deps flag is required: blueprints declare a peer dependency on the aws-blockchain-node-runners framework, which is not published to the npm registry, so npm's default (strict) peer resolution would otherwise fail.
After installing, set BLOCKCHAIN_PROTOCOL in your .env to the protocol name and deploy. See Adding New Protocols for how to create your own blueprint package.
Before getting started, ensure you have the following installed and configured.
AWS CDK v2 requires an actively supported Node.js LTS version. Node.js 18 reached end-of-life in April 2025 and CDK support for it ended November 2025, so use Node.js 20 LTS or later.
Verify your version:
node --version
# Expected: v20.x.x or laterInstall via nodejs.org or a version manager like nvm:
# Using nvm
nvm install 20
nvm use 20The AWS CLI is needed for CDK bootstrap and credential management.
Install following the official guide, or:
# macOS (Homebrew)
brew install awscli
# Verify
aws --versionYou need an AWS account with permissions to create EC2, VPC, IAM, EBS, CloudWatch, and (for HA deployments) ALB resources.
Configure credentials using one of these methods:
Option A: Environment variables
export AWS_ACCESS_KEY_ID=<your-access-key>
export AWS_SECRET_ACCESS_KEY=<your-secret-key>
export AWS_REGION=us-east-1Option B: AWS CLI named profiles
# Configure a profile
aws configure --profile my-blockchain-profile
# Then tell CDK which profile to use
export AWS_PROFILE=my-blockchain-profileWhen using Kiro CLI, pass the profile via the environment variable before starting a session:
export AWS_PROFILE=my-blockchain-profile
kiro-cliFor more details, see AWS CDK prerequisites.
Kiro CLI enables the AI-driven workflows described in this README (deploy, healthcheck, troubleshoot).
macOS:
curl -fsSL https://cli.kiro.dev/install | bashLinux:
curl -fsSL https://cli.kiro.dev/install | bashAfter installation, authenticate:
kiro-cli auth loginSee the Kiro CLI installation guide for other platforms and options.
This project ships with pre-configured MCP servers in .kiro/settings/mcp.json that give Kiro access to AWS documentation and CDK guidance. They run via uvx, which requires uv (a Python package manager).
Install uv:
# macOS (Homebrew)
brew install uv
# Or via the official installer (macOS/Linux)
curl -LsSf https://astral.sh/uv/install.sh | shSee the uv installation guide for other methods.
Once uv is installed, no further setup is needed — uvx will automatically download and run the MCP servers when Kiro starts:
Run these commands to confirm everything is ready:
node --version # v20.x.x or later
npm --version # 10.x.x or later
aws --version # aws-cli/2.x.x
aws sts get-caller-identity # Should return your account infoThe fastest way to test blockchain node infrastructure is using AI assistance. This repository includes specialized prompts for experimentation workflows. A few examples:
@deploy an Ethereum mainnet RPC node configuration in us-east-1
@healthcheck my node's performance and identify bottlenecks
@troubleshoot my node is syncing slowly, what infrastructure changes should I try?
The AI recommends infrastructure options, generates your configuration, deploys the stack, runs a healthcheck, and helps you iterate in minutes.
For the full step-by-step walkthrough, see the Getting Started guide.
Prefer to deploy without AI assistance? You can clone the repo, configure a .env, and run the standard CDK commands yourself.
See the Deployment Guide for the complete manual deployment walkthrough.
Full documentation is published on the website: aws-samples.github.io/aws-blockchain-node-runners
For contributors, the canonical source files are in docs/ (Markdown documentation) and .kiro/ (specs, steering, and AI prompts). The website mirrors these sources.
We welcome contributions! See CONTRIBUTING.md for guidelines.
New protocols are added through the pluggable NPM blueprint system — each blueprint is a self-contained NPM package with an "aws-blockchain-node-runner" field in its package.json, so you can add support for a new chain without modifying the CDK code. See About Blueprints for the package structure and conventions, and use blueprints/dummy/ as a reference implementation.
Community-published blueprints live outside this repository and are surfaced through the Community Blueprints Catalog on the website. You can discover them with npm search aws-bnr-blueprint and install them like any other blueprint. Community blueprints are not reviewed or verified by the core maintainers — always run a security review before deploying one.
This repository uses MIT License. See LICENSE for details.
This universal architecture builds upon the original AWS Blockchain Node Runners blueprints, consolidating multiple protocol-specific implementations into a single, maintainable, AI-friendly solution optimized for rapid infrastructure experimentation and optimization.
| Back | FazBrowse Home | New Git URL |