Game Pre Testnet is the final testnet before mainnet launch for genesis validators. The main purpose of this testnet is to simulate mainnet launch process with the orchestration of validators. Validators are required to check their address is correct and submit gentx in a right way.
This testnet is mainly for Neuron Testnet Winners. Check your reward here
Genesis Validators Application Period
Until February 12, 2022 11:00 GMT
Genesis Launch
February 14, 2022 11:00 GMT
Check here about genesis params for mainnet.
detail
- Install nibiru
git clone https://github.com/cosmos-gaminghub/nibiru.git
cd nibiru && git checkout -b v1.0-rc1 tags/v1.0-rc1
make install
Make sure to checkout to v1.0-rc1
tag.
- Initialize the nibiru directories and create the local file with the correct chain-id
nibirud init <moniker> --chain-id=game-pre
- Use the same key you registered in the neuron testnet
nibirud keys add <your key name> --recover
If you have lost your private key and want to change the reward address, please contact us on discord with the info below
- validator name
- old address
- new address
- Add the account to your local genesis file with a given amount. Check the amount of GAME in your address here.
nibirud add-genesis-account $(nibirud keys show <your key name> -a) <your initial bonding amount>ugame
- Create the gentx Commission rate should NOT be less than 5% for the network decentralization. You can not bond more than you have.
nibirud gentx <your key name> <your initial bond amount>ugame --commission-rate=0.1 --commission-max-rate=1 --commission-max-change-rate=0.1 --pubkey $(nibirud tendermint show-validator) --chain-id=game-pre
- Create Pull Request to this repository (game-pre/gentxs) with the file
<your validator moniker>.json
.
- Get genesis.json.gz
curl -o $HOME/.nibiru/config/genesis.json.gz https://raw.githubusercontent.com/cosmos-gaminghub/testnets/master/game-pre/genesis.json.gz
- Check genesis.json.gz is correct
shasum -a 256 ~/.nibiru/config/genesis.json.gz
57072db21451fcb6be0bf626ad96fb2ab0ac34b1173b1322318567bcef3d47e9 /root/.nibiru/config/genesis.json.gz
- unzip genesis.json.gz
gzip -d ~/.nibiru/config/genesis.json.gz
- Check your validator state is initial
correct ex:
cat .nibiru/data/priv_validator_state.json
{
"height": "0",
"round": 0,
"step": 0
}
If you have already started, then should reset the state with the command nibirud unsafe-reset-all
. The command delete all blockchain data but keep genesis.json and node configs.
- Add seed node info
sed -i -e "s%^seeds *=.*%seeds = \"[email protected]:26656,[email protected]:26656\"%; " $HOME/.nibiru/config/config.toml
- Create a service file
printf "[Unit]
Description=Game Node
After=network-online.target
[Service]
User=$USER
ExecStart=`which nibirud` start
Restart=on-failure
RestartSec=3
LimitNOFILE=65535
[Install]
WantedBy=multi-user.target" > /etc/systemd/system/nibirud.service
- Run the service file
sudo systemctl daemon-reload
sudo systemctl enable nibirud
sudo systemctl restart nibirud
- View a log of the node
sudo journalctl -fn 100 -u nibirud
If you run before the genesis time, you can see the message Genesis time is in the future. Sleeping until then...
.
- Check sign status
curl -s localhost:26657/dump_consensus_state | jq '.result.round_state.votes[0]'
That command shows all the info about validator sign status.
You can find your validator pubkey in priv_validator_state.json
. If you've already signed, you can find your pubkey in the sign status.
Attention
The team has prepared NO validator node so that there is a potential launch delay due to lack of voting power. We will wait +2 hours from planned launch time but if voting power is not sufficiently gathered, we will publish new genesis.json with team validators and launch next day.