Commands

A set of useful commonly used commands for node operators

Key Management

Add a new key

nibid keys add wallet_name

Recover an existing wallet

nibid keys add wallet_name --recover

List all keys

nibid keys list

Validator Management

Create a new validator

nibid tx staking create-validator \
--amount=1000000 \
--pubkey=$(nibid tendermint show-validator) \
--moniker="YOUR_MONIKER_NAME" \
--identity="YOUR_KEYBASE_ID" \
--details="YOUR_DETAILS" \
--website="YOUR_WEBSITE_URL"
--chain-id=nibiru-testnet-2 \
--commission-rate=0.05 \
--commission-max-rate=0.20 \
--commission-max-change-rate=0.01 \
--min-self-delegation=1 \
--from=wallet_name \
--gas-adjustment=1.4 \
--gas=auto \
--gas-prices=0.005unibi

Unjail a validator

Query Jail Reason

Token Management

Query wallet balance

Withdraw all rewards from validator, excluding commission

Withdraw all rewards and commission from validator

Delegate tokens to yourself

Governance

List all proposals

View a specific proposal

NOTE: Replace 1 with the desired proposal id

Vote on a proposal

NOTE: Replace "1" with the desired proposal id. Replace "yes" with one of the cli commands from the table below.

The valid vote options are:

CLI Command
Name
Description

yes

Yes

Vote to pass the proposal

no

No

Vote to not pass the proposal

abstain

Abstain

Vote to abstain from the proposal

nowithveto

No With Veto

Vote to fail the proposal and burn the deposit. Typically only used for spam/scam proposals

Config Changes

Maintenance and status

Get validator info

Get syncing info

Get live peers

NOTE: Replace the CUSTOM_PORT value as needed. 26657 is the default port, but can change based on the config.toml settings.

Reset chain data

Linux Service Management

Check daemon/cosmovisor logs

NOTE: Replace cosmovisor with the systemd service name if different

Last updated