sudo git clone --branch x1 https://github.com/FairCrypto/go-x1 && sudo wget https://go.dev/dl/go1.21.4.linux-amd64.tar.gz && sudo tar -C /usr/local -xzf go1.21.4.linux-amd64.tar.gz && export PATH=$PATH:/usr/local/go/bin && source ~/.profile && source ~/.bashrc
cd && chmod -R 777 go-x1 && cd go-x1 && go mod tidy && make x1 && sudo cp build/x1 /usr/local/bin
Download snapshort, extract & Update
cd && wget --no-check-certificate https://xenblocks.io/snapshots/current.snapshot.tar
cd && rm -rf ~/.x1/chaindata && rm -rf ~/.x1/go-x1 && tar -xvf current.snapshot.tar
cd && cd go-x1
git stash
git pull
git checkout x1
git stash pop
go mod tidy
make x1
sudo cp build/x1 /usr/local/bin && cd
Create Validator
x1 validator new
Save the Validator Password
(Change pass MY_STRONG_PASSWORD)