The indexer indexes the L2BaseTOken events and stores them in a PostgresDB. The data can be accessed using the Graphql UI.
-
Start Docker:
make up
-
Install Dependencies:
make install-all
-
Generate & Build:
make codegen-all make build-all
-
Create Subgraphs (First time only):
make create-local-l1 make create-local-l2
-
Deploy Subgraphs:
make deploy-all-local
One-liner for updates (after first setup):
make codegen-all && make build-all && make deploy-all-localAccess the data using the graphql UI
Run make down to clean the containers