Sunrise + Upgrading to The Graph Network FAQ

Reading time: 17 min

Note: This document is continually updated to ensure the most accurate and helpful information is provided. New questions and answers are added on a regular basis. If you can’t find the information you’re looking for, or if you require immediate assistance, reach out on Discord. If you are looking for billing information, then please refer to billing.

What is the Sunrise of Decentralized Data?

このセクションへのリンク

The Sunrise of Decentralized Data is an initiative spearheaded by Edge & Node. The goal is to enable subgraph developers to seamlessly upgrade to The Graph’s decentralized network.

この計画は、新しく公開されたサブグラフに対するクエリを提供するためのアップグレードされたIndexerや、新しいブロックチェーンネットワークをThe Graphに統合する機能など、The Graphエコシステムのこれまでの多くの開発を利用しています。

What are the phases of the Sunrise?

このセクションへのリンク

Sunray: Enable support for hosted service chains, introduce a seamless upgrade flow, offer a free plan on The Graph Network, and provide simple payment options.
Sunbeam: The upgrade window that subgraph developers will have to upgrade their hosted service subgraphs to The Graph Network. This window will end at 10 a.m. PT on June 12th 2024.
Sunrise: Hosted service endpoints will no longer be available after 10 a.m. PT on June 12th, 2024.

The Graph Networkへのサブグラフのアップグレード

このセクションへのリンク

When will hosted service subgraphs no longer be available?

このセクションへのリンク

Hosted service query endpoints will remain active until 10 a.m. PT on June 12th. After June 12th at 10 a.m. PT, query endpoints will no longer be available, and developers will no longer be able to deploy new subgraph versions on the hosted service.

I didn’t upgrade my subgraph by June 12th at 10 a.m. PT. What should I do if I still want to use it?

このセクションへのリンク

The hosted service homepage is still accessible and can be used to search for legacy hosted service subgraphs. If your hosted service subgraph has already been auto-upgraded, you may claim its network equivalent as the original owner. If your subgraph was not auto-upgraded subgraphs, you can still upgrade and publish it.

Upgrading takes less than five minutes on average. Once your subgraph is up, simply set up an API key in Subgraph Studio, update your API query endpoint, and begin querying!

Will my hosted service subgraph be supported on The Graph Network?

このセクションへのリンク

Yes, the upgrade Indexer will automatically support all hosted service subgraphs published to The Graph Network for a seamless upgrade experience.

How do I upgrade my hosted service subgraph?

このセクションへのリンク

Note: Upgrading a subgraph to The Graph Network cannot be undone.

To upgrade a hosted service subgraph, you can visit the subgraph dashboard on the hosted service.

  1. Select the subgraph(s) you want to upgrade.
  2. Select the receiving wallet (the wallet that will become the owner of the subgraph).
  3. Click the "Upgrade" button.

Once your subgraph is published, the upgrade Indexer will begin serving queries on it. Once you have generated an API key, you can begin making queries immediately. Learn more.

How can I get support with the upgrade process?

このセクションへのリンク

The Graph community is here to support developers as they move to The Graph Network. Join The Graph's Discord server and request help in the #upgrade-decentralized-network channel.

How can I ensure high quality of service and redundancy for subgraphs on The Graph Network?

このセクションへのリンク

All subgraphs will be supported by the upgrade Indexer. For a higher quality of service and more robust redundancy, you can add a curation signal to subgraphs eligible for indexing rewards. It is recommended that you curate your subgraph with at least 3000 GRT (per subgraph) to attract about 3 Indexers. Learn more about adding signal to your subgraph.

Please note that this indexing incentive does not deplete over time; it has no depletion rate and is instantly withdrawable at any time. If you want to add 3000 GRT in signal, you will need to signal 3030 GRT (as 1% would be burned). Note that a 0.5% fee is also deducted from the subgraph’s signal every time a new version is published.

Subgraphs which are not eligible for indexing rewards may struggle to attract further Indexers. For example, indexing rewards may not be available for subgraphs on certain chains (check support here).

Members from these blockchain communities are encouraged to integrate their chain through the Chain Integration Process.

How do I publish new versions to the network?

このセクションへのリンク

