Wallet
Add New Wallet
sedad keys add wallet
Recover
sedad keys add wallet --recover
List All Wallets
sedad keys list
Delete wallet
sedad keys delete wallet
Check Balance
sedad q bank balances $(sedad keys show wallet -a)
Validator operations
Create New Validator
sedad tx staking create-validator \
--amount 1000000000000000000aseda \
--pubkey $(sedad tendermint show-validator) \
--moniker "YOUR_MONIKER_NAME" \
--identity "YOUR_KEYBASE_ID" \
--details "YOUR_DETAILS" \
--website "YOUR_WEBSITE_URL" \
--chain-id seda-1 \
--commission-rate 0.1 \
--commission-max-rate 0.20 \
--commission-max-change-rate 0.01 \
--min-self-delegation 1 \
--from wallet \
--fees 2000000000000000aseda \
-y
Edit Validator
sedad tx staking edit-validator \
--new-moniker "YOUR_MONIKER_NAME" \
--identity "YOUR_KEYBASE_ID" \
--details "YOUR_DETAILS" \
--website "YOUR_WEBSITE_URL" \
--chain-id seda-1 \
--commission-rate 0.05 \
--from wallet \
--fees 2000000000000000aseda \
-y
Check sync
sedad status 2>&1 | jq .SyncInfo.catching_up
Delegate to Yourself
sedad tx staking delegate $(sedad keys show wallet --bech val -a) 1000000aseda \
--from wallet \
--chain-id=seda-1 \
--gas-prices 10000000000aseda \
--gas 2000000 \
--node=https://seda-rpc.node39.top:443 \
-y
Withdraw rewards and commission
sedad tx distribution withdraw-rewards $(sedad keys show wallet --bech val -a) \
--commission \
--from wallet \
--chain-id=seda-1 \
--gas-prices 10000000000aseda \
--gas 2000000 \
-y
Unjail validator
--from wallet \
--chain-id=seda-1 \
--gas-prices 10000000000aseda \
--gas 2000000 \
-y
Unbond
sedad tx staking unbond $(sedad keys show wallet --bech val -a) 1000000aseda \
--from wallet \
--chain-id=seda-1 \
--gas-prices 10000000000aseda \
--gas 2000000 \
-y
Vote
sedad tx gov vote 1 yes \
--from wallet \
--chain-id seda-1 \
--gas-prices 10000000000aseda \
--gas 2000000 \
--node=https://seda-rpc.node39.top:443 \
-y
Services Management
# Reload Service
sudo systemctl daemon-reload
# Enable Service
sudo systemctl enable sedad
# Disable Service
sudo systemctl disable sedad
# Start Service
sudo systemctl start sedad
# Stop Service
sudo systemctl stop sedad
# Restart Service
sudo systemctl restart sedad
# Check Service Status
sudo systemctl status sedad
# Check Service Logs
sudo journalctl -u sedad -f --no-hostname -o cat
Snapshot
sudo systemctl stop sedad
cp $HOME/.sedad/data/priv_validator_state.json $HOME/.sedad/priv_validator_state.json.backup
rm -rf $HOME/.sedad/data $HOME/.sedad/wasmPath
curl https://files.nodesync.top/SEDA/snapshot_latest.tar.lz4 | lz4 -dc - | tar -xf - -C $HOME/.sedad
mv $HOME/.sedad/priv_validator_state.json.backup $HOME/.sedad/data/priv_validator_state.json
sudo systemctl restart sedad && sudo journalctl -u sedad -f
Backup Validator
cat $HOME/.sedad/config/priv_validator_key.json
Remove node
cd $HOME
sudo systemctl stop sedad
sudo systemctl disable sedad
sudo rm /etc/systemd/system/nibid.service
sudo systemctl daemon-reload
rm -f $(which sedad)
rm -rf $HOME/.sedad
rm -rf $HOME/sedad