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.
c5.2xlarge or better
e2-standard-8 or better
F8s_v2 or better
If you have questions or require assistance at any time please notify one of the SX Admins on our Discord's #validators channel.
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:
- 1.On your cloud platform of preference, create a compute instance according to theRequirements section above and SSH into your instance.
- 2.Install git:
sudo apt update
sudo apt install git
Copy + Paste the line below in your home directory to initialize your validator account as part of the network:
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.
Once completed, send the fellow validators a message in #validators with your public address and Node ID.
DO NOT share your private key with anyone and keep it in a safe place. Ensure you back this up as well
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.
Visit our maintenance page for links and technical how-tos that you'll find helpful to run and maintain a successful validator.