Warden protocol

Warden-protocol

Update system

sudo apt update
sudo apt-get install git curl build-essential make jq gcc snapd chrony lz4 tmux unzip bc -y

Install Go

rm -rf $HOME/go
sudo rm -rf /usr/local/go
cd $HOME
curl https://dl.google.com/go/go1.20.5.linux-amd64.tar.gz | sudo tar -C/usr/local -zxvf -
cat <<'EOF' >>$HOME/.profile
export GOROOT=/usr/local/go
export GOPATH=$HOME/go
export GO111MODULE=on
export PATH=$PATH:/usr/local/go/bin:$HOME/go/bin
EOF
source $HOME/.profile
go version

Installation & Configuration

a. Build the wardend binary and initalize the chain home folder: replace <custom_moniker> by your monkier

b. Prepare the genesis file:

c. And set some mandatory configuration options:

d. Add Peer:

Disable indexer:

Download and install Cosmovisor

Download genesis and addrbook

Set pruning

Set custom ports (OPTION)

Download latest chain snapshot:

Create service

OR:

e. Star Warden:

f. Check sync: false

Create a validator

If you want to create a validator in the testnet, follow the instructions in the Creating a validator section.

Create Wallet

Faucet token: replace < your-address> by your warden address

Check Banlance

Create a new validator

Once the node is synced and you have the required WARD, you can become a validator.

To create a validator and initialize it with a self-delegation, you need to create a validator.json file and submit a create-validator transaction.

Obtain your validator public key by running the following command:

The output will be similar to this (with a different key):

Create validator.json file

The validator.json file has the following format: Change your personal information accordingly

Finally, we're ready to submit the transaction to create the validator:

Explorer

Delegate Token to your own validator

Withdraw rewards and commission from your validator

Unjail validator

Services Management

Backup Validator

Remove node

DONE

Last updated