You can deploy new versions of your subgraph directly to Subgraph Studio, which provides a testing environment, before publishing to the network for production usage. Subgraph Studio has a different deployment command and requires a version-label for each new deployment.

  1. Upgrade to the latest version of graph-cli
  2. Update your deploy command
# Authorize with Subgraph Studio, available on your subgraph page
## Alternativel pass this into the deploy command as --access-token (see below)
graph auth --studio <deploy-key>
# Deploy to Subgraph Studio
## Unlike the hosted service, the name is just the subgraph name (no github id)
## If using `--node` directly, you can pass in https://api.studio.thegraph.com/deploy/
graph deploy --studio --version <version> --access-token <deploy-key> <subgraph-name>

This new version will then sync in Subgraph Studio, a testing and sandbox environment. When you are ready to move a new version to production, you can publish the subgraph version.

Publishing requires Arbitrum ETH - upgrading your subgraph also airdrops a small amount to facilitate your first protocol interactions 🧑‍🚀

I use a subgraph developed by someone else, how can I make sure that my service isn't interrupted?

このセクションへのリンク

When the owner has upgraded their subgraph, you will be able to easily go from the subgraph's hosted service page to the corresponding subgraph on The Graph Network, and update your application to use the new subgraph's query URL. Learn more.

Around the start of June, Edge & Node will automatically upgrade actively queried subgraphs. This will give any third-party data consumers an opportunity to move subgraph endpoints to The Graph Network before 10 a.m. on June 12th. The subgraph owners will still be able to claim these subgraphs on the network using the hosted service upgrade flow.

My subgraph has been auto-upgraded, what does that mean?

このセクションへのリンク

Subgraphs on the hosted service are open APIs, and many subgraphs are relied upon by third-party developers to build their applications. To give those developers sufficient time to move to The Graph Network, Edge & Node will be "auto-upgrading" highly used subgraphs. A link to the "auto-upgraded" subgraph will be visible on the original subgraph's page on the hosted service.

Owners of "auto-upgraded" subgraphs can easily claim their upgraded subgraphs using the same upgrade flow - such subgraphs can be identified by their "auto-upgraded" tag. Ownership of the subgraph on The Graph Network will be transferred to the owner's wallet.

My subgraph has been auto-upgraded, but I need to deploy a new version

このセクションへのリンク

You can use the upgrade flow to claim the auto-upgraded subgraph, and then you can deploy a new version in Subgraph Studio, using the same infrastructure that powers the hosted service.

If you require an urgent fix, please contact support.

What happens if I don't upgrade my subgraph?

このセクションへのリンク

Subgraphs will be queryable on the hosted service until 10 a.m. PT on June 12th. After this date, the hosted service homepage will still be accessible, however, query endpoints will no longer be available. Owners of hosted service subgraphs will still be able to upgrade their subgraphs to The Graph Network after June 12th, though earlier upgrades are entitled to earn rewards. Developers will also be able to claim auto-upgraded subgraphs.

What should I do with my subgraphs on the hosted service? Will they stop working and should I delete them?

このセクションへのリンク

It is not possible to delete subgraphs. Query endpoints will remain active until 10 a.m. PT on June 12th, regardless of whether they have been upgraded or not.

Will Subgraph Studio be impacted by this upgrade?

このセクションへのリンク

No, Subgraph Studio will not be impacted by Sunrise.

What will happen to the hosted service?

このセクションへのリンク

After 10 a.m. PT on June 12th, query endpoints will no longer be available, and owners won't be able to deploy or query the hosted service. However, the hosted service UI will still show subgraph pages, and subgraph owners will be able to upgrade their subgraphs if they haven't already. The hosted service UI will be retired at a later date.

Will subgraphs need to be re-indexed again?

このセクションへのリンク

No, rest assured that your subgraph will not need to be re-indexed when it is upgraded to The Graph Network. Subgraphs will be immediately available for querying, powered by the upgrade Indexer, which uses the same infrastructure as the hosted service. If your subgraph is indexing a network that is eligible for indexing rewards, you can add signal to attract indexers. Learn more about adding signal to your subgraph.

I’m experiencing indexing issues. What should I do?

このセクションへのリンク

Rest assured that network Indexers are prepared to provide support during this upgrade. If you experience issues with any of your subgraph queries, please reach out to [email protected]

