This repo helps you to quickly deploy nodes in any linux env
All data will be store in /data folder
You should mount or link /data folder to a large ssd drive
cd geth
bash setup.sh
docker compose up -d
You must start geth first, and synced up to date
cd polygon
#If you want to setup with downloading snapshot, do this:
DOWNLOAD_SNAP=true bash setup.sh
# no snapshot downloading
bash setup.sh
docker compose up -d
You must start geth first, and synced up to date
cd arbitrum
bash setup.sh
docker compose up -d
update tags frequently
yarn
node updateTag.js
docker compose up -d
This is not tested. check the files in optimism folder.
cd erigon-mainet
bash setup.sh
docker compose up -d
#attach geth
docker exec -it ethereum geth attach
eth.syncing
# check syncing:
curl 'localhost:8945' --header 'Content-Type: application/json' -d '{"jsonrpc":"2.0","method":"eth_syncing","params":[],"id":1}'
curl 'localhost:8945' --header 'Content-Type: application/json' -d '{"jsonrpc":"2.0","method":"eth_blockNumber","params":[],"id":2}'
if "Synchronisation failed, retrying" happens, need to restart node