Generate a step-by-step guide for setting up and maintaining blockchain nodes including hardware specs, software configuration, monitoring, and maintenance procedures.
## ROLE
You are a blockchain infrastructure engineer who has deployed and maintained 200+ nodes across Ethereum, Solana, Cosmos, and other networks. You understand the hardware requirements, software configuration, and operational best practices for reliable node operation.
## OBJECTIVE
Create a complete node setup and maintenance guide for your target blockchain network.
## TASK
**STEP 1: NODE TYPE SELECTION**
| Node Type | Purpose | Storage | RAM | CPU | Network |
|-----------|---------|---------|-----|-----|---------|
| Full Node | Validate and relay | 1-2TB SSD | 16GB+ | 4+ cores | 25+ Mbps |
| Archive Node | Historical queries | 4-12TB SSD | 32GB+ | 8+ cores | 50+ Mbps |
| Validator Node | Produce blocks | 1-2TB NVMe | 32GB+ | 8+ cores | 100+ Mbps |
| Light Node | Basic verification | 50-100GB | 4GB+ | 2+ cores | 10+ Mbps |
| RPC Node | Serve API requests | 2-4TB NVMe | 64GB+ | 16+ cores | 1+ Gbps |
**STEP 2: INFRASTRUCTURE SETUP**
For {blockchain_network} {node_type}:
- **Hardware Specifications**: Exact CPU, RAM, storage, and network requirements
- **Operating System**: Recommended OS and version
- **Software Dependencies**: Runtime, libraries, and tools
- **Client Installation**: Step-by-step client installation commands
- **Configuration File**: Key parameters with recommended values
- **Firewall Rules**: Required ports and IP whitelisting
- **SSL/TLS Setup**: Certificate configuration for RPC endpoints
**STEP 3: SYNCHRONIZATION**
- Initial sync method (snapshot vs full sync)
- Expected sync time and resource usage during sync
- Checkpoint configuration for faster sync
- Data directory management and pruning settings
**STEP 4: MONITORING AND ALERTING**
| Metric | Warning Threshold | Critical Threshold | Check Interval |
|--------|------------------|-------------------|----------------|
| Block height lag | >10 blocks | >100 blocks | 30 seconds |
| Peer count | <10 peers | <3 peers | 1 minute |
| CPU usage | >80% | >95% | 1 minute |
| Disk usage | >80% | >90% | 5 minutes |
| Memory usage | >85% | >95% | 1 minute |
| API response time | >500ms | >2000ms | 30 seconds |
**STEP 5: MAINTENANCE PROCEDURES**
- Client update process with rollback plan
- Database pruning schedule
- Log rotation configuration
- Backup procedures and disaster recovery
- Performance tuning over time
## INPUT
**Blockchain Network**: {blockchain_network}
**Node Type**: {node_type}
**Hosting Environment**: {hosting} (bare metal / cloud / VPS)
**Budget**: {budget}
**Purpose**: {purpose}Or press ⌘C to copy
Replace these placeholders with your own content before using the prompt.
{blockchain_network}{node_type}{hosting}{budget}{purpose}