You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Checkout the current testnet version tag unless advised differently
git checkout v3.1.5 #Adjust according to the testnet release at the top of this page
Install go if not yet done. Current go version used is 1.21
wget -O go.tar.gz "https://dl.google.com/go/go1.21.13.linux-amd64.tar.gz"# or if you want to use curl
curl -o go.tar.gz "https://dl.google.com/go/go1.21.13.linux-amd64.tar.gz"
sudo rm -rf /usr/local/go && sudo tar -C /usr/local -xzf go.tar.gz
sudo nano /etc/profile # or use your favorite editor# add this line at the endexport PATH="$PATH:/usr/local/go/bin"
nano ~/.profile # or use your favorite editor# add this line at the endexport PATH="$PATH:$HOME/go/bin"# relogin or run. /etc/profile
.~/.profile
# verify go version
go version
Build and install
cd~/core
make build && make install
# verify version
terrad version
Download addressbook and genesis file (if you are setting the node up for the first time)
terrad init <yourtestnetnodename>cd~/.terra/config
wget -O addrbook.json "https://dl2.quicksync.io/json/addrbook.terra.json"# or use curl
wget -O genesis.json "https://snapshots.hexxagon.io/cosmos/terra-classic/columbus-5/genesis.json"# or use curl
Download a snapshot to join the current testnet state
cd~/.terra
sed -i -r 's/iavl-disable-fastnode = false/iavl-disable-fastnode = true/' config/app.toml
mv data data~backup
# find the latest snapshot on https://publicnode.com/snapshots#terra-classic and use that in the command below
wget -O snapshot.tar.lz4 "https://snapshots.publicnode.com/terra-classic-pruned-19928974-19928984.tar.lz4"# or use curl
lz4cat snapshot.tar.lz4 | tar xvf -
Start the node and catch up to latest height
terrad start # or use system service# watch for status
terrad status # until catching up is false
Joining the validator set
create a new wallet
terrad keys add valwallet
terrad keys list # remember/copy your wallet address
fund the wallet with some LUNC tokens
register the validator, adjust the settings for commission etc. accordingly ATTENTION
Some settings cannot be changed, e.g. the maximum commission and maximum change rate
terrad tx staking create-validator --amount "10000000uluna" --commission-max-change-rate "0.01" --commission-max-rate "0.2" --commission-rate "0.1" --min-self-delegation 1 --pubkey $(terrad tendermint show-validator) --moniker myvalidator --chain-id columbus-5 --gas auto --gas-prices 28.325uluna --gas-adjustment 2.5 --from valwallet
# change settings and --from according to your needs and the wallet you created in step 1.
It might be that you need more delegations to reach the active set.
Set up Oracle Price Server and Feeder
If you want to use the dockerized version, make sure you have docker and docker compose installed. See official docs for how to do that. If you want to use the manual deployment, make sure you have nodejs and npm installed.
Create a new wallet which serves as the authorized feeder wallet for your validator. Feeding prices to the chain does not cost gas fees, but you need to send some minor funds to the feeder wallet nonetheless.
You should use localhost for the oracle lcd, but you need to make sure you have the LCD enabled in your node config.
To do that, edit ~/.terra/config/app.toml and find enabled = false in the [api] section. Change it to true and restart the node.
By checking the oracle logs, make sure you have the correct version of the oracle price server and feeder (see top of this page for the currently used version).
Shutting down the validator permanently
If you decide to no longer take part in the network, please do NOT simply shut down your validator. Make sure that you properly undelegate all self-bonded tokens to unbond your validator. This can be done similar to this:
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
This is the short description of how to create a validator for the Terra Classic columbus-5 network.
Current versions
v3.1.5
(core) - a non-state-breakingv3.1.5-sim.2
is available for endpoints that rely on more accurate simulationv3.1.5
(oracle feeder)Endpoints
RPC: https://terra-classic-rpc.publicnode.com
LCD: https://terra-classic-lcd.publicnode.com
Prerequisites
Linux Operating System (e.g. Ubuntu/Debian)
Quad-Core (preferably at least Hexa-Core) CPU, 64GB RAM and 1TB NVMe (preferably 2TB)
Installing
git checkout v3.1.5 #Adjust according to the testnet release at the top of this page
1.21
Joining the validator set
terrad keys add valwallet terrad keys list # remember/copy your wallet address
fund the wallet with some LUNC tokens
register the validator, adjust the settings for commission etc. accordingly
ATTENTION
Some settings cannot be changed, e.g. the maximum commission and maximum change rate
It might be that you need more delegations to reach the active set.
Set up Oracle Price Server and Feeder
If you want to use the dockerized version, make sure you have docker and docker compose installed. See official docs for how to do that. If you want to use the manual deployment, make sure you have nodejs and npm installed.
Create a new wallet which serves as the authorized feeder wallet for your validator. Feeding prices to the chain does not cost gas fees, but you need to send some minor funds to the feeder wallet nonetheless.
https://github.com/classic-terra/oracle-feeder/blob/main/README.md#using-docker-compose-recommended-experimental
or
https://github.com/classic-terra/oracle-feeder/blob/main/README.md#manual-deployment-instructions
Remember to use the right network settings! For example:
You should use localhost for the oracle lcd, but you need to make sure you have the LCD enabled in your node config.
To do that, edit
~/.terra/config/app.toml
and findenabled = false
in the[api]
section. Change it totrue
and restart the node.Shutting down the validator permanently
If you decide to no longer take part in the network, please do NOT simply shut down your validator. Make sure that you properly undelegate all self-bonded tokens to unbond your validator. This can be done similar to this:
Make sure to check
terrad q staking validators
for the state of your validator. It should saystatus: BOND_STATUS_UNBONDING
.Troubleshooting
Feeder complains about
account terra***************vq7 not found
Make sure you have sent funds to the feeder wallet. Otherwise the chain does not know it exists.
Feeder does not report prices
Make sure the local LCD is running and you have enabled the API. Double-check you are using the correct version of both the core and the oracle.
Beta Was this translation helpful? Give feedback.
All reactions