Ensure that your system meets the prerequisites, such as having the necessary dependencies installed (like go
and git
). You can refer to the official documentation for detailed requirements.
fairyring
BinaryRemove any previous versions of fairyring
if applicable:
cd $HOME
rm -rf fairyring
Clone the repository:
git clone <https://github.com/Fairblock/fairyring.git>
cd fairyring
Checkout the latest stable version:
git checkout v0.5.0
Install the fairyringd
binary:
make install
Verify the installation:
fairyringd version
Initialize the node configuration:
fairyringd init [NODE_NAME] --chain-id fairyring-testnet-1
Create a wallet: Save the mnemonic safely, as it will be necessary to recover the wallet.
fairyringd keys add [validator_name]
Get the genesis file and peers:
wget <https://path/to/genesis.json>
Add peers and seeds to your configuration: Add the required peers and seeds provided in the network documentation.
nano ~/.fairyring/config/config.toml
Start your node and ensure it syncs with the network:
fairyringd start
Once your node is synced, ensure you have enough tokens:
fairyringd q bank balances [YOUR_ADDRESS]
Create the validator:
fairyringd tx staking create-validator \\\\
--amount 1000000000ufairy \\\\
--commission-max-change-rate "0.01" \\\\
--commission-max-rate "0.2" \\\\
--commission-rate "0.1" \\\\
--min-self-delegation "1" \\\\
--pubkey $(fairyringd tendermint show-validator) \\\\
--moniker "[NODE_MONIKER]" \\\\
--chain-id fairyring-testnet-1 \\\\
--from [validator_name]