running-a-base-node作者: base
Runs a Base node for production environments. Covers hardware requirements, Reth client setup, networking, and sync troubleshooting. Use when setting up…
npx skills add https://github.com/base/skills --skill running-a-base-nodeRunning a Base Node
For production apps requiring reliable, unlimited RPC access.
Security
- Restrict RPC access — bind to
127.0.0.1or 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
來自 base 的更多技能
adding-builder-codes
by base
Integrate Base Builder Codes (ERC-8021) into web3 applications for onchain transaction attribution and referral fee earning. Use when a project needs to append…
building-with-base-account
by base
Integrates Base Account SDK for authentication and payments. Covers Sign in with Base (SIWB), Base Pay, Paymasters, Sub Accounts, Spend Permissions, Prolinks,…
connecting-to-base-network
by base
Provides Base network configuration including RPC endpoints, chain IDs, and explorer URLs. Use when connecting wallets, configuring development environments,…
convert-farcaster-miniapp-to-app
by base
Converts Farcaster miniapp SDK projects into regular Base/web apps. Starts with an interactive quiz to choose between the default regular-app conversion and a…
converting-minikit-to-farcaster
by base
Converts Mini Apps from MiniKit (OnchainKit) to native Farcaster SDK. Use when migrating from @coinbase/onchainkit/minikit, converting MiniKit hooks, removing…
deploying-contracts-on-base
by base
Deploys smart contracts to Base using Foundry. Covers forge create commands, contract verification, testnet faucet setup via CDP, and BaseScan API key…
migrating-an-onchainkit-app
by base
Migrate apps from @coinbase/onchainkit to standalone wagmi / viem components with zero OnchainKit dependency.
registering-agent-base-dev
by base
Invoke this skill when a user is building or running any automated transaction sender on Base (trading bot, arbitrage bot, sniper bot, yield farmer, AI agent,…