This repo contains the Subgraph for the Ideamarket contracts.
-
Build:
npm run build:<NETWORK> [--branch=<BRANCH>] [--startblock=<STARTBLOCK>]NETWORK: Can bemainnet,rinkebyortestbranch: Optional argument. Defines which branch of theideamarket-contractsrepository is used. Default:masterstartblock: Optional argument. Defines on which block the subgraph should start syncing.
-
Deploy:
npx graph deploy --node <NODE> --ipfs <IPFS> <NAME>NODE: URL of the graph nodeIPFS: URL of the IPFS nodeNAME: The name of the subgraph
See the official The Graph documentation for information on how to alter and query a subgraph.