https://github.com/BuiltByMom/ajna-subgraph
This guide is only for deploying Subgraph on SaaS services, like Goldsky or Alchemy Subgraph
Clone the repo https://github.com/BuiltByMom/ajna-subgraph and setup by README instruction
Add the new chain to https://github.com/BuiltByMom/ajna-subgraph/blob/develop/networks.json file
goldsky, alchemy, etc)startBlock where they were deployed (or earlier one) on a new chain: ERC20PoolFactory, ERC721PoolFactory, PositionManager, AjnaToken.GrantFund and BurnWrappedAjna are needed only for mainnet, so zero address and any valid chain startBlock should workAdd PoolInfoUtils, PoolInfoUtilsMulticall and PositionManager addresses to https://github.com/BuiltByMom/ajna-subgraph/blob/develop/src/utils/constants.ts file with a new chain name (same chain name as in networks.json file)
Run yarn build --network $NEW_CHAIN_NAME
Deploy it with command for your service and fetch graphql url
ajna-${NEW_CHAIN_NAME}/v0.1.4-rc10
where rc10 is contracts version (shouldn’t change unless redeployed)
and v0.1.4 is SemVer
Create a PR with a new chain to the repo