Run a Testnet read node

Requirements

  • Minimum hardware requirements: AWS EC2 m5.large with 8GB RAM, 2 vCPUs, and at least 300GB of Amazon EBS General Purpose SSD (gp2) storage (or equivalent).

  • We would recommend going with Ubuntu Server 20.04 LTS (64-bit).

Network Settings

Open up port 22 for SSH, as well as port 7946 for both TCP and UDP traffic. A custom port can be used with "--port <port>" flag when running your neon node.

Install Required Tools

You are still logged in as the new user via SSH. Now we are going to install Go and Neon.

First, install the required build tools:

# Install build-essential
(validator)$ sudo apt-get install -y build-essential
# Install go
(validator)$ wget https://dl.google.com/go/go1.17.7.linux-amd64.tar.gz
(validator)$ sudo tar -xvf go1.17.7.linux-amd64.tar.gz
(validator)$ sudo mv go /usr/local
# Export go paths
(validator)$ vi ~/.bash_aliases
# Append the following lines
export GOROOT=/usr/local/go
export GOPATH=$HOME/go
export PATH=$GOPATH/bin:$GOROOT/bin:$PATH
#
source ~/.bash_aliases

Run a read node

# Install Neon
(validator)$ git clone https://github.com/neon-link/go-ethereum.git
(validator)$ cd go-ethereum/
(validator)$ make

Validate your Neon installation:

$./build/neon help

VERSION:
1.0.2

Download a genesis file from this list of genesis files.

# Start neon node
(validator)$ cd build/
(validator)$ wget https://github.com/neon-link/neon-binaries/raw/master/testnet.g
(validator)$ nohup ./galaxy --genesis testnet.g --nousb &

You can start a node with a sync mode flag. There are two possible options:

  • "--syncmode snap", and

  • "--syncmode full" (by default).

For the archive node and validator node, you should use full sync mode.

Last updated