Become a Validator
Help contribute to SX Chain by running your own validator node. In addition to your contribution to our network, you'll gain validator rewards paid out in SX.
- 200,000 SX owned in an account.
- CPU: Equivalent of 8 vCPUs
- RAM: 16 GB
- Storage: 200 GB
- Network: 1 gigabit up/down or better
- OS: Ubuntu 18.04/20.04 or Debian 10/11
- Firewall rules configured to allow public access (inbound and outbound) on port 10001 (libp2p). This is the port used to communicate with other nodes in the network.
Below we list some recommendations of instance types on popular cloud providers to ensure you meet the above requirements.
Our team has tried to ensure that the set up process to run your own validator is as simple as possible. Please follow the steps below to get started:
- 2.Install git:
sudo apt update
sudo apt install git
git clone https://github.com/sx-network/validator.git && cd validator && chmod +x init_validator.sh && ./init_validator.sh "$(curl http://checkip.amazonaws.com)" main
This script will create a new key-pair for you. Safely store the private key and address and proceed to fund your new account with 200,000 SX.
At this point, active validator operators will "vote in" your address as a new validator to the set - when this process has been completed and an SX admin in the #validators channel says you are ready to run your node, copy + paste the line below to start to start your validator:
cd ~/validator && chmod +x start_validator.sh && ./start_validator.sh "$(curl http://checkip.amazonaws.com)"
At any point after starting up your validator, you can view its log output by entering the following line:
sudo journalctl -u sx-node -f
Once your address has been successfully added to the validator set, you should see recurring
AcceptStateentries similar to what can be seen below:
polygon.consensus.ibft.acceptState: Accept state: sequence=4509667
Validator operators have the responsibility of ensuring their nodes perform well, have a high uptime, and are running the latest version of our blockchain software.