Testnet

Service Command

Check logs


sudo journalctl -u prysmd -f

Api


sudo systemctl status prysmd -f

Node info


prysmd status 2>&1 | jq -f

Start service


sudo systemctl start prysmd

Reload services


sudo systemctl daemon-reload

Stop service


sudo systemctl stop prysmd

Enable Service


sudo systemctl enable prysmd

Restart service


sudo systemctl restart  prysmd

Disable Service


sudo systemctl disable prysmd

Your node peer


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


Key Management

Add New Wallet


prysmd keys add $WALLET

Restore wallet


prysmd keys add $WALLET --recover

List All Wallets


prysmd keys list

Delete wallet


prysmd keys delete $WALLET

Check Balance


prysmd q bank balances $WALLET_ADDRESS

Export Key (save to wallet.backup)


prysmd keys export $WALLET

View EVM Prived Key


prysmd keys unsafe-export-eth-key $WALLET

Import Key (restore from wallet.backup)


prysmd keys import $WALLET wallet.backup

Token Management

Fill Form To Update Code


Withdraw rewards and commission from your validator


Check your balance


Delegate to Yourself


Delegate


Edit Validator


Unbond Your Stake


Transfer Funds to Another Wallet


Validator Management



Create New Validator


prysmd tx staking create-validator \
--amount 1000000prysmd \
--from $WALLET \
--commission-rate 0.1 \
--commission-max-rate 0.2 \
--commission-max-change-rate 0.01 \
--min-self-delegation 1 \
--pubkey $($prysmd tendermint show-validator) \
--moniker "$MONIKER" \
--identity "$MyIdentity" \
--details " Let's aim for a bright future 🔮" \
--chain-id prysm-devnet-1 \
--gas auto --gas-adjustment 1.5 --fees 600prysmd \
-y

Edit Validator


prysmd tx staking create-validator \
--prysmd tx staking edit-validator \
--commission-rate 0.1 \
--new-moniker "$MONIKER" \
--identity "" \
--details " Let's aim for a bright future 🔮" \
--from $WALLET \
--chain-id prysm-devnet-1 \
--gas auto --gas-adjustment 1.5 --fees 600prysmd \
-y 

Validator info


prysmd status 2>&1 | jq

Validator Details


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

Jailing info


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

Slashing parameters


prysmd q slashing params

Unjail validator


prysmd tx slashing unjail --from $WALLET --chain-id prysm-devnet-1 --gas auto --gas-adjustment 1.5 --fees 600prysmd -y

Active Validators List


prysmd 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


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

Signing info


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