Running a Validator
Last updated
Last updated
Validators on the SPHX Testnet are responsible for committing new blocks through an automated voting process. Running a validator requires technical skills and a deep understanding of network security, as validator nodes must maintain high availability and be resistant to DDoS attacks.
This guide will walk you through the process of setting up and running a validator on the SPHX Testnet.
Join the SPHX Testnet: Ensure you have completed the steps to join the testnet and your full node is fully synchronized to the latest block.
Set Up Your Node: If you haven't already, initialize and sync a full node on SPHX Testnet. Refer to the [] for detailed instructions.
Secure Your Node: Consider implementing to protect your validator against DDoS attacks.
Install Validator Software: Ensure you have the necessary binaries installed for the SPHX Testnet (e.g., sphxd
for SPHX).
To create a validator, you first need to add a wallet to your keyring. You can either import an existing wallet using a seed phrase or create a new one.
Write down the mnemonic securely, as it will be required to recover your wallet.
Verify that your wallet was saved in your keyring:
Make sure you have some test tokens to fund your validator creation. You can use the SPHX faucet:
To create a validator, ensure your full node is synced, and you have a small balance of test tokens in your wallet. Obtain your validator public key:
Now, use the following command to create your validator:
--from
: The key name of your wallet.
--amount
: The amount you are staking.
--pubkey
: The validator public key generated earlier.
--moniker
: A human-readable name for your validator.
--commission-rate
: The fee you charge delegators.
--commission-max-rate
: The maximum fee you can charge.
--commission-max-change-rate
: The max daily change of your commission rate.
--min-self-delegation
: The minimum amount of tokens you are required to stake.
Once your validator is live, you can edit your validator’s description:
View Validator Info:
Track Signing Information:
Check Validator Status: To verify your validator is part of the active set:
If your validator gets jailed (usually due to downtime), you can unjail it:
If you encounter crashes due to "too many open files":
If you're using systemd, modify your service file:
To gracefully halt your validator at a specific block height (useful for upgrades):
Security: If you plan to run a validator on the mainnet, prioritize node security and ensure high availability with practices like setting up Sentry nodes.
Slashing Risks: Validators can be slashed for downtime or double-signing. Monitor your validator carefully and react to downtime quickly.
By following these steps, you should be able to run a validator on the SPHX Testnet. If you run into issues, feel free to consult the community or documentation for troubleshooting.
Join the SPHX Testnet community and request tokens via the faucet channel or use the faucet URL: [].
The --identity
can be used with systems like to provide an avatar or more trusted identity verification.