A step-by-step guide to deploying a subgraph on Matchain using The Graph for efficient blockchain data indexing.
Prepare Your Subgraph
subgraph.yaml
file to point to Matchain specific contracts and events. If you don’t have a subgraph, you can clone the Uniswap V2 (MSwap) subgraph template and customize it for Matchain:Install Dependencies
Install Mobula CLI
Setup API Key
Build Your Subgraph
Deploy your subgraph
Monitor Deployment
subgraph.yaml
configuration.