logo
ANDROMEDA

Service operations

Check logs

sudo journalctl -u sedad -f

Start service

sudo systemctl start sedad

Stop service

sudo systemctl stop sedad

Restart service

sudo systemctl restart sedad

Sync info

sedad status 2>&1 | jq -r '.SyncInfo // .sync_info'

Check service status

sudo systemctl status sedad

Reload services

sudo systemctl daemon-reload

Enable Service

sudo systemctl enable sedad

Disable Service

sudo systemctl disable sedad

Node info

sedad status 2>&1 | jq -r '.NodeInfo // .node_info'

Your node peer

echo $(sedad tendermint show-node-id)'@'$(wget -qO- eth0.me)':'$(cat $HOME/.sedad/config/config.toml | sed -n '/Address to listen for incoming connection/{n;p;}' | sed 's/.*://; s/".*//')

Key management

Add New Wallet

sedad keys add $WALLET

Restore executing wallet

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)

Export Key (save to wallet.backup)

sedad keys export $WALLET

View EVM Prived Key

sedad keys unsafe-export-eth-key $WALLET

Import Key (restore from wallet.backup)

sedad keys import $WALLET wallet.backup

Tokens

To valoper address
To wallet address
Amount, aseda

Withdraw all rewards

sedad tx distribution withdraw-all-rewards --from $WALLET --chain-id seda-1 --gas auto --fees 0.025aseda

Withdraw rewards and commission from your validator

sedad tx distribution withdraw-rewards $VALOPER_ADDRESS --from $WALLET --commission --chain-id seda-1 --gas auto --fees 0.025aseda -y

Check your balance

sedad q bank balances $(sedad keys show $WALLET -a)

Delegate to Yourself

sedad tx staking delegate $(sedad keys show $WALLET --bech val -a) 1000000aseda --from $WALLET --chain-id seda-1 --gas auto --fees 0.025aseda -y

Delegate

sedad tx staking delegate <TO_VALOPER_ADDRESS> 1000000aseda --from $WALLET --chain-id seda-1 --gas auto --fees 0.025aseda -y

Redelegate Stake to Another Validator

sedad tx staking redelegate $VALOPER_ADDRESS <TO_VALOPER_ADDRESS> 1000000aseda --from $WALLET --chain-id seda-1 --gas auto --fees 0.025aseda -y

Unbond

sedad tx staking unbond $(sedad keys show $WALLET --bech val -a) 1000000aseda --from $WALLET --chain-id seda-1 --gas auto --fees 0.025aseda -y

Transfer Funds

sedad tx bank send $WALLET_ADDRESS <TO_WALLET_ADDRESS> 1000000aseda --gas auto --fees 0.025aseda -y

Validator operations

Moniker
Identity
Details
Amount, aseda
Commission rate
Commission max rate
Commission max change rate
Website

Create New Validator

sedad tx staking create-validator \
--amount 1000000aseda \
--pubkey $(sedad tendermint show-validator) \
--chain-id seda-1 \
--moniker "$MONIKER" \
--identity "" \
--details "A heartfelt shoutout to Andromeda for their amazing support! Your contributions shine brightly, guiding us forward. We are deeply grateful. And to the world of blockchain, our love knows no bounds. ❤️ Thank you, Andromeda, for being such a vital part of our journey." \
--website "https://andromedanode.co/" \
--from $WALLET \
--commission-rate 0.1 \
--commission-max-rate 0.2 \
--commission-max-change-rate 0.01 \
--min-self-delegation 1 \
--gas auto --fees 0.025aseda \
-y

Edit Existing Validator

sedad tx staking edit-validator \
--chain-id seda-1 \
--new-moniker "$MONIKER" \
--identity "" \
--details "A heartfelt shoutout to Andromeda for their amazing support! Your contributions shine brightly, guiding us forward. We are deeply grateful. And to the world of blockchain, our love knows no bounds. ❤️ Thank you, Andromeda, for being such a vital part of our journey." \
--website "https://andromedanode.co/" \
--from $WALLET \
--commission-rate 0.1 \
--gas auto --fees 0.025aseda \
-y

Validator info

sedad status 2>&1 | jq -r '.ValidatorInfo // .validator_info'

Validator Details

sedad q staking validator $(sedad keys show $WALLET --bech val -a)

Jailing info

sedad q slashing signing-info $(sedad tendermint show-validator)

Slashing parameters

sedad q slashing params

Unjail validator

sedad tx slashing unjail --from $WALLET --chain-id seda-1 --gas auto --fees 0.025aseda -y

Active Validators List

sedad q staking validators -oj --limit=2000 | jq '.validators[] | select(.status=="BOND_STATUS_BONDED")' | jq -r '(.tokens|tonumber/pow(10; 6)|floor|tostring) + " 	 " + .description.moniker' | sort -gr | nl

Check Validator key

[[ $(sedad q staking validator $VALOPER_ADDRESS -oj | jq -r .consensus_pubkey.key) = $(sedad status | jq -r .ValidatorInfo.PubKey.value) ]] && echo -e "Your key status is ok" || echo -e "Your key status is error"

Signing info

sedad q slashing signing-info $(sedad tendermint show-validator)

Governance

Title
Description
Deposit, aseda

Create New Text Proposal

sedad  tx gov submit-proposal \
--title "" \
--description "" \
--deposit 1000000aseda \
--type Text \
--from $WALLET \
--gas auto --fees 0.025aseda \
-y 

Proposals List

sedad query gov proposals
Proposal ID
Proposal option

View proposal

sedad query gov proposal 1

Vote

sedad tx gov vote 1 yes --from $WALLET --chain-id seda-1  --gas auto --fees 0.025aseda -y