Cheat Sheet
Wallet
Add New Wallet Key
gnokey add wallet
Recover existing key
gnokey add wallet --recover
Delete wallet
gnokey delete wallet
Query Wallet Balance
gnokey query -remote "https://rpc.test13.testnets.gno.land:443" auth/accounts/$ADDRESS
Check sync status
curl -s localhost:26657/status | jq
View validator key
gnoland secrets get validator_key
Faucet
https://test13.testnets.gno.land/faucet
Create Validator
gnokey maketx call \
--pkgpath gno.land/r/gnops/valopers \
--func Register \
--args "<moniker>" \
--args "<description>" \
--args "<cloud|on-prem|data-center>" \
--args "<your operator g1... address>" \
--args "<your gpub1... consensus pubkey>" \
--gas-fee 1000000ugnot --gas-wanted 50000000 \
--chainid test-13 \
--remote https://rpc.test13.testnets.gno.land \
--broadcast \
<your-key-name>
Update Description
gnokey maketx call \
--pkgpath gno.land/r/gnops/valopers \
--func UpdateDescription \
--args "<your operator g1... address>" \
--args "<description>" \
--gas-fee 1000000ugnot \
--gas-wanted 50000000 \
--chainid test-13 \
--remote https://rpc.test13.testnets.gno.land \
--broadcast \
<your-key-name>
Services Management
# Reload Service
sudo systemctl daemon-reload
# Enable Service
sudo systemctl enable gnoland
# Disable Service
sudo systemctl disable gnoland
# Start Service
sudo systemctl start gnoland
# Stop Service
sudo systemctl stop gnoland
# Restart Service
sudo systemctl restart gnoland
# Check Service Status
sudo systemctl status gnoland
# Check Service Logs
sudo journalctl -u gnoland -f --no-hostname -o cat
Backup Validator
Backup secrets folder
cp -r $HOME/gnoland-data/secrets $HOME/secrets-backup
zip -r $HOME/secrets-backup.zip $HOME/secrets-backup
Backup completed. Please download and store this file securely:
secrets-backup.zip
Remove node
sudo systemctl stop gnoland
sudo systemctl disable gnoland
sudo rm /etc/systemd/system/gnoland.service
sudo systemctl daemon-reload
sudo rm -rf $(which gnoland)
sudo rm -rf $(which gnokey)
rm -rf $HOME/gnoland-data
rm -rf $HOME/gno