Running a Node
The steps to successfully run a node on the Andromeda chain.
Install Prerequisites
sudo apt-get update && sudo apt upgrade -y
sudo apt-get install make build-essential git jq chrony -ysudo apt install gccIncreasing the default open files limit
sudo su -c "echo 'fs.file-max = 65536' >> /etc/sysctl.conf"
sudo sysctl -pInstalling Go 1.20.x
Updating Environment Variables
cat <<'EOF' >>$HOME/.profile
export GOROOT=/usr/local/go
export GOPATH=$HOME/go
export GO111MODULE=on
export GOBIN=$HOME/go/bin
export PATH=$PATH:/usr/local/go/bin:$GOBIN
EOF
source $HOME/.profileInitialize the Config Files
Create new keys, or import existing wallet with BEP32 mnenomic phrase:
`gentx` Command
Create environment Variable:
Setting up persistent peers in config.toml
Add Persistent Peers to config.toml:
Example
Copy Genesis File:
Starting the Network
Create Validator Command
Setup andromedad systemd service (copy and paste all to create the file service)
Enable and activate the andromedad service.
Insert content into andromedad.service:
Move file to systemd folder:
Check info about node:
Was this helpful?