Exchange and monetise Trusted Data that is verifiable, portable, and privacy-preserving.
cheqd-noded keys add
cheqd-noded keys add --recover
cheqd-noded keys list
cheqd-noded keys delete
cheqd-noded keys export
cheqd-noded keys import .backup
cheqd-noded q bank balances $(cheqd-noded keys show -a)
sudo journalctl -u cheqd-noded -f --no-hostname -o cat
sudo systemctl start cheqd-noded
sudo systemctl stop cheqd-noded
sudo systemctl restart cheqd-noded
sudo systemctl status cheqd-noded
sudo systemctl daemon-reload
sudo systemctl enable cheqd-noded
sudo systemctl disable cheqd-noded
cheqd-noded status 2>&1 | jq .SyncInfo
echo $(cheqd-noded tendermint show-node-id)'@'$(curl -s ifconfig.me)':'$(cat $HOME/.cheqdnode/config/config.toml | sed -n '/Address to listen for incoming connection/{n;p;}' | sed 's/.*://; s/".*//')
curl -sS http://localhost:657/net_info | jq -r '.result.peers[] | "\(.node_info.id)@\(.remote_ip):\(.node_info.listen_addr)"' | awk -F ':' '{print $1":"$(NF)}'
cheqd-noded tx staking create-validator \
--amount=000000ncheq \
--moniker="" \
--pubkey=$(cheqd-noded tendermint show-validator) \
--identity="" \
--details="" \
--website="" \
--security-contact= \
--chain-id=cheqd-mainnet-1 \
--commission-rate=0. \
--commission-max-rate=0.20 \
--commission-max-change-rate=0. \
--min-self-delegation=1 \
--from= \
--gas-adjustment="1.4" \
--fees="5000ncheq"
cheqd-noded tx staking edit-validator \
--new-moniker="" \
--chain-id=cheqd-mainnet-1 \
--from= \
--gas-adjustment="1.4" \
--fees="5000ncheq" -ycheqd-noded tx staking edit-validator \
--identity="" \
--chain-id=cheqd-mainnet-1 \
--from= \
--gas-adjustment="1.4" \
--fees="5000ncheq"cheqd-noded tx staking edit-validator \
--details="" \
--chain-id=cheqd-mainnet-1 \
--from= \
--gas-adjustment="1.4" \
--fees="5000ncheq"cheqd-noded tx staking edit-validator \
--commission-rate=0. \
--chain-id=cheqd-mainnet-1 \
--from= \
--gas-adjustment="1.4" \
--fees="5000ncheq"cheqd-noded tx staking edit-validator \
--new-moniker="" \
--identity="" \
--chain-id=cheqd-mainnet-1 \
--from= \
--gas-adjustment="1.4" \
--fees="5000ncheq"cheqd-noded tx staking edit-validator \
--new-moniker="" \
--details="" \
--chain-id=cheqd-mainnet-1 \
--from= \
--gas-adjustment="1.4" \
--fees="5000ncheq"cheqd-noded tx staking edit-validator \
--new-moniker="" \
--commission-rate=0. \
--chain-id=cheqd-mainnet-1 \
--from= \
--gas-adjustment="1.4" \
--fees="5000ncheq"cheqd-noded tx staking edit-validator \
--identity="" \
--details="" \
--chain-id=cheqd-mainnet-1 \
--from= \
--gas-adjustment="1.4" \
--fees="5000ncheq"cheqd-noded tx staking edit-validator \
--identity="" \
--commission-rate=0. \
--chain-id=cheqd-mainnet-1 \
--from= \
--gas-adjustment="1.4" \
--fees="5000ncheq"cheqd-noded tx staking edit-validator \
--details="" \
--commission-rate=0. \
--chain-id=cheqd-mainnet-1 \
--from= \
--gas-adjustment="1.4" \
--fees="5000ncheq"cheqd-noded tx staking edit-validator \
--new-moniker="" \
--identity="" \
--details="" \
--chain-id=cheqd-mainnet-1 \
--from= \
--gas-adjustment="1.4" \
--fees="5000ncheq"cheqd-noded tx staking edit-validator \
--new-moniker="" \
--identity="" \
--commission-rate=0. \
--chain-id=cheqd-mainnet-1 \
--from= \
--gas-adjustment="1.4" \
--fees="5000ncheq"cheqd-noded tx staking edit-validator \
--new-moniker="" \
--details="" \
--commission-rate=0. \
--chain-id=cheqd-mainnet-1 \
--from= \
--gas-adjustment="1.4" \
--fees="5000ncheq"cheqd-noded tx staking edit-validator \
--identity="" \
--details="" \
--commission-rate=0. \
--chain-id=cheqd-mainnet-1 \
--from= \
--gas-adjustment="1.4" \
--fees="5000ncheq"cheqd-noded tx staking edit-validator \
--new-moniker="" \
--identity="" \
--details="" \
--commission-rate=0. \
--chain-id=cheqd-mainnet-1 \
--from= \
--gas-adjustment="1.4" \
--fees="5000ncheq"cheqd-noded tx staking edit-validator \
--new-moniker="" \
--identity="" \
--details="" \
--website="" \
--security-contact= \
--chain-id=cheqd-mainnet-1 \
--commission-rate=0. \
--from= \
--gas-adjustment="1.4" \
--fees="5000ncheq"
cheqd-noded status 2>&1 | jq .ValidatorInfo
cheqd-noded q staking validator $(cheqd-noded keys show --bech val -a)
cheqd-noded q slashing signing-info $(cheqd-noded tendermint show-validator)
cheqd-noded tx slashing unjail --broadcast-mode=block --from --chain-id cheqd-mainnet-1 --gas-adjustment="1.4" --fees="5000ncheq"
cheqd-noded 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
[[ $(cheqd-noded q staking validator $(cheqd-noded keys show --bech val -a) -oj | jq -r .consensus_pubkey.key) = $(cheqd-noded status | jq -r .ValidatorInfo.PubKey.value) ]] && echo -e "Your key status is ok" || echo -e "Your key status is error"
cheqd-noded q slashing signing-info $(cheqd-noded tendermint show-validator)
cheqd-noded tx distribution withdraw-all-rewards --from --chain-id cheqd-mainnet-1 --gas-adjustment="1.4" --fees="5000ncheq"
cheqd-noded tx distribution withdraw-rewards $(cheqd-noded keys show --bech val -a) --commission --from --chain-id cheqd-mainnet-1 --gas-adjustment="1.4" --fees="5000ncheq"
cheqd-noded tx staking delegate $(cheqd-noded keys show --bech val -a) 000000ncheq --from --chain-id cheqd-mainnet-1 --gas-adjustment="1.4" --fees="5000ncheq"
cheqd-noded tx staking redelegate $(cheqd-noded keys show --bech val -a) 000000ncheq --from --chain-id cheqd-mainnet-1 --gas-adjustment="1.4" --fees="5000ncheq"
cheqd-noded tx staking delegate 000000ncheq --from --chain-id cheqd-mainnet-1 --gas-adjustment="1.4" --fees="5000ncheq"
cheqd-noded tx staking unbond $(cheqd-noded keys show --bech val -a) 000000ncheq --from --chain-id cheqd-mainnet-1 --gas-adjustment="1.4" --fees="5000ncheq"
cheqd-noded tx bank send 000000ncheq --from --chain-id cheqd-mainnet-1 --gas-adjustment="1.4" --fees="5000ncheq"
cheqd-noded query gov proposal
cheqd-noded tx gov vote --from --chain-id cheqd-mainnet-1 --gas-adjustment="1.4" --fees="5000ncheq"
CUSTOM_PORT=
sed -i.bak -e "s%^proxy_app = \"tcp://127.0.0.1:26658\"%proxy_app = \"tcp://127.0.0.1:${CUSTOM_PORT}658\"%; s%^laddr = \"tcp://127.0.0.1:26657\"%laddr = \"tcp://127.0.0.1:${CUSTOM_PORT}657\"%; s%^pprof_laddr = \"localhost:6060\"%pprof_laddr = \"localhost:${CUSTOM_PORT}060\"%; s%^laddr = \"tcp://0.0.0.0:26656\"%laddr = \"tcp://0.0.0.0:${CUSTOM_PORT}656\"%; s%^prometheus_listen_addr = \":26660\"%prometheus_listen_addr = \":${CUSTOM_PORT}660\"%" $HOME/.cheqdnode/config/config.toml
sed -i.bak -e "s%^address = \"tcp://0.0.0.0:1317\"%address = \"tcp://0.0.0.0:${CUSTOM_PORT}317\"%; s%^address = \":8080\"%address = \":${CUSTOM_PORT}080\"%; s%^address = \"0.0.0.0:9090\"%address = \"0.0.0.0:${CUSTOM_PORT}090\"%; s%^address = \"0.0.0.0:9091\"%address = \"0.0.0.0:${CUSTOM_PORT}091\"% " $HOME/.cheqdnode/config/app.toml
sed -i -e 's|^indexer *=.*|indexer = "kv"|' $HOME/.cheqdnode/config/config.toml
sed -i -e 's|^indexer *=.*|indexer = "null"|' $HOME/.cheqdnode/config/config.toml
cheqd-noded tendermint unsafe-reset-all --home $HOME/.cheqdnode --keep-addr-book
sudo systemctl stop cheqd-noded && \
sudo systemctl disable cheqd-noded && \
rm /etc/systemd/system/cheqd-noded.service && \
sudo systemctl daemon-reload && \
cd $HOME && \
rm -rf .cheqdnode && \
rm -rf $(which cheqd-noded)
wget -O $HOME/.cheqdnode/config/genesis.json "https://raw.githubusercontent.com/kynraze/service/main/mainnet/cheqd/genesis.json"
wget -O $HOME/.cheqdnode/config/addrbook.json "https://raw.githubusercontent.com/kynraze/service/main/mainnet/cheqd/addrbook.json"
PEERS=
sed -i -e "s|^persistent_peers *=.*|persistent_peers = "$PEERS"|" $HOME/.cheqdnode/config/config.toml
Coming Soon
CHEQD
_NODENAME="
"
echo "export
CHEQD_NODENAME=$CHEQD_NODENAME" >> $HOME/.bash_profile
if [ ! $WALLET ]; then
echo "export WALLET=wallet" >> $HOME/.bash_profile
fi
echo "export
CHEQD_CHAIN_ID=cheqd-mainnet-1" >> $HOME/.bash_profile
source $HOME/.bash_profile
sudo apt update && sudo apt upgrade -y && sudo apt install curl tar wget clang pkg-config libssl-dev jq build-essential bsdmainutils git make ncdu gcc git jq chrony liblz4-tool -y
ver="
1.20"
cd $HOME
wget "https://golang.org/dl/go$ver.linux-amd64.tar.gz"
sudo rm -rf /usr/local/go
sudo tar -C /usr/local -xzf "go$ver.linux-amd64.tar.gz"
rm "go$ver.linux-amd64.tar.gz"
echo "export PATH=$PATH:/usr/local/go/bin:$HOME/go/bin" >> ~/.bash_profile
source ~/.bash_profile
go version
git clone https://github.com/cheqd/cheqd-node.git cd cheqd-node git checkout v2.0.1 make install
cheqd-noded version
--long
CUSTOM_PORT=
sed -i.bak -e "s%^proxy_app = \"tcp://127.0.0.1:26658\"%proxy_app = \"tcp://127.0.0.1:${CUSTOM_PORT}658\"%; s%^laddr = \"tcp://127.0.0.1:26657\"%laddr = \"tcp://127.0.0.1:${CUSTOM_PORT}657\"%; s%^pprof_laddr = \"localhost:6060\"%pprof_laddr = \"localhost:${CUSTOM_PORT}060\"%; s%^laddr = \"tcp://0.0.0.0:26656\"%laddr = \"tcp://0.0.0.0:${CUSTOM_PORT}656\"%; s%^prometheus_listen_addr = \":26660\"%prometheus_listen_addr = \":${CUSTOM_PORT}660\"%"
$HOME/.cheqdnode/config/config.tomlsed -i.bak -e "s%^address = \"tcp://0.0.0.0:1317\"%address = \"tcp://0.0.0.0:${CUSTOM_PORT}317\"%; s%^address = \":8080\"%address = \":${CUSTOM_PORT}080\"%; s%^address = \"0.0.0.0:9090\"%address = \"0.0.0.0:${CUSTOM_PORT}090\"%; s%^address = \"0.0.0.0:9091\"%address = \"0.0.0.0:${CUSTOM_PORT}091\"%
"
$HOME/.cheqdnode/config/app.toml
cheqd-noded config chain-id $CHEQD_CHAIN_ID cheqd-noded config keyring-backend file cheqd-noded config node tcp://localhost:657
cheqd-noded init $CHEQD_NODENAME
--chain-id
$CHEQD_CHAIN_ID
wget -O $HOME/.cheqdnode/config/genesis.json "https://raw.githubusercontent.com/kynraze/service/main/mainnet/cheqd/genesis.json"
wget -O $HOME/.cheqdnode/config/addrbook.json "https://raw.githubusercontent.com/kynraze/service/main/mainnet/cheqd/addrbook.json"
PEERS="
"
sed -i.bak -e "s/^persistent_peers *=.*/persistent_peers = \"$PEERS\"/" $HOME/
.cheqdnode/config/config.tomlsed -i -e "s|^seeds *=.*|seeds = \"
\"|" $HOME/
.cheqdnode/config/config.toml
pruning="custom"
pruning_keep_recent="100"
pruning_keep_every="0"
pruning_interval="10"
sed -i -e "s/^pruning *=.*/pruning = \"$pruning\"/" $HOME/
.cheqdnode/config/app.tomlsed -i -e "s/^pruning-keep-recent *=.*/pruning-keep-recent = \"$pruning_keep_recent\"/" $HOME/
.cheqdnode/config/app.tomlsed -i -e "s/^pruning-keep-every *=.*/pruning-keep-every = \"$pruning_keep_every\"/" $HOME/
.cheqdnode/config/app.tomlsed -i -e "s/^pruning-interval *=.*/pruning-interval = \"$pruning_interval\"/" $HOME/
.cheqdnode/config/app.toml
sudo tee /etc/systemd/system/
cheqd-noded.service > /dev/null << EOF
[Unit]
Description=
cheqd-nodedAfter=network-online.target
[Service]
User=$USER
ExecStart=$(which
cheqd-noded)start --home $HOME/
.cheqdnodeRestart=on-failure
RestartSec=3
LimitNOFILE=65535
[Install]
WantedBy=multi-user.target
EOF
curl -o - -L
https://snapshots.kynraze.com/cheqd/snapshot-latest.tar.lz4| lz4 -c -d - | tar -x -C $HOME/
.cheqdnode
sudo systemctl daemon-reload
sudo systemctl enable
cheqd-nodedsudo systemctl restart
cheqd-nodedsudo journalctl -fu
cheqd-noded-o cat
# Update & install lz4(Required)
sudo apt install snapd lz4 -y
# Reset Chain Data
sed -i.bak -E "s|^(enable[[:space:]]+=[[:space:]]+).*$|\1false|" $HOME/.cheqdnode/config/config.toml
sudo systemctl stop cheqd-noded
cp $HOME/.cheqdnode/data/priv_validator_state.json $HOME/.cheqdnode/priv_validator_state.json.backup
rm -rf $HOME/.cheqdnode/data
# Download Data Snapshot
curl -o - -L https://snapshots.kynraze.com/cheqd/snapshot-latest.tar.lz4 | lz4 -c -d - | tar -x -C $HOME/.cheqdnode
mv $HOME/.cheqdnode/priv_validator_state.json.backup $HOME/.cheqdnode/data/priv_validator_state.json
# Restart
sudo systemctl restart cheqd-noded
sudo journalctl -fu cheqd-noded -o cat
systemctl stop cheqd-noded
cheqd-noded tendermint unsafe-reset-all --home $HOME/.cheqdnode --keep-addr-book
STATE_SYNC_RPC=""
LATEST_HEIGHT=$(curl -s $STATE_SYNC_RPC/block | jq -r .result.block.header.height) \
SYNC_BLOCK_HEIGHT=$(($LATEST_HEIGHT - 2000)) \
SYNC_BLOCK_HASH=$(curl -s "$STATE_SYNC_RPC/block?height=$SYNC_BLOCK_HEIGHT" | jq -r .result.block_id.hash)
echo $LATEST_HEIGHT $SYNC_BLOCK_HEIGHT $SYNC_BLOCK_HASH
PEERS=""
sed -i.bak -e "s/^persistent_peers *=.*/persistent_peers = \"$PEERS\"/" $HOME/.cheqdnode/config/config.toml
sed -i.bak -e "s|^enable *=.*|enable = true|" $HOME/.cheqdnode/config/config.toml
sed -i.bak -e "s|^rpc_servers *=.*|rpc_servers = \"$STATE_SYNC_RPC,$STATE_SYNC_RPC\"|" \
$HOME/.cheqdnode/config/config.toml
sed -i.bak -e "s|^trust_height *=.*|trust_height = $SYNC_BLOCK_HEIGHT|" \
$HOME/.cheqdnode/config/config.toml
sed -i.bak -e "s|^trust_hash *=.*|trust_hash = \"$SYNC_BLOCK_HASH\"|" \
$HOME/.cheqdnode/config/config.toml
systemctl restart cheqd-noded && journalctl -fu cheqd-noded -o cat