/erigon_bash

simple bash script to run erigon node

Primary LanguageShellGNU General Public License v3.0GPL-3.0

Simple script to install and run erigon node + rpcdaemon

Download install.sh

git clone https://github.com/kw1knode/erigon_bash.git

cd erigon_bash

chmod +x install.sh

Run install.sh

./install.sh

Check on the erigon service:

supervisorctl status erigon

tail -f /var/log/supervisor/erigon.err.log

Check on the rpcdaemon status:

supervisorctl status rpcdaemon

tail -f /var/log/supervisor/rpcdaemon.err.log

If any changes are made to .confs run:

supervisorctl update

/etc/supervisor/conf.d/erigon.conf /etc/supervisor/conf.d/rpcdaemon.conf

Updating Node

git pull
make
supervisorctl stop rpcdaemon
supervisorctl stop erigon
cp -r ./build/bin /opt/erigon/
supervisorctl start erigon
supervisorctl start rpcdaemon

Allow Peers

ufw allow 30303

Allow RPC endpoint

ufw allow from 1.1.1.1 to any port 8545

**Erigon 8.03 Alpha **

chaindata folder was moved from datadir/erigon/chaindata into datadir/chaindata Please move chaindata manually before starting the new version