Skip to content

Latest commit

 

History

History
26 lines (17 loc) · 591 Bytes

File metadata and controls

26 lines (17 loc) · 591 Bytes

Subgraph Usage

Deploy your subgraph

To index your smart contract events, use The Graph middleware. First, edit subgraph/subgraph.config.json to set the addresses of your smart contracts. You can find them in the deployment folder created under ignition. Then, run:

bunx settlemint login

This logs you in to the platform. This command only needs to be run once, so you can skip it if you've already logged in.

Then, run:

bunx settlemint scs subgraph deploy

Help

To get info about the tasks, run:

bunx settlemint scs subgraph --help