Skip to content

Run a node ​

Use cosmo-local-credit/gnosis-node. It runs reth and Nimbus with Docker Compose and bootstraps both from snapshots, so the node does not sync from genesis.

Requirements ​

  • 4+ CPU threads and 16 GB+ RAM
  • 1 TB+ NVMe SSD (SATA SSD works)
  • Unmetered or high-cap network
  • Ubuntu or Debian

Open these ports inbound:

PortUse
30303 TCP/UDPreth P2P
9000 TCP/UDPNimbus P2P
80, 443 TCPOptional HTTPS with Caddy

JSON-RPC (8545), WebSocket (8546), Engine API (8551) and Beacon API (5052) bind to 127.0.0.1 only.

Install ​

Run as root.

sh
apt update && apt upgrade --yes
apt install curl chrony git openssl xxd
curl -fsSL https://get.docker.com | bash

git clone https://github.com/cosmo-local-credit/gnosis-node.git
cd gnosis-node

chrony keeps the clock in sync. Nimbus is sensitive to clock drift.

Configure ​

All client settings are in reth.env and nimbus.env. The defaults run a Gnosis mainnet full node. Image tags are pinned in docker-compose.yaml.

For the Chiado testnet, see Chiado testnet.

Bootstrap and start ​

sh
./bootstrap.sh
docker compose up -d

bootstrap.sh creates the gnosis Docker network and the Engine API secret (shared/jwt.hex), restores a reth snapshot, and runs Nimbus checkpoint sync. The snapshot is large. If the download stops, run the script again to resume. Stop the stack with docker compose down before you re-run it.

sh
docker compose logs -f --tail=200 reth
docker compose logs -f --tail=200 nimbus

To serve RPC over HTTPS, use the Caddy setup in caddy/. Optional HTTPS

Next: verify the node.