Rent server onSponsored
This guide for the Stride’s Incentivized Testnet (STRIDE-TESTNET-4)
Official docs available here.
Install
Use our script for a quick installation:
wget -q -O stride.sh https://api.nodes.guru/stride.sh && chmod +x stride.sh && sudo /bin/bash stride.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.
strided keys add wallet
Get tokens in the discord, #token-faucet section.
After full synchronization, check the balance, if everything is okay go to the next step.
strided q bank balances YOUR_WALLET_ADDRESS
strided tx staking create-validator \
--moniker="$STRIDE_NODENAME" \
--amount=1000000ustrd \
--fees 300ustrd \
--pubkey=$(strided tendermint show-validator) \
--chain-id=STRIDE-TESTNET-4 \
--commission-max-change-rate=0.01 \
--commission-max-rate=0.20 \
--commission-rate=0.10 \
--min-self-delegation=1 \
--from=wallet \
--yes
Additional
You can check the node logs with the command:
journalctl -u strided -f -o cat
Restart node:
systemctl restart strided
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:
strided keys show wallet --bech val -a
Bond more tokens (if you want increase your validator stake you should bond more to your valoper address):
strided tx staking delegate YOUR_VALOPER_ADDRESS 10000000ustrd --from wallet --chain-id STRIDE-TESTNET-4 --fees 5000ustrd
Active validators list:
strided 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:
strided 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 strided
systemctl disable strided
rm -rf ~/stride ~/.stride /etc/systemd/system/strided.service