Monkey Labs Services
  • Services Mainnet
    • Mantra
  • Services Testnet
    • Fiamma
      • 🌪️Installation
      • Upgrade
      • Snapshot
      • Useful commands
    • Mantra
      • Installation
      • Upgrade
      • Snapshot
      • State sync
      • Useful commands
      • Peers -> Seeds -> Addrbook
    • Nillion
      • Installation
      • Upgrade
      • Snapshot
      • State sync
      • Peers -> Seeds -> Addrbook
      • Useful commands
    • Prysm
      • Installation
      • Upgrade
      • Snapshot
      • State sync
      • Peers -> Seeds -> Addrbook
      • Useful commands
    • Pryzm
      • Installation
      • Upgrade
      • Snapshot
      • State sync
      • Useful commands
    • Titan Network
      • Installation
      • Upgrade
      • Snapshot
      • State sync
      • Peers -> Seeds -> Addrbook
      • Useful commands
    • Zenrock
      • Installation
      • Upgrade
      • Snapshot
      • State sync
      • Peers -> Seeds -> Addrbook
      • Useful commands
    • Xrpd
      • Installation
      • Upgrade
      • Snapshot
      • State sync
      • Peers -> Seeds -> Addrbook
      • Useful commands
Powered by GitBook
On this page
  • Service operations ⚙️
  • Key management
  • Tokens
  • Validator operations
  • Governance
  1. Services Testnet
  2. Pryzm

Useful commands

Service operations ⚙️

Check logs

sudo journalctl -u pryzmd -f

Start service

sudo systemctl start pryzmd

Stop service

sudo systemctl stop pryzmd

Restart service

sudo systemctl restart pryzmd

Check service status

sudo systemctl status pryzmd

Reload services

sudo systemctl daemon-reload

Enable Service

sudo systemctl enable pryzmd

Disable Service

sudo systemctl disable pryzmd

Node info

pryzmd status 2>&1 | jq

Your node peer

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

Key management

Add New Wallet

pryzmd keys add $WALLET

Restore executing wallet

pryzmd keys add $WALLET --recover

List All Wallets

pryzmd keys list

Delete wallet

pryzmd keys delete $WALLET

Check Balance

pryzmd q bank balances $WALLET_ADDRESS 

Export Key (save to wallet.backup)

pryzmd keys export $WALLET

View EVM Prived Key

pryzmd keys unsafe-export-eth-key $WALLET

Import Key (restore from wallet.backup)

pryzmd keys import $WALLET wallet.backup

Tokens

To valoper addressTo wallet addressAmount, upryzm

Withdraw all rewards

pryzmd tx distribution withdraw-all-rewards --from $WALLET --chain-id indigo-1 --fees 3000upryzm 

Withdraw rewards and commission from your validator

pryzmd tx distribution withdraw-rewards $VALOPER_ADDRESS --from $WALLET --commission --chain-id indigo-1 --fees 3000upryzm -y 

Check your balance

pryzmd query bank balances $WALLET_ADDRESS

Delegate to Yourself

pryzmd tx staking delegate $(pryzmd keys show $WALLET --bech val -a) 1000000upryzm --from $WALLET --chain-id indigo-1 --fees 3000upryzm -y 

Delegate

pryzmd tx staking delegate <TO_VALOPER_ADDRESS> 1000000upryzm --from $WALLET --chain-id indigo-1 --fees 3000upryzm -y 	

Redelegate Stake to Another Validator

pryzmd tx staking redelegate $VALOPER_ADDRESS <TO_VALOPER_ADDRESS> 1000000upryzm --from $WALLET --chain-id indigo-1 --fees 3000upryzm -y 

Unbond

pryzmd tx staking unbond $(pryzmd keys show $WALLET --bech val -a) 1000000upryzm --from $WALLET --chain-id indigo-1 --fees 3000upryzm -y 

Transfer Funds

pryzmd tx bank send $WALLET_ADDRESS <TO_WALLET_ADDRESS> 1000000upryzm --fees 3000upryzm -y 

Validator operations

MonikerIdentityDetailsAmount, upryzmCommission rateCommission max rateCommission max change rate

Create New Validator

pryzmd tx staking create-validator \
--amount 1000000upryzm \
--from $WALLET \
--commission-rate 0.1 \
--commission-max-rate 0.2 \
--commission-max-change-rate 0.01 \
--min-self-delegation 1 \
--pubkey $(pryzmd tendermint show-validator) \
--moniker "$MONIKER" \
--identity "" \
--details "I love blockchain ❤️" \
--chain-id indigo-1 \
--fees 3000upryzm \
-y 

Edit Existing Validator

pryzmd tx staking edit-validator \
--commission-rate 0.1 \
--new-moniker "$MONIKER" \
--identity "" \
--details "I love blockchain ❤️" \
--from $WALLET \
--chain-id indigo-1 \
--fees 3000upryzm \
-y 

Validator info

pryzmd status 2>&1 | jq

Validator Details

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

Jailing info

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

Slashing parameters

pryzmd q slashing params 

Unjail validator

pryzmd tx slashing unjail --from $WALLET --chain-id indigo-1 --fees 3000upryzm -y 

Active Validators List

pryzmd 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

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

Signing info

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

Governance

TitleDescriptionDeposit, upryzm

Create New Text Proposal

pryzmd  tx gov submit-proposal \
--title "" \
--description "" \
--deposit 1000000upryzm \
--type Text \
--from $WALLET \
--fees 3000upryzm \
-y 

Proposals List

pryzmd query gov proposals 

Proposal IDProposal optionYesNoNo with vetoAbstain

View proposal

pryzmd query gov proposal 1 

Vote

pryzmd tx gov vote 1 yes --from $WALLET --chain-id indigo-1  --fees 3000upryzm -y 
PreviousState syncNextTitan Network

Last updated 5 months ago