Skip to main content

Running a Testnet

Make sure you have installed the fairyring binary prior to following the instructions below.

Initialize the fairyring node

  1. Use fairyringd to initialize your node (replace the NODE_NAME with a name of your choosing):
fairyringd init NODE_NAME
  1. If you are unable to get the genesis file from the link above:
cp ~/fairyring/networks/testnets/fairyring-testnet-1/genesis.json ~/.fairyring/config/genesis.json
  1. Set peers in the $HOME/.fairyring/config/config.toml:
SEEDS=$(cat $HOME/fairyring/networks/testnets/fairyring-testnet-1/peers-node.txt)
echo $SEEDS
sed -i.bak -e "s/^persistent_peers *=.*/persistent_peers = \"$SEEDS\"/" $HOME/.fairyring/config/config.toml
  1. Start the node
fairyringd start

Next Steps

If you would like to become a validator in the testnet, please follow this guide.

If you run into any issues, please refer to the troubleshooting section