Skip to main content

Cheat Sheet

Wallet

Add New Wallet Key

nexaraild keys add wallet 

Recover existing key

nexaraild keys add wallet --recover 

List All Keys

nexaraild keys list 

Query Wallet Balance

nexaraild q bank balances $(nexaraild keys show wallet -a)

Check sync status

nexaraild status 2>&1 | jq .SyncInfo.catching_up

Create Validator

Change your info "your_info"

Edit Existing Validator

Delegate Token to your own validator

Withdraw All

Withdraw Rewards with Comission

Unjail validator

Vote

Services Management

# Reload Service
sudo systemctl daemon-reload

# Enable Service
sudo systemctl enable nexaraild

# Disable Service
sudo systemctl disable nexaraild

# Start Service
sudo systemctl start nexaraild

# Stop Service
sudo systemctl stop nexaraild

# Restart Service
sudo systemctl restart nexaraild

# Check Service Status
sudo systemctl status nexaraild

# Check Service Logs
sudo journalctl -u nexaraild -f --no-hostname -o cat

Backup Validator

cat $HOME/.nexarail/config/priv_validator_key.json

Remove node

cd $HOME && sudo systemctl stop nexaraild
sudo systemctl disable nexaraild
sudo rm /etc/systemd/system/nexaraild.service
sudo systemctl daemon-reload
rm -f $(which nexaraild)
rm -rf .nexarail
rm -rf nexarail