Azos subgraph captures smart contract events from the graph. A subgraph will need to be generated and launched for the application to get its data.
- Install
yarn global add @graphprotocol/graph-cli
yarn install
- You will have to create a graph instance to get your DEPLOY KEY and SUBGRAPH_SLUG.
- to build the graph and deploy:
graph auth --hosted-service <DEPLOY KEY>
graph codegen && graph build --network sepolia
graph deploy --product hosted-service <SUBGRAPH_SLUG>