Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
See subgraph/README.md for instructions on how to deploy the subgraph locally. - Add `subgraph/` to the workspaces. - A script, `./deploy-subgraph`, can be used to deploy the subgraph in a convenient way. See `--help` for details. Some context: - The subgraph uses data source templates [1] for the collateral contracts. - The script can update the collateral registry address in the `subgraph.yaml` if it doesn’t match the one found in the latest deployment context. - In `./deploy-subgraph`, only the local preset is implemented for now. [1] https://thegraph.com/docs/en/developing/creating-a-subgraph/#data-source-templates
- Loading branch information