- Advertisement -spot_img
HomeBlockchainTeritori Testnet Validator Installation Tutorial

Teritori Testnet Validator Installation Tutorial

Hello, for Teritori Testnet i suggest using multicore cpu server, you can get cheap server from ContaboVultr or Interserver (1 cent for first month).

minimum specs requirement:

  • No. of CPUs: 2
  • Memory: 2GB
  • Disk: 80GB SSD
  • OS: Ubuntu 18.04 LTS

Allow all incoming connections from TCP port 26656 and 26657

 

[(5) Teritori Incentivized Testnet – Install Nodes and Create Validator – YouTube]

 

First we need to setup machine and install latest software update.

$ apt update && apt upgrade -y

$ apt install build-essential git curl gcc make jq -y

$ wget -c https://go.dev/dl/go1.18.3.linux-amd64.tar.gz && rm -rf /usr/local/go && tar -C /usr/local -xzf go1.18.3.linux-amd64.tar.gz && rm -rf go1.18.3.linux-amd64.tar.gz

 

Setup environment

 

$ echo 'export GOROOT=/usr/local/go' >> $HOME/.bash_profile 

$ echo 'export GOPATH=$HOME/go' >> $HOME/.bash_profile 

$ echo 'export GO111MODULE=on' >> $HOME/.bash_profile 

$ echo 'export PATH=$PATH:/usr/local/go/bin:$HOME/go/bin' >> $HOME/.bash_profile && . $HOME/.bash_profile

Verify Go Installation

$ go version

*Should return go version go1.18.3 linux/amd64

Open port

sudo ufw allow 22 
sudo ufw allow 26656 
sudo ufw allow 26657 
sudo ufw enable

 

Setup the chain

git clone https://github.com/TERITORI/teritori-chain && cd teritori-chain && git checkout teritori-testnet-v2 && make install

 

Verify Installation

teritorid version

*Should return teritori-testnet-v2-0f4e5cb1d529fa18971664891a9e8e4c114456c6

 

Init the chain:

teritorid init <YOUR_MONIKER> --chain-id teritori-testnet-v2

*change your moniker name to any name you want, don’t use any space, only alphabet and number

 

Add peers in the config file:

sed -i.bak 's/persistent_peers =.*/persistent_peers = "[email protected]:26656,[email protected]:26656,[email protected]:26656"/' $HOME/.teritorid/config/config.toml

 

Download the genesis file:

wget -O ~/.teritorid/config/genesis.json https://raw.githubusercontent.com/TERITORI/teritori-chain/main/testnet/teritori-testnet-v2/genesis.json

 

Run nodes first to make sure all thing works.

screen -S teritori 

ulimit -n 4096 

teritorid start

CTRL+C on your keyboard.

Add new peers to config file:

PEERS="96b5546779[email protected]:28656,[email protected]:36656,[email protected]:26656,[email protected]:26656,[email protected]:27656,[email protected]:36656,[email protected]:26656,[email protected]:26656,[email protected]:36656,[email protected]:36656" sed -i -e "s/^persistent_peers *=.*/persistent_peers = \"$PEERS\"/" $HOME/.teritorid/config/config.toml
rm $HOME/.teritorid/config/addrbook.json

wget -O $HOME/.teritorid/config/addrbook.json https://raw.githubusercontent.com/StakeTake/guidecosmos/main/teritori/teritori-testnet-v2/addrbook.json

teritorid start

 

*then your nodes are need some hours to synced to the network, you can check how much blockchain number downloaded by running:

teritorid status 2>&1 | jq .SyncInfo

 

and compare it with the explorer by explorersguru:  https://teritori.explorers.guru/

 

=====================================================

**ONLY DO COMMAND BELOW AFTER YOUR NODES SYNCED, OTHERWISE YOU MAY GETTING ANY ERROR.

 

Next step is making wallet, and interact with your nodes and cli wallet.

Create new wallet

teritorid keys add <YOUR_KEY>

*use any key for your wallet name. then enter a passphrase (don’t forget it, you can’t recover it, NEVER EVER).
**save your seed / phrase words, you can use it to recover your wallet later.

Join Discord Teritori  ( https://discord.gg/Mb9EXHHPxn ), verify your account, and then request a test token on faucet channel.

$request <YOUR_TERITORI_ADDRESS>

 

Check your wallet balances

teritorid query bank balances <YOUR_TERITORI_ADDRESS> --chain-id teritori-testnet-v2

 

Once the fund are received and chain is synchronized you can create your validator:

 

teritorid tx staking create-validator \
 --commission-max-change-rate=0.01 \
 --commission-max-rate=0.2 \
 --commission-rate=0.05 \
 --amount 1000000utori \
 --pubkey=$(teritorid tendermint show-validator) \
 --moniker=<YOUR_MONIKER> \
 --chain-id=teritori-testnet-v2 \
 --details="<DESCRIPTION_OF_YOUR_VALIDATOR>" \
 --security-contact="<YOUR_EMAIL_ADDRESS" \
 --website="<YOUR_WEBSITE>" \
 --identity="<YOUR_KEYBASE_ID>" \
 --min-self-delegation=1000000 \
 --from=<YOUR_KEY>

*moniker name set to your moniker name on first install
*details = use anything you want
*security-contact = use any email you want
*website = use any website you want
*identity = go to keybase.io and get your id (it’s optional, remove this args. if you are not sure what is this.
*from = wallet key

 

after successfully registering your validator, you can check it on https://teritori.explorers.guru/

for more information join :

https://t.me/codeblocklabs

https://t.me/CryptoHuntersForum

 

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -spot_img

Most Popular

- Advertisment -spot_img

Recent Comments