Skip to content

Latest commit

 

History

History
26 lines (18 loc) · 777 Bytes

README.md

File metadata and controls

26 lines (18 loc) · 777 Bytes

Your Justice Subgraph

Commands

  • Install Graph CLI: yarn global add @graphprotocol/graph-cli
  • Install dependencies: yarn install
  • Set deployment key: graph auth
  • Update generated code: yarn codegen
  • Deploy to development subgraph: yarn deploy-dev
  • Deploy to sandbox subgraph: yarn deploy-sandbox
  • Deploy to production subgraph: graph deploy --node https://api.thegraph.com/deploy/ kiv1n/yourjustice

Subgraph

Links

Query for check the latest block a subgraph has indexed

{_meta{block{number}}}