Node Installation

1. Update System and Install Build Tools

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

2. Install Go

rm -rf $HOME/go
sudo rm -rf /usr/local/go
cd $HOME
curl https://dl.google.com/go/go1.22.4.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

3. Install Node

cd $HOME
rm -rf elys
git clone https://github.com/elys-network/elys.git
cd elys
git fetch --all
git checkout v2.3.0
make install
elysd version

4. Initialize Node

Replace NodeName with your own moniker.

5. Download Genesis

6. Copy Genesis File

7. Paste Peers to Config

Add the peers:

8. Change External Address

9. Create Service

10. Reload Daemon and Enable Service

11. Sync with Statesync

Now set up statesync:

Edit the config.toml to use the statesync parameters:

12. Verify Config Changes

13. Launch Node

Last updated