# Crowd Control

Discord: <https://discord.gg/ZKKbhUs>

X: <https://twitter.com/CrowdControlNet>

## **Minimum hardware requirement**

2 Cores, 4G Ram, 80G SSD, <mark style="color:red;">**Ubuntu 22.04**</mark>

## 1. Auto Install&#x20;

Update Chain ID: <mark style="color:red;">**cardtestnet-10**</mark>

```
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. &#x20;

## 2. Cheat Sheet

### Wallet

**Add new key**

<pre><code><strong>Cardchaind keys add wallet
</strong></code></pre>

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

<mark style="color:red;">**Important**</mark>

```
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

```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://services.nodesync.top/cosmos-testnet/crowd-control.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
