Run Block Explorer

Start block explorers to view Geth state and Solana state

Start Geth Block Explorer

Checkout repo

If you are running your L2 on your local machine, clone the local branch:

git clone --branch local https://github.com/rome-labs/romescout.git

If you are running your L2 on a remote server, clone the testnet branch.

git clone --branch testnet https://github.com/rome-labs/romescout.git
cd romescout/docker-compose

Update configuration to use your domain

If you are running your L2 on a remote server, replace rollup.testnet.romeprotocol.xyz with your domain in the following two files. If you are running locally, you can skip modifying these files.

  • romescout/docker-compose/services/nginx.yml

  • romescout/docker-compose/envs/common-frontend.env

Update configuration to use your naming and branding

NEXT_PUBLIC_NETWORK_NAME=Rome
NEXT_PUBLIC_NETWORK_SHORT_NAME=Rome
NEXT_PUBLIC_NETWORK_ID=915817419
NEXT_PUBLIC_NETWORK_CURRENCY_NAME=Rome
NEXT_PUBLIC_NETWORK_CURRENCY_SYMBOL=ROME

NEXT_PUBLIC_NETWORK_LOGO=http://rome-public-assets.s3.us-east-1.amazonaws.com/rome-banner.png
NEXT_PUBLIC_NETWORK_ICON=http://rome-public-assets.s3.us-east-1.amazonaws.com/rome-logo.png
NEXT_PUBLIC_HOMEPAGE_PLATE_TEXT_COLOR=white
NEXT_PUBLIC_HOMEPAGE_PLATE_BACKGROUND=#5E0A60

Build docker image and run

Remove old data, skip if running for the first time

sudo rm -rf services/blockscout-db-data
sudo rm -rf services/stats-db-data

Build and run docker container locally

docker-compose up --build -d
# docker compose down

Access Rome Scout Explorer at http://localhost:1000 if running locally or https://rollup.testnet.romeprotocol.xyz:1000 (replace with your domain) if running on remote server.

Access Solana Block Explorer

Last updated