返回 Skill 列表
extension
分类: 开发与工程无需 API Key

running-a-base-node

运行适用于生产环境的Base节点。涵盖硬件要求、Reth客户端设置、网络配置以及同步故障排除。在设置自托管RPC基础设施或运行存档节点时使用。涉及诸如“运行Base节点”、“设置Base RPC”、“Base节点硬件要求”、“Reth Base设置”、“同步Base节点”、“自托管Base”或“运行自己的节点”等术语。

person作者: jakexiaohubgithub

Running a Base Node

For production apps requiring reliable, unlimited RPC access.

Security

  • Restrict RPC access — bind to 127.0.0.1 or a private interface, never expose RPC ports (8545/8546) to the public internet without authentication
  • Firewall rules — only open ports 9222 (Discovery v5) and 30303 (P2P) to the public; block all other inbound traffic
  • Run as a non-root user with minimal filesystem permissions
  • Use TLS termination (reverse proxy with nginx/caddy) if exposing the RPC endpoint to remote clients
  • Monitor for unauthorized access — log and alert on unexpected RPC calls or connection spikes

Hardware Requirements

  • CPU: 8-Core minimum
  • RAM: 16 GB minimum
  • Storage: NVMe SSD, formula: (2 × chain_size) + snapshot_size + 20% buffer

Networking

Required Ports:

  • Port 9222: Critical for Reth Discovery v5
  • Port 30303: P2P Discovery & RLPx

If these ports are blocked, the node will have difficulty finding peers and syncing.

Client Selection

Use Reth for Base nodes. Geth Archive Nodes are no longer supported.

Reth provides:

  • Better performance for high-throughput L2
  • Built-in archive node support

Syncing

  • Initial sync takes days
  • Consumes significant RPC quota if using external providers
  • Use snapshots to accelerate (check Base docs for URLs)

Sync Status

Incomplete sync indicator: Error: nonce has already been used when deploying.

Verify sync:

  • Compare latest block with explorer
  • Check peer connections
  • Monitor logs for progress