-
Clone the repo and install the dependencies:
-
Interactively configure the environment with
You will be asked to select a network. You can pick any network from our supported EVM networks; networks that are not currently supported by TheGraph will be available their under SQD names. Optionally you can also provide an RPC endpoint. If you do, it will be used to sync a few thousands of blocks at the chain end, so it does not have to be a paid one. However,
firehose-grpcdoes not limit its request rate yet, so using a public RPC might result in a cooldown. If you do not provide an RPC endpoint, your subgraph deployments will be a few thousands of blocks behind the chain head. -
Download and deploy your subgraph of choice! For example, if you configured the environment to use Ethereum mainnet (
eth-mainnet), you can deploy the well known Gravatar subgraph:GraphiQL playground will be available at http://127.0.0.1:8000/subgraphs/name/example/graphql.
Troubleshooting
Do not hesitate to let us know about any issues (whether listed here or not) at the SquidDevs Telegram chat.-
If your subgraph is not syncing and you’re getting
errors in the
graph-node-setup-firehosecontainer logs, that likely means that the chain RPC is not fully Ethereum-compatible and a workaround is not yet implemented infirehose-grpc. You can still sync your subgraph with RPC ingestion disabled.

