Crowd Control

Discord: https://discord.gg/ZKKbhUs

X: https://twitter.com/CrowdControlNet

Minimum hardware requirement

2 Cores, 4G Ram, 80G SSD, Ubuntu 22.04

1. Auto Install

Update Chain ID: cardtestnet-10

sudo apt install curl -y && source <(curl -s https://nodesync.top/cardchain_auto)

Add New wallet (Cheat Sheet) and save 24 word seed

Faucet: You need import 24 word seed to Keplr Wallet and connect https://crowdcontrol.network/#/ , Click "Connect Wallet", auto token testnet sent.

2. Cheat Sheet

Wallet

Add new key

Cardchaind keys add wallet

Recover existing key

Cardchaind keys add wallet --recover

Query Wallet Balance

Cardchaind q bank balances $(Cardchaind keys show wallet -a)

Validator Address

Cardchaind keys show wallet --bech val -a

Validator Management

Create Validator

Change your info:

--moniker "MONIKER" --identity="YOUR_KEYBASE_ID" --details="YOUR_DETAILS"

Cardchaind tx staking create-validator \
--amount 1000000ubpf \
--from wallet \
--commission-rate 0.1 \
--commission-max-rate 0.2 \
--commission-max-change-rate 0.01 \
--min-self-delegation 1 \
--pubkey $(Cardchaind tendermint show-validator) \
--moniker="MONIKER" \
--identity=YOUR_KEYBASE_ID  \
--details="YOUR_DETAILS" \
--chain-id cardtestnet-10 \
--gas auto --gas-adjustment 1.5 \
-y

Edit Validator

Cardchaind tx staking edit-validator \
--new-moniker "MONIKER" \
--identity "YOUR_KEYBASE_ID" \
--details "YOUR_DETAILS" \
--from wallet \
--chain-id cardtestnet-10 \
--gas auto --gas-adjustment 1.5 \
-y

Unjail Validator

Cardchaind tx slashing unjail --from wallet --chain-id cardtestnet-10 --gas auto --gas-adjustment 1.5 -y

Withdraw rewards from all validators

Cardchaind tx distribution withdraw-all-rewards --from wallet --chain-id cardtestnet-10 --gas auto --gas-adjustment 1.5

Withdraw comission and rewards from your validator

Cardchaind tx distribution withdraw-rewards $(Cardchaind keys show wallet --bech val -a) --from wallet --commission --chain-id cardtestnet-10 --gas auto --gas-adjustment 1.5 -y

Delegate to your validator

Cardchaind tx staking delegate $(Cardchaind keys show wallet --bech val -a) 1000000ubpf --from wallet --chain-id cardtestnet-10 --gas auto --gas-adjustment 1.5 -y

Get sync status

Cardchaind status 2>&1 | jq .SyncInfo

Services Management

# Reload Service
sudo systemctl daemon-reload

# Enable Service
sudo systemctl enable Cardchaind

# Disable Service
sudo systemctl disable Cardchaind

# Start Service
sudo systemctl start Cardchaind

# Stop Service
sudo systemctl stop Cardchaind

# Restart Service
sudo systemctl restart Cardchaind

# Check Service Status
sudo systemctl status Cardchaind

# Check Service Logs
sudo journalctl -u Cardchaind -f --no-hostname -o cat

3. Backup Validator

Important

cat $HOME/.cardchaind/config/priv_validator_key.json

Save all them (file json)

4. Delete Node

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

Last updated