Publishing a Subgraph to the Decentralized Network
Once your subgraph has been deployed to the Subgraph Studio, you have tested it out, and are ready to put it into production, you can then publish it to the decentralized network.
For a walkthrough of how to publish a subgraph to the decentralized network, see this video.
You can find the list of the supported networks Here.
Subgraphs can be published to the decentralized network directly from the Subgraph Studio dashboard by clicking on the Publish button. Once a subgraph is published, it will be available to view in the Graph Explorer.
Subgraphs published to Goerli can index and query data from either the Goerli network or Ethereum Mainnet.
Subgraphs published to Ethereum Mainnet can only index and query data from Ethereum Mainnet, meaning that you cannot publish subgraphs to the main decentralized network that index and query testnet data.
When publishing a new version for an existing subgraph the same rules apply as above.
Once your subgraph has been published to the decentralized network, you can modify the metadata at any time by making the update in the Subgraph Studio dashboard of the subgraph. After saving the changes and publishing your updates to the network, they will be reflected in The Graph Explorer. This won’t create a new version, as your deployment hasn’t changed.