Run Block Explorer

Start block explorers to view Geth state and Solana state

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

Set environment variables

export FRONTEND_DOCKER_TAG=v1.36.2
export DOCKER_TAG=6.9.2
export STATS_DOCKER_TAG=v2.2.3
export VISUALIZER_DOCKER_TAG=v0.2.1
export SIG_PROVIDER_DOCKER_TAG=v1.1.1
export SMART_CONTRACT_VERIFIER_DOCKER_TAG=v1.9.2
export USER_OPS_INDEXER_DOCKER_TAG=v1.3.0

Copy Nginx Certificate

If setting up on a remote server, then copy nginx certificates to your local directory. If you are setting up locally, then skip this step.

Note: Replace the file path below with the location of your certificate.

mkdir -p ./nginx/ssl
sudo cp /etc/letsencrypt/live/caesar.internal.romeprotocol.xyz/fullchain.pem ./nginx/ssl/
sudo cp /etc/letsencrypt/live/caesar.internal.romeprotocol.xyz/privkey.pem ./nginx/ssl/

Update domain name

If you are running your L2 on a remote server, replace the domain name in the two files below.

  • services/nginx1.yml

  • envs/common-frontend1.env

Note: If running locally, skip modifying the domain.

Update naming & branding

Update the frontend env file to use your L2 details such as Chain ID, Name, Currency, Logo, and Color.

Edit envs/common-frontend.env

NEXT_PUBLIC_NETWORK_NAME=Caesar
NEXT_PUBLIC_NETWORK_SHORT_NAME=Caesar
NEXT_PUBLIC_NETWORK_ID=98989897
NEXT_PUBLIC_NETWORK_CURRENCY_NAME=RSOL
NEXT_PUBLIC_NETWORK_CURRENCY_SYMBOL=RSOL

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

Run the docker containers

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 -d

Access Rome Scout Explorer at:

Solana Explorer

Solana Block Explorer can be accessed at https://explorer.solana.com/?cluster=devnet

No setup needed for this.

Last updated

Was this helpful?