Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

document steps to publish a subgraph to the network that is not supported by studio #806

Open
matthewdarwin opened this issue Oct 28, 2024 · 2 comments

Comments

@matthewdarwin
Copy link

It is possible to publish subgraphs on the network that are not supported in studio. This process should be well documented, and aligned with the upcoming changes to the CLI.

Perhaps CLI and docs changes should be made together? @alex-pakalniskis

For this flow:

A developer should

  1. write substreams module, test it, make sure it works (if a substreams powered subgraph)
  2. write subgraph with triggers that uses that substreams package (or just a normal subgraph)
  3. test it locally with local instance of graph node
  4. deploy on the decentralized network with the cli tool "graph publish" and ask indexers on the Graph server to pick it up (which channel in discord should they ask?)
  5. start querying it
@p-diogo
Copy link

p-diogo commented Oct 30, 2024

@matthewdarwin , we have it documented, but we can do much better. I was personally waiting for a few things to be done first. My sense of dependencies:

  1. Get the new GitHub-based chain registry going (WiP)
  2. Update the CLI subgraph publish experience:
    a) pull network names from the registry and provide
    b) provide an option to add a new network name if non-existent (link to a contributing.md on the chain registry repo or something like that)

Once we have this, we should be able to update the docs, and onboarding chains may become a lot easier once we have this + DIPS/Indexing Fees (I will not get into the details of it to keep this thread clean).

@matthewdarwin
Copy link
Author

CC @YaroShkvorets on cli requirements

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants