Node setup

XRPLEVM NODE SETUP

Install tools:

sudo apt update && sudo apt upgrade -y
sudo apt install make curl git wget htop tmux build-essential jq make lz4 gcc unzip -y

Install GO:

cd $HOME
VER="1.22.8"
wget "https://golang.org/dl/go$VER.linux-amd64.tar.gz"
sudo rm -rf /usr/local/go
sudo tar -C /usr/local -xzf "go$VER.linux-amd64.tar.gz"
rm "go$VER.linux-amd64.tar.gz"
[ ! -f $HOME/.bash_profile ] && touch $HOME/.bash_profile
echo "export PATH=$PATH:/usr/local/go/bin:$HOME/go/bin" >> $HOME/.bash_profile
source $HOME/.bash_profile
[ ! -d $HOME/go/bin ] && mkdir -p $HOME/go/bin

Download & Build binary

Clone project repository

Build binaries

Check version:

result:

Install Cosmovisor and create a service

Download and install Cosmovisor

Or

Set vars

Init & prepare for Upgrade Cosmovisor folder

Create service

INITIA NODE:

CONFIG & INIT APP

Set node configuration

Initialize the node

Custom Port:

set custom ports in app.toml

set custom ports in config.toml file

Set minimum gas price

Set pruning

Disable indexer

Enable Prometheus

Remove node: Please, before proceeding with the next step! All chain data will be lost! Make sure you have backed up your priv_validator_key.json!

Last updated