Discord: https://discord.gg/union-build
X: https://twitter.com/union_build/
Minimum hardware requirement
4 Cores, 8G Ram, 200G SSD, Ubuntu 22.04
1. Auto Install
sudo apt install curl && source <(curl -s https://nodesync.top/union_auto)
Form now: https://7xv16fh3twz.typeform.com/to/eYTMvi11
You need: Wallet address and Validator address
2. Cheat Sheet
Wallet
Add new key
uniond keys add wallet
Recover existing key
uniond keys add wallet --recover
Query Wallet Balance
uniond q bank balances $(uniond keys show wallet -a)
Validator Address
uniond keys show wallet --bech val -a
Validator Management
Create Validator
Change your info:
--moniker "MONIKER"
--identity="YOUR_KEYBASE_ID"
--details="YOUR_DETAILS"
--website="YOUR_WEBSITE_URL" \
uniond tx staking create-validator \
--amount 1000000muno \
--pubkey $(uniond tendermint show-validator) \
--moniker "MONIKER" \
--identity "YOUR_KEYBASE_ID" \
--details "YOUR_DETAILS" \
--website "YOUR_WEBSITE_URL" \
--chain-id union-testnet-4 \
--commission-rate 0.05 \
--commission-max-rate 0.20 \
--commission-max-change-rate 0.01 \
--min-self-delegation 1 \
--from wallet \
--gas-adjustment 1.4 \
--gas auto \
--gas-prices 0muno \
-y
Edit Validator
uniond tx staking edit-validator \
--new-moniker "YOUR_MONIKER_NAME" \
--identity "YOUR_KEYBASE_ID" \
--details "YOUR_DETAILS" \
--website "YOUR_WEBSITE_URL" \
--chain-id union-testnet-4 \
--commission-rate 0.05 \
--from wallet \
--gas-adjustment 1.4 \
--gas auto \
--gas-prices 0muno \
-y
Unjail Validator
uniond tx slashing unjail --from wallet --chain-id union-testnet-4 --gas-adjustment 1.4 --gas auto --gas-prices 0muno -y
Withdraw rewards from all validators
uniond tx distribution withdraw-all-rewards --from wallet --chain-id union-testnet-4 --gas-adjustment 1.4 --gas auto --gas-prices 0muno -y
Withdraw comission and rewards from your validator
uniond tx distribution withdraw-rewards $(uniond keys show wallet --bech val -a) --commission --from wallet --chain-id union-testnet-4 --gas-adjustment 1.4 --gas auto --gas-prices 0muno -y
Delegate to your validator
uniond tx staking delegate $(uniond keys show wallet --bech val -a) 1000000muno --from wallet --chain-id union-testnet-4 --gas-adjustment 1.4 --gas auto --gas-prices 0muno -y
Get sync status
uniond status 2>&1 | jq .SyncInfo.catching_up
Services Management
# Reload Service
sudo systemctl daemon-reload
# Enable Service
sudo systemctl enable uniond
# Disable Service
sudo systemctl disable uniond
# Start Service
sudo systemctl start uniond
# Stop Service
sudo systemctl stop uniond
# Restart Service
sudo systemctl restart uniond
# Check Service Status
sudo systemctl status uniond
# Check Service Logs
sudo journalctl -u uniond -f --no-hostname -o cat
3. Backup Validator
Important
cat $HOME/.union/config/priv_validator_key.json
Save all them (file json)
4. Delete Node
cd $HOME
sudo systemctl stop uniond.service
sudo systemctl disable uniond.service
sudo rm /etc/systemd/system/uniond.service
sudo systemctl daemon-reload
rm -f $(which uniond)
rm -rf $HOME/.union
Last updated