Run a Validator Node
A validator node participates in block production and consensus on the Shardeum testnet. It is used to test validator operations, node performance, and network behavior in a live environment.
Validator requirements and staking behavior on testnet may differ from mainnet.
Testnet configurations, chain IDs, staking requirements, and token availability may change. Always refer to the latest repository or official announcements.
1. System Requirements
- Operating System: Ubuntu 22.04 LTS
- CPU: 4 cores (8 threads recommended)
- RAM: 16GB
- Storage: 1TB NVMe SSD
- Network: 100 Mbps dedicated
- Dependencies: git, jq, curl, make, build-essential, pkg-config
- Go: Version 1.25+
Install dependencies:
2. Install Shardeum Node Binary
Verify:
3. Set Environment Variables
4. Initialize the Node
Ensure your keys and mnemonic are stored securely. Loss of keys may result in loss of validator access.
Note: Chain ID: Refer to the latest testnet configuration in the repository
5. Copy Genesis File
Verify:
6. Start and Sync the Node
Monitor:
Ensure your node is connected to peers. Without peers, the node will not sync.
Wait until fully synced before proceeding.
Note: Initial sync may take time depending on hardware and network conditions.
You can verify sync status using:
7. Create Validator Key
Only perform this step after the node is fully synced.
Or recover:
Retrieve your validator address:
Store your mnemonic phrase securely. It is required for recovery.
8. Fund Your Validator (Testnet)
Testnet SHM tokens can be obtained via faucets
Use official testnet faucets or community distribution channels to obtain testnet SHM tokens.
Verify balance:
9. Create Your Validator
Get consensus key:
Create validator.json:
Adjust the stake amount based on testnet requirements and available balance.
Create validator:
10. Verify Validator Status
Look for:
- status: BONDED (or equivalent)
- voting power > 0
11. Important Notes
- EVM Chain ID:
8119 - Network: Testnet (subject to resets)
- Tokens: No real value
- Validator set may reset between testnet phases
- Slashing/penalties may not fully apply
Validator Setup Complete
Your testnet validator node is now running. You can use it for:
- Validator testing and operations
- Performance benchmarking
- Upgrade and maintenance simulations
- Network participation experiments