Nodes

guruGuru
search

Tgrade - Setup Guide

Back to projectRU
Stuck? AsktelegramNodes Guru telegram community

Rent on

Current testnet is not incentivized.
This guide for the tgrade-testnet-3 network.
Step-by-step guide available here.

1. Install

Use our script for a quick installation:

wget -q -O tgrade.sh https://api.nodes.guru/tgrade.sh && chmod +x tgrade.sh && sudo /bin/bash tgrade.sh

Set a name for your node, then wait for the installation to complete. After that execute the following command:

source $HOME/.bash_profile

Check if the node is synchronized, if false go to the next step, if true wait.

curl -s localhost:26657/status | jq .result.sync_info.catching_up

Create a wallet, do not forget to save the mnemonics in a safe place. Replace TGRADE_WALLET with your wallet name.

tgrade keys add TGRADE_WALLET

Go to discord and request test coins under testnet-3-faucet .

Creating a validator

After refilling the balance, proceed to create a validator.
Replace TGRADE_WALLET with your wallet name, replace TGRADE_MONIKER with validator name.

tgrade tx poe create-validator \
  --amount 5000000utgd \
  --from TGRADE_WALLET \
  --pubkey $(tgrade tendermint show-validator)  \
  --chain-id $TGRADE_CHAIN \
  --moniker "TGRADE_MONIKER" \
  --fees 15000utgd \
  --gas 300000

You can see the current list of validators in explorer or here or run command:

curl https://lcd.testnet-3.tgrade.io:443/wasm/v1/contract/tgrade1pvrwmjuusn9wh34j7y520g8gumuy9xtl2ne37x/smart/$(echo '{"list_active_validators":{}}' |base64) | jq

Additional

You can check the node logs with the command:

journalctl -u tgrade -f

Check your node status:

curl localhost:26657/status