Skip to content

vianetwork/via-subgraph

Repository files navigation

L2 indexer for via network

The indexer indexes the L2BaseTOken events and stores them in a PostgresDB. The data can be accessed using the Graphql UI.

Running the Bridge Graph

  1. Start Docker:

    make up
  2. Install Dependencies:

    make install-all
  3. Generate & Build:

    make codegen-all
    make build-all
  4. Create Subgraphs (First time only):

    make create-local-l1
    make create-local-l2
  5. Deploy Subgraphs:

    make deploy-all-local

One-liner for updates (after first setup):

make codegen-all && make build-all && make deploy-all-local

Accessing Data

Access the data using the graphql UI

Cleanup

Run make down to clean the containers

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •