Docs
[<https://philabs.notion.site/Validator-Setup-Guide-10502472842e4ad8bf7fb7ec68afe07a>](<https://mzonder.notion.site/10502472842e4ad8bf7fb7ec68afe07a>)
Server prepare
# update if needed
sudo apt update && sudo apt upgrade -y
# packages
sudo apt install curl tar wget clang pkg-config libssl-dev jq build-essential bsdmainutils git make ncdu gcc git jq chrony liblz4-tool -y
# install GO 1.17.2
ver="1.17.2"
cd $HOME
wget "<https://golang.org/dl/go$ver.linux-amd64.tar.gz>"
sudo rm -rf /usr/local/go
sudo tar -C /usr/local -xzf "go$ver.linux-amd64.tar.gz"
rm "go$ver.linux-amd64.tar.gz"
echo "export PATH=$PATH:/usr/local/go/bin:$HOME/go/bin" >> $HOME/.bash_profile
source $HOME/.bash_profile
go version
# go version go1.17.2 linux/amd64
DELETE augusta-1
IF NEEDED! IT IS FOR PREVIOUS BINARY INSTALLATION! MAKE BACKUP!
# full node delete
sudo systemctl stop archwayd
sudo systemctl disable archwayd
rm /etc/systemd/system/archwayd.service
sudo systemctl daemon-reload
cd $HOME
rm -rf .archway archway
rm -rf $(which archwayd)
Build for torii-1
# clone repo
git clone <https://github.com/archway-network/archway>
cd archway
git checkout main
make install
archwayd version
# "0.0.5"
cd $HOME
# set vars
ARCHWAY_CHAIN="torii-1"
ARCHWAY_MONIKER="**YOUR_MONIKER_NAME**" # come up with your validator name
ARCHWAY_WALLET="**ARCHWAY_WALLET**"
echo 'export ARCHWAY_CHAIN='${ARCHWAY_CHAIN} >> $HOME/.bash_profile
echo 'export ARCHWAY_MONIKER='${ARCHWAY_MONIKER} >> $HOME/.bash_profile
echo 'export ARCHWAY_WALLET='${ARCHWAY_WALLET} >> $HOME/.bash_profile
source $HOME/.bash_profile
# init
archwayd init ${ARCHWAY_MONIKER} --chain-id $ARCHWAY_CHAIN
# create keys
archwayd keys add $ARCHWAY_WALLET
**# SAVE MNEMONIC FROM OUTPUT NOW!**
# CREATE GENTX
# get penultimate_genesis
wget -O $HOME/.archway/config/genesis.json "<https://raw.githubusercontent.com/archway-network/testnets/main/torii-1/penultimate_genesis.json>"
# add gen acc
archwayd add-genesis-account $(archwayd keys show $ARCHWAY_WALLET -a) 1001000utorii
# create gentx (set any commission and delegation amount you want)
archwayd gentx $ARCHWAY_WALLET 1000000utorii \\
--commission-rate=0.1 \\
--commission-max-rate=0.1 \\
--commission-max-change-rate=0.1 \\
--pubkey $(archwayd tendermint show-validator) \\
--chain-id=torii-1 \\
--moniker="${ARCHWAY_MONIKER}"
# OUTPUT EXAMPLE
# Genesis transaction written to "~/.archway/config/gentx/**gentx-7fba3a5XXXXXXXXXXXXXXXXXXXxxxxXXXXXXX1.json**"
**DOWNLOAD AND BACKUP $HOME/.archway/config/priv_validator_key.json NOW!**
# Push PR manually ==========================================================
# Create Pull Request to this repository -
# <https://github.com/archway-network/testnets/tree/main/torii-1/gentx>
# 1. create file with name **gentx-7fba3a5XXXXXXXXXXXXXXXXXXXxxxxXXXXXXX1.json**
# 2. submit PR
****# ===========================================================================
HOW TO SUBMIT Pull Request (PR)
1. Open link in browser and choose "Create new file"
[<https://github.com/archway-network/testnets/tree/main/torii-1/gentx>](<https://github.com/archway-network/testnets/tree/main/torii-1/gentx>)