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:
| Port | Use |
|---|---|
30303 TCP/UDP | reth P2P |
9000 TCP/UDP | Nimbus P2P |
80, 443 TCP | Optional 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.
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-nodechrony 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
./bootstrap.sh
docker compose up -dbootstrap.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.
docker compose logs -f --tail=200 reth
docker compose logs -f --tail=200 nimbusTo serve RPC over HTTPS, use the Caddy setup in caddy/. Optional HTTPS
Next: verify the node.