xnodeer
  • HOME
  • TESTNET
    • Entangle
      • installation
      • Create Validator
      • Full Command
    • 0G
      • installation
      • create-validator
    • Selfchain
      • installation
      • Create Validator
      • Full Command
    • Taiko
Powered by GitBook
On this page
  1. TESTNET
  2. Selfchain

Full Command

Sync Info

selfchaind status 2>&1 | jq .SyncInfo

Node Info

selfchaind status 2>&1 | jq .ValidatorInfo

add wallet

selfchaind keys add wallet

Recover Wallet

selfchaind keys add wallet --recover

View all wallet

selfchaind keys list

Check Balances

selfchaind q bank balances $(entangled keys show wallet -a)

Create Validator

selfchaind tx staking create-validator
--amount "1000000000000000000aNGL"
--pubkey $(entangled tendermint show-validator)
--moniker "<moniker>"
--identity "KEYBASE_ID"
--details "YOUR DETAILS"
--website "YOUR WEBSITE"
--chain-id entangle_33133-1
--commission-rate "0.05"
--commission-max-rate "0.20"
--commission-max-change-rate "0.01"
--min-self-delegation "1"
--gas-prices "10aNGL"
--gas "500000"
--gas-adjustment "1.5"
--from wallet
-y

Validator Edit

selfchaind tx staking edit-validator
--new-moniker="MONIKER"
--identity="YOUR_KEYBASE_ID"
--details="YOUR_DETAILS"
--website="YOUR_WEBSITE_URL" --chain-id entangle_33133-1
--commission-rate=0.05
--gas-prices="10aNGL"
--gas="auto"
--gas-adjustment="1.5"
--from wallet
-y

Remove Node

cd $HOME 
sudo systemctl stop selfchaind
sudo systemctl disable selfchaind
sudo rm /etc/systemd/system/selfchaind.service
sudo systemctl daemon-reload
rm -f $(which selfchaind)
rm -rf $HOME/.selfchaind
rm -rf $HOME/selfchain-core

Last updated 1 year ago