Install the Graph CLI
The Graph CLI is written in JavaScript, and you will need to install either yarn
or npm
to use it; it is assumed that you have yarn in what follows.
Once you have yarn
, install the Graph CLI by running
Install with yarn:
Install with npm:
If you prefer to use the web-based Graph network dashboard, you can click on the "Deploy & Publish" button in the top right corner of the page, select the network you want to deploy to, and follow the prompts.
Once your Graph network subgraph has been deployed, you can obtain the subgraph endpoint URL, which you will need to connect your Graph network subgraph to DappLooker.