npm ito install dependencies- Change the following fields in subgraph.yaml under field
dataSources:address: The address of the contractsstartBlock: Block of the contract deployment or earlier, it helps index more efficiently since it avoids having to scan the blockchain since inceptionnetwork: E.g., mainnet, sepolia, etc. See https://thegraph.com/docs/en/developing/supported-networks/
- Go to https://subgraphs.alchemy.com/onboarding
- Change the addresses in contract.ts
- Follow instructions on Deploy to CLI. Use
npx graphto run thegraphcli as a local dependancy.
SIR-trading/subgraph
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|