Here's a concise guide on how to set up and run a Neutron node:

Prerequisites

Installation

Clone the Neutron repository and install the binary:

git clone <https://github.com/neutron-org/neutron>
cd neutron
git checkout v4.2.4
make install

Initialize the node:

neutrond init YOUR_MONIKER --chain-id neutron-1

Replace YOUR_MONIKER with your chosen node name.

Download the genesis file:

wget -O genesis.json <https://snapshots.polkachu.com/genesis/neutron/genesis.json> --inet4-only
mv genesis.json ~/.neutrond/config

Configure seed node:

sed -i 's/seeds = ""/seeds = "[email protected]:19156"/' ~/.neutrond/config/config.toml

Cosmovisor Setup

Create Cosmovisor directories:

mkdir -p ~/.neutrond/cosmovisor/genesis/bin
mkdir -p ~/.neutrond/cosmovisor/upgrades

Copy the node binary:

cp ~/go/bin/neutrond ~/.neutrond/cosmovisor/genesis/bin