Why is my subgraph being published to Arbitrum, is it indexing a different network?

このセクションへのリンク

The Graph Network was originally deployed on mainnet Ethereum but moved to Arbitrum One to reduce gas costs for all users. As such any new subgraphs are published to The Graph Network on Arbitrum so that they can be supported by Indexers. Arbitrum is the network that subgraphs are published to, but subgraphs can index any of the supported networks

How can I get started querying subgraphs on The Graph Network?

このセクションへのリンク

You can explore available subgraphs on Graph Explorer. Learn more about querying subgraphs on The Graph.

About the Upgrade Indexer

このセクションへのリンク

What is the upgrade Indexer?

このセクションへのリンク

The upgrade Indexer is designed to improve the experience of upgrading subgraphs from the hosted service to The Graph Network and to support new versions of existing subgraphs that have not yet been indexed.

The upgrade Indexer aims to bootstrap chains that don't have indexing rewards yet on The Graph Network and to serve as a fallback for new subgraph versions. The goal is to ensure that an Indexer is available to serve queries as quickly as possible after a subgraph is published.

What chains does the upgrade Indexer support?

このセクションへのリンク

The upgrade Indexer supports chains that were previously only available on the hosted service.

サポートされているチェーンの包括的なリストはこちら

なぜEdge & Nodeはアップグレード・インデクサーを実行しているのか?

このセクションへのリンク

Edge & Node has historically maintained the hosted service and, as a result, has already synced data for hosted service subgraphs.

All Indexers are encouraged to become upgrade Indexers as well. However, note that operating an upgrade Indexer is primarily a public service to support new subgraphs and additional chains that lack indexing rewards before they are approved by The Graph Council.

What does the upgrade indexer mean for existing Indexers?

このセクションへのリンク

Chains that were previously only supported on the hosted service will now be available to developers on The Graph Network without indexing rewards at first, but it will unlock query fees for any Indexer that is interested. This should lead to an increase in the number of subgraphs being published on The Graph Network, providing more opportunities for Indexers to index and serve these subgraphs in return for query fees, even before indexing rewards are enabled for a chain.

アップグレード・インデクサーはまた、グラフ・ネットワーク上のサブグラフや新しいチェーンの潜在的な需要に関する情報を、インデクサー・コミュニティに提供します。

これはデリゲーターにとって何を意味するのか?

このセクションへのリンク

アップグレード・インデクサーは、デリゲータに強力な機会を提供します。より多くのサブグラフがホスティングされたサービスからグラフネットワークにアップグレードされると、デリゲータはネットワーク活動の増加から利益を得ることができます。

アップグレード・インデクサーは、既存のインデクサーと報酬を奪い合うのでしょうか?

このセクションへのリンク

いいえ、アップグレード・インデクサーは、サブグラフごとに最小量しか割り当てず、インデックス作成報酬は受け取りません。

It operates on an “as needed” basis and serves as a fallback until sufficient service quality is achieved by at least 3 other Indexers in the network for respective chains and subgraphs.

これはサブグラフ開発者にどのような影響を与えるのでしょうか?

このセクションへのリンク

Subgraph developers will be able to query their subgraphs on The Graph Network almost immediately after upgrading from the hosted service or publishing from Subgraph Studio, as no lead time will be required for indexing.

これはデータ消費者にとってどのようなメリットがあるのでしょうか?

このセクションへのリンク

The upgrade Indexer enables chains on the network that were previously only supported on the hosted service. Therefore, it widens the scope and availability of data that can be queried on the network.

アップグレード・インデクサーは、クエリにどのような価格をつけるのでしょうか?

このセクションへのリンク

アップグレード・インデクサーは、クエリ料金市場に影響を与えないよう、クエリ料金を市場価格で設定すします。

アップグレード・インデクサーがサブグラフのサポートを停止する基準は何ですか?

このセクションへのリンク

アップグレード・インデクサーは、少なくとも3つの他のインデクサーによって提供された一貫性のあるクエリで、サブグラフが十分かつ正常に提供されるまで、サブグラフを提供します。

さらに、アップグレード・インデクサーは、そのサブグラフが過去30日間にクエリされなかった場合、そのサブグラフのサポートを停止します。

