Installation Validator
Install dependencies
UPDATE SYSTEM AND INSTALL BUILD TOOLS
sudo apt update && sudo apt upgrade -y
sudo apt install -y make curl tar wget jq aria2 clang pkg-config libssl-dev jq build-essentialINSTALL GO
cd $HOME
VER="1.22.1"
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"
[ ! -f ~/.bash_profile ] && touch ~/.bash_profile
echo "export PATH=$PATH:/usr/local/go/bin:~/go/bin" >> ~/.bash_profile
source $HOME/.bash_profile
[ ! -d ~/go/bin ] && mkdir -p ~/go/binSet Vars
WALLET yerine istediğiniz bir ismi, MONIKER yerine bir validator adı yazmayı unutmayın.
echo "export WALLET="wallet"" >> $HOME/.bash_profile
echo "export MONIKER="test"" >> $HOME/.bash_profile
echo "export WARDEN_CHAIN_ID="buenavista-1"" >> $HOME/.bash_profile
echo "export WARDEN_PORT="18"" >> $HOME/.bash_profile
source $HOME/.bash_profileDownload and build binaries
Config init app
Download Genesis and Addrbook
Set seeds and peers
Config Pruning
set minimum gas price, enable prometheus and disable indexing
create service file
enable and start service
Snapshot
Stop the service and reset the data
Download latest snapshot
Restart the service and check the log
Last updated