Cascadia - Setup Guide
Install
Use our script for a quick installation:
wget -q -O cascadia.sh https://api.nodes.guru/cascadia.sh && chmod +x cascadia.sh && /bin/bash cascadia.sh
Set a name for your node and wait for the installation to complete. After that execute the following command:
source $HOME/.bash_profile
Create a wallet, don’t forget to save the mnemonic.
cascadiad keys add wallet
Convert your Cascadia address to an EVM address.
cascadiad address-converter $(cascadiad keys show wallet -a)
Get tokens in the faucet.
After full synchronization, check the balance, if everything is okay go to the next step.
cascadiad q bank balances $(cascadiad keys show wallet -a)
Create a validator:
Don’t change anything if you don’t understand what you’re doing.
cascadiad tx staking create-validator \
--moniker="$VALIDATOR" \
--amount=1000000000000000000aCC \
--pubkey=$(cascadiad tendermint show-validator) \
--chain-id=$CHAIN_ID \
--commission-max-change-rate=0.01 \
--commission-max-rate=0.20 \
--commission-rate=0.10 \
--min-self-delegation=1 \
--from=wallet \
--gas "auto" \
--gas-adjustment=1.2 \
--gas-prices="7aCC" \
--broadcast-mode block \
--yes
Additional
Get your Cascadia address:
cascadiad keys show wallet -a
You can check the node logs with the command:
journalctl -u cascadiad -f -o cat
Restart node:
sudo systemctl restart cascadiad
Check your node status:
curl localhost:26657/status
Check node synchronization, if results false – node is synchronized
curl -s localhost:26657/status | jq .result.sync_info.catching_up
Get your valoper address:
cascadiad keys show wallet --bech val -a
Bond more tokens (if you want increase your validator stake you should bond more to your valoper address):
cascadiad tx staking delegate YOUR_VALOPER_ADDRESS 1000000aCC --from wallet --chain-id $CHAIN_ID --fees 5000aCC
Active validators list:
cascadiad query staking validators --limit 2000 -o json | jq -r '.validators[] | select(.status=="BOND_STATUS_BONDED") | [.operator_address, .status, (.tokens|tonumber / pow(10; 6)), .description.moniker] | @csv' | column -t -s"," | sort -k3 -n -r
Inactive validators list:
cascadiad query staking validators --limit 2000 -o json | jq -r '.validators[] | select(.status=="BOND_STATUS_UNBONDED") | [.operator_address, .status, (.tokens|tonumber / pow(10; 6)), .description.moniker] | @csv' | column -t -s"," | sort -k3 -n -r
Ports used:
26656, 26657, 9091, 9090, 6060, 1317
Remove node:
systemctl stop cascadiad
sudo systemctl disable cascadiad
sudo rm -rf ~/cascadia ~/.cascadiad /etc/systemd/system/cascadiad.service