Other Indexers are incentivized to support subgraphs with ongoing query volume. The query volume to the upgrade Indexer should trend towards zero, as it will have a small allocation size, and other Indexers will be chosen for queries ahead of it.

About The Graph Network

このセクションへのリンク

インフラは自分で用意する必要がありますか?

このセクションへのリンク

No, all infrastructure is operated by independent Indexers on The Graph Network, including the upgrade Indexer (read more below).

You can use Subgraph Studio to create, test, and publish your subgraph. All hosted service users must upgrade their subgraph to The Graph Network before 10 a.m. PT on June 12th, 2024.

The Sunrise Upgrade Indexer ensures the indexing of all subgraphs. However, signaling GRT on a particular subgraph will draw more indexers to it. This incentivization of additional Indexers through curation aims to enhance the quality of service for queries by reducing latency and enhancing network availability.

When signaling, Curators can decide to signal on a specific version of the subgraph or to signal using auto-migrate. If they signal using auto-migrate, a curator’s shares will always be updated to the latest version published by the developer. If they decide to signal on a specific version instead, shares will always stay on that specific version.

To assist teams that are transitioning subgraphs from the hosted service to the Graph Network, curation support is now available. If you require assistance with curation to enhance the quality of service, please send a request to the Edge & Node team at [email protected] and specify the subgraphs you need assistance with.

サブグラフが十分なキュレーションシグナルに達し、他のIndexerがそれをサポートし始めると、アップグレード・インデクサーは徐々に先細りになり、他のインデクサーがインデックス作成報酬とクエリ手数料を徴収できるようになります。

独自のインデックス作成インフラをホストすべきか?

このセクションへのリンク

自身のプロジェクトのためにインフラストラクチャを実行することは、グラフネットワークを使用する場合と比較して、著しくリソースを消費します

Additionally, The Graph Network is significantly more robust, reliable, and cost-efficient than anything provided by a single organization or team. Hundreds of independent Indexers around the world power The Graph Network, ensuring safety, security, and redundancy.

とはいえ、もしまだグラフ・ノードを運営することに興味があるのであれば、グラフ・ネットワークインデクサーとしてに参加し、自分のサブグラフや他のサブグラフのデータを提供することで、インデクシング報酬やクエリ報酬を得ることを検討しましょう。

集中型インデクシング・プロバイダを使うべきでしょうか?

このセクションへのリンク

If you are building in web3, the moment you use a centralized indexing provider, you are giving them control of your dapp and data. The Graph’s decentralized network offers superior quality of service, reliability with unbeatable uptime thanks to node redundancy, significantly lower costs, and keeps you from being hostage at the data layer.

With The Graph Network, your subgraph is public and anyone can query it openly, which increases the usage and network effects of your dapp.

Additionally, Subgraph Studio provides 100,000 free monthly queries on the Free Plan, before payment is needed for additional usage.

集中型ホスティングに対するThe Graphの利点について詳しく説明します:

  • レジリエンスと冗長性: 分散型システムは、その分散された性質により、本質的により堅牢で回復力があります。データは単一のサーバーや場所に保存されるわけではありません。その代わり、世界中にある何百もの独立したIndexerがデータを提供します。これにより、1つのノードに障害が発生した場合のデータ損失やサービス中断のリスクを低減し、卓越したアップタイム(99.99%)を実現します。

  • サービスの質: 印象的なアップタイムに加え、The Graph Networkはクエリ速度(レイテンシー)の中央値が106msであり、他のホスティングサービスと比較して高いクエリー成功率を誇ります。詳しくはこのブログをご覧ください。

  • Censorship Resistance: Centralized systems are targets for censorship, either through regulatory pressures or network attacks. In contrast, the dispersed architecture of decentralized systems makes them much harder to censor, which ensures continuous data availability.

  • Transparency and Trust: Decentralized systems operate openly, enabling anyone to independently verify the data. This transparency builds trust among network participants because they can verify the system's integrity without relying on a central authority.

非中央集権的な性質、セキュリティ、透明性のためにブロックチェーン・ネットワークを選択したように、The Graph Networkを選択することも同じ原則の延長線上にあります。データインフラストラクチャをこれらの価値観に合わせることで、結束力があり、弾力性があり、信頼に基づいた開発環境を確保することができます。

ページを編集

Protocol Contracts
請求書
ページを編集