Running a Testnet
Make sure you have installed the fairyring
binary prior to following the instructions below.
Initialize the fairyring
node
- Use
fairyringd
to initialize your node (replace theNODE_NAME
with a name of your choosing):
fairyringd init NODE_NAME
- 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
- 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
- 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