Joining the SSC Mainnet at Genesis
Fetching the Updated Genesis
Do not start these steps until you have confirmation from the Saga team that your genesis transaction PR has been processed successfully. This is going to be executed the day of the "Genesis Ceremony". Although, it is required to go through the chapter before, to make sure all the requirements are fulfilled.
Refer to our config page for general configuration info.
Clone the genesis file and add it to your
sscdconfig:
# fetch the genesis
wget -O genesis.json 'https://raw.githubusercontent.com/sagaxyz/mainnet/main/genesis/genesis.json'
# a178e6494d71d469a7e199dc4f222e4788956add1f9d0bba9afc23d75ed27b2c
sha256sum genesis.json
# copy it to your ssc home directory
mv genesis.json ~/.ssc/configIn the file
~/.ssc/config/config.tomlenable Prometheus to make possible collect metrics. Find theInstrumentation Configuration Optionssection in the very end of the file and setprometheus = trueusing the command below:sed -i 's/prometheus = false/prometheus = true/g' ~/.ssc/config/config.tomlIn the same
~/.ssc/config/config.tomlfile, make sure to update the list of persistent peers using the command below:sed -i 's/persistent_peers = ""/persistent_peers = "[email protected]:26656,[email protected]:26656,[email protected]:26656,[email protected]:26656,[email protected]:26656,[email protected]:24956,[email protected]:26656,[email protected]:26656,[email protected]:26656,[email protected]:26656,[email protected]:26656,[email protected]:26656,[email protected]:26656,[email protected]:36656,[email protected]:24956,[email protected]:26656,[email protected]:26656,[email protected]:26656"/g' ~/.ssc/config/config.toml
Once the steps above are executed successfully, you should be able to start the network by running this command:
Setting up the Daemon
It is recommended that you set up a daemon for SSC to ensure it continues running even after you exit your current session and that sscd starts on a system reboot.
To create a new service, follow the steps below:
Run this command to generate the systemd config file
Move the file in the right directory
Enable the
sscdservice to start on reboot
Start the
sscdservice
Ensure that the
sscdservice is running
Monitor logs as needed.
Can't join the network?
Check if you are using an internal IP address
Check your firewall rules
Try adding a list of persistent peers to your config.toml
Last updated