This document covers the complete lifecycle of a validator node, from initial setup through ongoing operations and maintenance. Understanding these concepts is crucial for maintaining a reliable and secure validator operation.Documentation Index
Fetch the complete documentation index at: https://seilabs.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Understanding Validator Responsibilities
A validator in the Sei network serves several critical functions. As a validator, you are responsible for:- Participating in consensus by proposing and validating blocks
- Maintaining high uptime and performance to avoid slashing
- Managing delegator relationships and maintaining transparent operations
- Participating in governance and network upgrades
Initial Setup
Initialize node
Before key management and registration, initialize your node with validator mode so that RPC and P2P bind to localhost (recommended for validator security):0.0.0.0). For validator (and seed) nodes, use --mode validator or --mode seed so that RPC and P2P listen on localhost only. Genesis is written automatically for known networks; no separate download is required.
Key Management
The security of your validator begins with proper key management. Your validator requires several distinct keys:priv_validator_key.json, is particularly critical as it’s used to sign blocks and could result in slashing if compromised or mishandled.
Hardware Security Module (HSM) Integration
For production validators, using an HSM is strongly recommended to protect your consensus key. Here’s how to configure an HSM with your validator:HSM Configuration Steps
HSM Configuration Steps
Validator Registration
Before registering your validator, ensure your node is fully synced with the network. The creation of a validator is a crucial step that requires careful consideration of commission parameters:commission-rate: Your initial commission rate, which should be competitive while ensuring operational sustainabilitycommission-max-rate: An upper limit that can never be exceeded, setting a permanent cap on your commissioncommission-max-change-rate: Maximum daily commission change, limiting how quickly you can adjust rates
Monitoring and Alerting
Please refer to the Advanced Operations section for details around monitoring + alerting for your validator, price feeder and other nodes.Security Practices
Network Security
Validators may choose to implement a sentry node architecture to protect the block signing node (the validator). This setup helps prevent DDoS attacks on your validator node by creating a layer of defensive proxies:Key Management Practices
Implement secure key backup procedures. Remember to choose the storage media carefully! Mechanical / flash based storage can fail unexpectedly, and cloud storage should never be used. By default, the wallet key files are stored in your/.sei directory root, and the signer/consensus key in /.sei/config. Not only the priv_validator_key.json, but the wallet .info and .address file should also be saved.
Example script to encrypt backups of key files:
Key Backup Script
Key Backup Script
Maintenance Procedures
Planned Maintenance
When performing planned maintenance, to minimize potential impact:- Notify delegators (recommended at least 24h in advance)
- Shared development team/validators comms channels
- Social media channels
- Validator website
Emergency Procedures
Create and maintain an emergency response plan for various scenarios:Consult with your fellow validators or a member of the Sei Labs or Foundation team directly for advice
Governance Participation
As a validator, active participation in governance is required. Governance is the primary tool with which adjustments to various chain parameters are made. Another critical role for validators is to review, and ultimately approve or reject proposed software upgrades to the network. Governance proposals may be submitted by anyone willing to provide the mandatory (refundable) deposit, and can be voted on by any network user. Only votes by accounts delegating $SEI at the end of the voting period for a given proposal will be given weight. Proposals currently on chain can be queried at any given time:Recovery Procedures
Critical Warning: Double-Signing Prevention
Double-signing is a severe violation that results in permanent validator tombstoning (irreversible jailing).
- DO NOT start another validator with the same keys
- Either recover the original machine or properly migrate keys with absolute certainty the original is offline
- If unsure about the state of your original validator, seek support before proceeding
- Diagnose why the original validator is offline
- If the original validator cannot be recovered, verify it is completely offline and powered down
- Only then proceed with key migration to a new machine