Skip to content

SIR-trading/subgraph

Repository files navigation

Instructions to deploy on Alchemy

  1. npm i to install dependencies
  2. Change the following fields in subgraph.yaml under field dataSources:
    • address : The address of the contracts
    • startBlock : Block of the contract deployment or earlier, it helps index more efficiently since it avoids having to scan the blockchain since inception
    • network : E.g., mainnet, sepolia, etc. See https://thegraph.com/docs/en/developing/supported-networks/
  3. Go to https://subgraphs.alchemy.com/onboarding
  4. Change the addresses in contract.ts
  5. Follow instructions on Deploy to CLI. Use npx graph to run the graph cli as a local dependancy.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors