/moonbridge-subgraph

Subgraph to monitor the bridges on Moonbeam

Primary LanguageTypeScriptGNU General Public License v3.0GPL-3.0

MoonBridge Subgraph

An example Subgraph initially forked from The Graph example subgraph. Created by PureStake to monitor the Chainbridge bridges on Moonbeam.

Setup

Install the node dependencies using yarn:

yarn

Create the TS types for The Graph (requires the artifacts folder):

yarn codegen

Deploy the subgraph

Follow the TheGraph official documentation using the graph-cli.

For more information see The Graph docs on https://thegraph.com/docs/. Or the Moonbeam docs on https://docs.moonbeam.network/.