Run a Community Verifier
Learn how to run a node to generate analytics data for data services like Etherscan and the Graph

Community Verifier Service

The ops/docker-compose-verifier-service.yml docker-compose project runs a local Verifier of the OMGX Rinkeby l2geth. The verifier looks at transactions and computes state roots. These community-generated state roots can then be compared against the state roots submitted to the L2 by the unitary sequencer, as the starting point for detecting (and recovering from) sequencer fraud.

Prerequisites

- docker - docker-compose

Start Verifier service

Configuration - Infura key

Replace INFURA_KEY with your own key in docker-compose-verifier-service.yml. You can get a free Infura key from https://infura.io.

Start the docker

Start the Verifier service via:
1
cd ops
2
docker-compose -f docker-compose-verifier-service.yml up
Copied!
This will pull two images from docker hub:

Common Errors

If you get this:
1
(node:1) UnhandledPromiseRejectionWarning: Error: could not detect network (event="noNetwork", code=NETWORK_ERROR, version=providers/5.1.0)
Copied!
then you forgot to replace INFURA_KEY in this line: DATA_TRANSPORT_LAYER__L1_RPC_ENDPOINT: https://rinkeby.infura.io/v3/INFURA_KEY with your Infura key. Your Infura key will be a string like c655138ed943455123456789123456789c, so the final line will look something like this:
1
DATA_TRANSPORT_LAYER__L1_RPC_ENDPOINT: https://rinkeby.infura.io/v3/c655138ed943455123456789123456789c
Copied!
Last modified 3mo ago