This section provides a step-by-step guide for setting up and running a validator node on BitNet.
Prerequisites
Before you begin, review the Validator Overview and Validator Security Guidelines. Ensure your system is configured in UTC timezone to avoid consensus errors like LastResultsHash mismatches that may halt your node.
Step 1: Generate Your Validator Key
Your validator's consensus public key is required to register a validator on the BitNet network. To retrieve this key, run:
bitnetdtendermintshow-validator
Important: Do not use testnet keying backends for generating mainnet keys. This can expose your validator to critical security risks, including unauthorized access to signing keys via RPC endpoints.
Step 2: Create the Validator
To register your validator on the network, use the command below. Adjust values based on your validator’s intended settings: