Wallet
Add New Wallet
bzed keys add wallet
Recover
bzed keys add wallet --recover
List All Wallets
bzed keys list
Delete wallet
bzed keys delete wallet
Check Balance
bzed q bank balances $(bzed keys show wallet -a)
Create Validator
bzed tx staking create-validator \
--amount=1000000ubze \
--pubkey=$(bzed tendermint show-validator) \
--moniker="Your_Node_Name" \
--identity="" \
--details="" \
--website="" \
--chain-id="beezee-1" \
--commission-rate="0.10" \
--commission-max-rate="0.20" \
--commission-max-change-rate="0.01" \
--min-self-delegation="1" \
--gas=auto --gas-adjustment=1.5 --gas-prices=1ubze \
--from=wallet \
-y
Edit Validator
bzed tx staking edit-validator \
--new-moniker "YOUR_MONIKER_NAME" \
--identity "YOUR_KEYBASE_ID" \
--details "YOUR_DETAILS" \
--website "YOUR_WEBSITE_URL" \
--chain-id="beezee-1" \
--commission-rate="0.10" \
--commission-max-rate="0.20" \
--commission-max-change-rate="0.01" \
--min-self-delegation="1" \
--gas=auto --gas-adjustment=1.5 --gas-prices=1ubze \
--from=wallet \
-y
Check sync
bzed status 2>&1 | jq .SyncInfo.catching_up
Delegate to Yourself
bzed tx staking delegate $(bzed keys show wallet --bech val -a) 1000000ubze \
--from wallet \
--chain-id=beezee-1 \
--gas=auto --gas-adjustment=1.5 \
--gas-prices=1ubze \
-y
Withdraw rewards and commission
bzed tx distribution withdraw-rewards $(bzed keys show wallet --bech val -a) \
--commission \
--from wallet \
--chain-id=beezee-1 \
--gas=auto --gas-adjustment=1.5 \
--gas-prices=1ubze \
-y
Unjail validator
bzed tx slashing unjail \
--from wallet \
--chain-id=beezee-1 \
--gas=auto --gas-adjustment=1.5 \
--gas-prices=1ubze \
-y
Unbond
bzed tx staking unbond $(bzed keys show wallet --bech val -a) 1000000ubze \
--from wallet \
--chain-id=beezee-1 \
--gas=auto --gas-adjustment=1.5 \
--gas-prices=1ubze \
-y
Vote
bzed tx gov vote 1 yes \
--from wallet \
--chain-id beezee-1 \
--gas=auto --gas-adjustment=1.5 \
--gas-prices=1ubze \
-y
Services Management
# Reload Service
sudo systemctl daemon-reload
# Enable Service
sudo systemctl enable bzed
# Disable Service
sudo systemctl disable bzed
# Start Service
sudo systemctl start bzed
# Stop Service
sudo systemctl stop bzed
# Restart Service
sudo systemctl restart bzed
# Check Service Status
sudo systemctl status bzed
# Check Service Logs
sudo journalctl -u bzed -f --no-hostname -o cat
Snapshot
sudo systemctl stop bzed
cp $HOME/.bze/data/priv_validator_state.json $HOME/.bze/priv_validator_state.json.backup
bzed tendermint unsafe-reset-all --home $HOME/.bze --keep-addr-book
curl https://snapshots.nodesync.top/Mainnet/BeeZee/beezee-1-latest.tar.lz4 | lz4 -dc - | tar -xf - -C "$HOME/.bze"
mv $HOME/.bze/priv_validator_state.json.backup $HOME/.bze/data/priv_validator_state.json
sudo systemctl restart bzed && sudo journalctl -u bzed -fo cat
Backup Validator
cat $HOME/.bze/config/priv_validator_key.json
Remove node
cd $HOME
sudo systemctl stop bzed
sudo systemctl disable bzed
sudo rm /etc/systemd/system/bzed.service
sudo systemctl daemon-reload
rm -f $(which bzed)
rm -rf $HOME/.bze
rm -rf $HOME/bze