Node9X Service
  • 🍄MAINNET
    • đŸŸĸKopi Protocol
      • 💾Service & Snapshot
      • âš™ī¸Installation
      • â›“ī¸Upgrade (V11)
      • đŸĒĸCosmovisor
      • đŸ›°ī¸Command
  • 🚀Testnet
    • đŸ§ŦExplorer
    • đŸŸĸNative
      • âš™ī¸Installation
    • đŸŸĸXRPL EVM
      • 💾Service & Snapshot
      • âš™ī¸Installation
      • đŸ•šī¸Command
    • đŸŸĸPipe Network
      • Installation
      • Upgrade
    • đŸŸĸPell
      • 💾Service & Snapshot
      • âš™ī¸Installation
      • â›“ī¸Upgrade (v1.1.1)
      • đŸ•šī¸Command
    • đŸŸĸStructs
      • 💾Service & Snapshot
      • âš™ī¸Installation
      • đŸ•šī¸Command
    • đŸŸĸPrysm
      • đŸ›°ī¸Service & Snapshot
      • âš™ī¸Installation
      • 💾Command
    • đŸŸĸZenrock
      • 💾Service & Snapshot
      • âš™ī¸Installation
      • â›“ī¸Upgrade ( v6.3.3)
      • đŸ•šī¸Cosmovisor
      • đŸ›°ī¸Command
      • âš™ī¸Sidecar (âœ”ī¸Oracle)
        • 🔗Upgrade
    • đŸŸĸStory Protocol
      • 💾Service & Snapshot
      • âš™ī¸Installation (Odyssey)
      • â›“ī¸Upgrade (v0.13.1)
        • đŸĒĸUpgrade (v0.13.0)
      • â›“ī¸Cosmovisor
      • đŸ›°ī¸Command
    • đŸŸĸ0G Chain
      • Service & Snapshot
      • Installation
        • Cosmovisor
      • Commands
      • â˜‘ī¸0G Storage Node
        • Upgrade (v0.7.3)
      • â˜‘ī¸0G Storage KV
      • â˜‘ī¸0G DA Node
        • Update
      • â˜‘ī¸0G DA Client
    • đŸŸĸAirchains
      • 💾Service & Snapshot
      • âš™ī¸Installation
        • đŸĒĸCosmovisor
        • đŸ”ēEVM ZK Rollup
      • đŸ•šī¸Commands
      • â›“ī¸Upgrade
    • đŸŸĸAllora
      • đŸ”ēWorkers
        • Create tool and worker wallet
        • Install Worker 1
        • Install Worker 2
        • Troubleshooting
        • Script for checking worker
      • Another method
      • Service
      • Installation By Dock (Recommend)
      • Installation
      • Snapshot & State sync
      • Useful commands
    • đŸŸĸHedge Block
      • Service
      • Installation
      • Commands
    • đŸŸĸDill Chain
      • Usage Commands
    • đŸŸĸFiamma Chain
      • đŸĨĻServices & Snapshot
      • âš™ī¸Installation
      • đŸ›°ī¸Usage Command
    • đŸŸĸElixir Testnet
      • âš™ī¸Installation
    • đŸŸĸChainbase
      • â›“ī¸Installation
    • 🔘AXONE Protocol
      • 💾Service & Snapshot
      • âš™ī¸Installation
    • 🔘Symphony
      • 🔌Installation
      • đŸĨĻFresh Peer
    • 🔘Empeiria
      • Installation
      • Usage Command
Powered by GitBook
On this page
  • Key Management
  • Token Management
  • Validator Management

Was this helpful?

  1. MAINNET
  2. Kopi Protocol

Command

Check logs

sudo journalctl -u kopid -f

API

sudo systemctl status kopid -f

Node info

kopid status 2>&1 | jq -f

Start service

sudo systemctl start kopid

Reload services

sudo systemctl daemon-reload

Stop service

sudo systemctl stop kopid

Enable Service

sudo systemctl enable kopid

Restart service

sudo systemctl restart  kopid

Disable Service

sudo systemctl disable kopid

Your node peer

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

Key Management

Add New Wallet

kopid keys add $WALLET

Restore wallet

kopid keys add $WALLET --recover

List All Wallets

kopid keys list

Delete wallet

kopid keys delete $WALLET

Check Balance

kopid q bank balances $WALLET_ADDRESS

Export Key (save to wallet.backup)

kopid keys export $WALLET

View EVM Prived Key

kopid keys unsafe-export-eth-key $WALLET

Import Key (restore from wallet.backup)

kopid keys import $WALLET wallet.backup

Token Management

Withdraw rewards and commission from your validator

kopid tx distribution withdraw-rewards $VALOPER_ADDRESS --from $WALLET --commission --chain-id luwak-1 --gas auto --gas-adjustment 1.5 -y 

Check your balance

kopid query bank balances WALLET_ADDRESS

Delegate to Yourself

kopid tx staking delegate $(kopid keys show $WALLET --bech val -a) 1000000ukopi --from $WALLET --chain-id luwak-1 --gas auto --gas-adjustment 1.5 -y 

Delegate

kopid tx staking delegate ukopi --from  --chain-id luwak-1 --gas auto --gas-adjustment 1.5 -y

Redelegate Stake to Another Validator

kopid tx staking redelegate  ukopi --from  --chain-id luwak-1 --gas auto --gas-adjustment 1.5 -y

Unbond Your Stake

kopid tx staking unbond $(kopid keys show  --bech val -a) ukopi --from  --chain-id luwak-1 --gas auto --gas-adjustment 1.5 --fees 600ukopi -y

Transfer Funds to Another Wallet

kopid tx bank send  <TO_WALLET_ADDRESS> ukopi --gas auto --gas-adjustment 1.5 -y

Validator Management

Create New Validator

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

Edit Validator

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

Validator info

kopid status 2>&1 | jq

Validator Details

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

Jailing info

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

Slashing parameters

kopid q slashing params

Unjail validator

kopid tx slashing unjail --from $WALLET --chain-id luwak-1 --gas auto --gas-adjustment 1.5 -y

Active Validators List

kopid 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

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

Signing info

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

Government

kopid tx gov vote 25 yes --from Chicharito --chain-id luwak-1 --gas-adjustment 1.4 --gas auto --gas-prices 0ukopi -y
PreviousCosmovisorNextExplorer

Last updated 5 months ago

Was this helpful?

🍄
đŸŸĸ
đŸ›°ī¸