SX Network
Search…
πŸ’Ύ
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.

Requirements

  • 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.

Cloud-specific recommendations

Below we list some recommendations of instance types on popular cloud providers to ensure you meet the above requirements.
Cloud provider
Type
AWS
c5.2xlarge or better
Google Cloud
e2-standard-8 or better
Microsoft Azure
F8s_v2 or better ​

Step by step guide

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. Configure cloud instance

  1. 1.
    On your cloud platform of preference, create a compute instance according to the​Requirements​ section above and SSH into your instance.
  2. 2.
    Install git:
1
sudo apt update
2
sudo apt install git
Copied!

2. Account generation

Copy + Paste the line below in your home directory to initialize your validator account as part of the network:
1
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
Copied!
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

3. Running your validator

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:
1
cd ~/validator && chmod +x start_validator.sh && ./start_validator.sh "$(curl http://checkip.amazonaws.com)"
Copied!

Viewing log output

At any point after starting up your validator, you can view its log output by entering the following line:
1
sudo journalctl -u sx-node -f
Copied!
Once your address has been successfully added to the validator set, you should see recurring AcceptState entries similar to what can be seen below:
polygon.consensus.ibft.acceptState: Accept state: sequence=4509667
​
​