githubEdit

Stargaze Node Setup

Follow this guide to run your own Stargaze node and use it for your Lava Provider.

This is not financial advise. All information provided here are sourced from the following sites: https://www.polkachu.com/installation/stargazearrow-up-right https://www.polkachu.com/tendermint_snapshots/stargazearrow-up-right

RAM: 64 GB RAM Storage: 2 TB NVME SSD OS: Linux 22.04 Rent a server here (optional): https://www.interserver.net/r/950716arrow-up-right

Firewall Settings

Note: For reference, this is what I use for my servers:

sudo ufw default deny incoming
sudo ufw default allow outgoing

#ssh port
sudo ufw allow 22

#webmin port
sudo ufw allow 10000

#Allowed Ports
sudo ufw allow 16456/tcp
sudo ufw allow 16457/tcp
sudo ufw allow 16460/tcp
sudo ufw allow 16490/tcp
sudo ufw allow 16417/tcp
sudo ufw allow 26676/tcp
sudo ufw allow 26677/tcp
sudo ufw allow 26680/tcp
sudo ufw allow 2226
sudo ufw allow 443
sudo ufw allow 80

sudo ufw enable

Set Node name

Change it to anything you like.

Install dependencies

Update system and install build tools

Install Go

Download and build binaries

Install Cosmovisor and create a service

Configure Cosmovisor

Set node configuration

Initialize node

Download Genesis file

Configure Seed

Set Ports

This is a more simplified command to manually set the Ports of your LavaNet node. You can manually change it depending on your needs. Make sure there are no conflicts as this might cause the node to not run.

Download Snapshot

Get Snapshot. Wait for download to finish.

Prepare for extraction

Extract Snapshot

Restore backup

Make sure to set your Pruning settings properly before launching node.

Start service and check the logs

Some Useful commands

Run the following to check connected peers:

Check sync status:

Alias commands

I use the following to replace the long commands above. It might differ depending on your configuration.

Congratulations. You are now running a Stargaze Node.

Last updated