Useful commands
Keys
Add new key
bonus-blockd keys add <key_name>Recover keys from seed
bonus-blockd keys add <key_name> --recoverShow all keys
bonus-blockd keys listDelete key
bonus-blockd keys delete <key_name>Node configuration
Set custom port
port 56 was taken as an example, you can use numbers from 1 to 64 to set custom node port
BBLOCK_PORT=56sed -i.bak -e "s%^proxy_app = \"tcp://127.0.0.1:26658\"%proxy_app = \"tcp://127.0.0.1:${BBLOCK_PORT}658\"%; s%^laddr = \"tcp://127.0.0.1:26657\"%laddr = \"tcp://127.0.0.1:${BBLOCK_PORT}657\"%; s%^pprof_laddr = \"localhost:6060\"%pprof_laddr = \"localhost:${BBLOCK_PORT}060\"%; s%^laddr = \"tcp://0.0.0.0:26656\"%laddr = \"tcp://0.0.0.0:${BBLOCK_PORT}656\"%; s%^prometheus_listen_addr = \":26660\"%prometheus_listen_addr = \":${BBLOCK_PORT}660\"%" $HOME/.bonusblock/config/config.toml
sed -i.bak -e "s%^address = \"tcp://0.0.0.0:1317\"%address = \"tcp://0.0.0.0:${BBLOCK_PORT}317\"%; s%^address = \":8080\"%address = \":${BBLOCK_PORT}080\"%; s%^address = \"0.0.0.0:9090\"%address = \"0.0.0.0:${BBLOCK_PORT}090\"%; s%^address = \"0.0.0.0:9091\"%address = \"0.0.0.0:${BBLOCK_PORT}091\"%; s%^address = \"0.0.0.0:8545\"%address = \"0.0.0.0:${BBLOCK_PORT}545\"%; s%^ws-address = \"0.0.0.0:8546\"%ws-address = \"0.0.0.0:${BBLOCK_PORT}546\"%" $HOME/.bonusblock/config/app.tomlConfig pruning
Disable indexing
Set minimum gas prices
Validator configuration
Create validator
Edit validator
View validator info
Unjail validator
Signing info
Token operations
Send tokens
Delegate token to your validator
Delegate token to another validator
Redelegate tokens to another validator
Unbond tokens from staking
Withdraw all rewards from staking
Governance
Vote "YES"
Vote "NO"
Abstain from voting
General commands
Check node status
Check service status
Check logs
Restart service
Stop service
Start service
Disable service
Enable service
Reload service after changes
Last updated