Starting Your Node
Quick Start (Testnet)
The fastest way to get a node running on testnet:Full Node (Testnet)
Run a full testnet node with RPC access:- Connect to Moderato testnet peers
- Download and verify the blockchain
- Expose RPC endpoints at
localhost:8545(HTTP) andlocalhost:8546(WebSocket)
Validator Node (Mainnet)
Run a validator node on mainnet:- Ensure ports are properly configured and firewall rules allow consensus traffic
- Set a secure fee recipient address
- Keep signing keys secure and backed up
- Monitor your validator’s performance
Syncing
Initial Sync
When first starting, your node needs to sync with the network.Method 1: Snapshot Sync (Recommended)
Fast sync using official snapshots:- Mainnet:
https://snapshots.tempoxyz.dev/4217 - Moderato (Testnet):
https://snapshots.tempoxyz.dev/42431 - Andantino (Testnet):
https://snapshots.tempoxyz.dev/42429
Method 2: Full Sync
Sync from genesis (slower but trustless):Monitoring Sync Progress
Check sync status via RPC:Sync Times
| Method | Time (Moderato) | Notes |
|---|---|---|
| Snapshot | ~30 minutes | Recommended for quick start |
| Full sync | Hours to days | Complete verification from genesis |
| Follow mode | ~5 minutes | Uses existing RPC, minimal storage |
Operating Modes
Follow Mode
Run a lightweight node that follows a trusted RPC:- Fast startup (no historical sync)
- Lower storage requirements
- Full RPC functionality
- Development and testing
- RPC gateway
- Fast node deployment
Full Node Mode
Run a full node that validates all blocks:- Complete chain validation
- No trust in external RPC
- Can serve as RPC endpoint for others
- Production RPC service
- Independent verification
- Archive node
Validator Mode
Participate in consensus and earn rewards:- Validator credentials (signing key and share)
- Stable infrastructure with high uptime
- Open consensus ports
- Fee recipient address
- Network validation
- Earning block rewards
- Supporting network security
Development Mode
Run a local development network:- Instant block production
- Pre-funded dev accounts
- All hardforks active
- No P2P networking
- Smart contract development
- Integration testing
- Rapid prototyping
Connecting to Networks
Mainnet (Presto)
Production network:- Chain ID:
4217 - Currency:
USD - RPC:
https://rpc.testnet.tempo.xyz - Explorer:
https://explore.tempo.xyz
Testnet (Moderato)
Primary testnet:- Chain ID:
42431 - Currency:
USD - RPC:
https://rpc.moderato.tempo.xyz - WebSocket:
wss://rpc.moderato.tempo.xyz - Explorer:
https://explore.tempo.xyz - Faucet: Available
Alternative Testnet (Andantino)
- Chain ID:
42429 - RPC:
wss://rpc.testnet.tempo.xyz
Testing Your Node
Check Node Health
Verify your node is running:Test RPC Endpoint
Make a basic RPC call:Check Peer Count
Get Chain ID
Test WebSocket Connection
Monitoring
Logs
View node logs:Metrics
Consensus metrics are exposed on the metrics endpoint:consensus_block_height: Current block heightconsensus_peer_count: Number of connected consensus peersconsensus_proposals_total: Proposals madeconsensus_view_number: Current consensus view
System Resources
Monitor resource usage:Health Checks
Create a simple health check script:health-check.sh
Running as a Service
Systemd Service
Create a systemd service for automatic startup:/etc/systemd/system/tempo.service
Docker Service
Run as a Docker container:Firewall Configuration
Required Ports
Open these ports in your firewall:| Port | Protocol | Purpose | Required For |
|---|---|---|---|
| 30303 | TCP/UDP | P2P execution layer | All nodes |
| 8000 | TCP | Consensus P2P | Validators |
| 8545 | TCP | HTTP RPC | Optional (if exposing RPC) |
| 8546 | TCP | WebSocket RPC | Optional (if exposing RPC) |
| 8001 | TCP | Consensus metrics | Optional (internal only) |
UFW Configuration
iptables Configuration
Stopping Your Node
Graceful Shutdown
Force Stop
Only if graceful shutdown fails:Troubleshooting
Node Won’t Start
Check logs for errors:- Port already in use
- Insufficient disk space
- Corrupted database
- Missing signing keys (validators)
No Peers
If your node has zero peers:Sync Stuck
If sync appears stuck:High Resource Usage
Next Steps
- Maintenance - Keep your node updated and healthy
- API Reference - Learn how to interact with your node’s RPC