ChainOps
Deploy blockchain validators with a single command. Terraform-based infrastructure for AWS with chain-specific defaults, cost estimation, and state tracking.
Supported chains: Ethereum, Solana
Quick Start
pip install chainops
chainops init ethereum --network mainnet --region us-east-1
chainops estimate # See costs before deploying
chainops deploy --dry-run # Preview Terraform plan
chainops deploy # Deploy for realHow It Works
chainops init— Creates chainops.yaml with chain-specific defaults (instance type, storage, region)chainops deploy— Copies Terraform templates, generates terraform.tfvars, runsterraform init → plan → applychainops status— Queries Terraform state for deployment info (IP, status, region)chainops destroy— Runsterraform destroywith confirmation
# chainops.yaml (generated by init)
name: ethereum-validator
chain: ethereum
network: mainnet
provider: aws
region: us-east-1
compute:
instance_type: t3.xlarge
storage_size: 2000
spot_instances: falseCost Estimates
Ethereum (t3.xlarge)
EC2: $120/mo • EBS 2TB: $160/mo • Network: $45/mo • CloudWatch: $10/mo
Total: ~$335/mo ($211/mo with spot instances)
Solana (r6i.2xlarge)
EC2: $360/mo • Ledger 2TB: $200/mo • Accounts 500GB: $50/mo • Network: $90/mo • CloudWatch: $15/mo
Total: ~$715/mo ($463/mo with spot instances)
CLI Reference
| Command | Description |
|---|---|
chainops init <chain> --network mainnet | Initialize validator config |
chainops deploy | Deploy infrastructure |
chainops deploy --dry-run | Preview Terraform plan |
chainops deploy --auto-approve | Deploy without confirmation |
chainops estimate | Show monthly cost estimate |
chainops status | Check validator status |
chainops list | List all deployments |
chainops destroy | Destroy infrastructure |
chainops chains | List supported chains |