diff --git a/pages/en/cookbook/migrating-a-subgraph.mdx b/pages/en/cookbook/migrating-a-subgraph.mdx index e24f4dfcea37..d3854e0b47ab 100644 --- a/pages/en/cookbook/migrating-a-subgraph.mdx +++ b/pages/en/cookbook/migrating-a-subgraph.mdx @@ -4,7 +4,7 @@ title: Migrating an Existing Subgraph to The Graph Network ## Introduction -This is a guide on how to migrate your subgraph from the Hosted Service to The Graph's decentralized network. Migration to The Graph Network has been successful for projects like Opyn, UMA, mStable, Audius, PoolTogether, Livepeer, RAI, Enzyme, DODO, Pickle, and BadgerDAO all of which are relying on data served by Indexers on the network. There are now over 200 subgraphs live on The Graph Network, generating query fees and actively indexing web3 data. +This is a guide on how to migrate your subgraph from the Hosted Service to The Graph's decentralized network. Migration to The Graph Network has been successful for projects like Opyn, UMA, mStable, Audius, PoolTogether, Livepeer, RAI, Enzyme, DODO, Pickle, and BadgerDAO all of which are relying on data served by Indexers on the network. There are now over 600 subgraphs live on The Graph's decentralized network, generating query fees and actively indexing web3 data. The process of migration is quick and your subgraphs will forever benefit from the reliability and performance that you can only get on The Graph Network. @@ -82,26 +82,30 @@ You can generate an API key in Subgraph Studio [here](https://thegraph.com/studi ![API key creation page](/img/api-image.png) -At the end of each week, an invoice will be generated based on the query fees that have been incurred during this period. This invoice will be paid automatically using the GRT available in your balance. Your balance will be updated after the cost of your query fees are withdrawn. Query fees are paid in GRT via the Polygon network. You will need to add GRT to the Polygon billing contract to enable your API key via the following steps: +At the end of each week, an invoice will be generated based on the query fees that have been incurred during this period. This invoice will be paid automatically using the GRT available in your balance. Your balance will be updated after the cost of your query fees are withdrawn. Query fees are paid in GRT via the Arbitrum network. You will need to add GRT to the Arbitrum billing contract to enable your API key via the following steps: - Purchase GRT on an exchange of your choice. - Send the GRT to your wallet. - On the Billing page in Studio, click on Add GRT. -![Add GRT in billing](/img/add-grt-in-billing.png) +![Add GRT in billing](/img/Add-GRT-New-Page.png) -- Follow the steps to bridge the GRT to Polygon. -- Once bridged, add the GRT to your billing balance. +- Follow the steps to add your GRT to your billing balance. +- Your GRT will be automatically bridged to the Arbitrum network and added to your billing balance. -![Billing pane](/img/billing-pane.png) +![Billing pane](/img/New-Billing-Pane.png) -> Note: This process is slightly different if you are using a multisig since you can not bridge GRT to Polygon with a multisig. You would need to send the GRT to an EOA (externally owned address) and bridge it from there to Polygon. Once on Polygon, you can load the multisig address. We have created [a special tool to help you through these steps](https://multisig-billing.thegraph.com/). +> Note: see the [official billing page](../billing.mdx) for full instructions on adding GRT to your billing balance. + +### Securing your API key It is recommended that you secure the API by limiting its usage in two ways: 1. Authorized Subgraphs 2. Authorized Domain +You can secure your API key [here](https://thegraph.com/studio/apikeys/test/). + ![Subgraph lockdown page](/img/subgraph-lockdown.png) ### Querying your subgraph on the decentralized network diff --git a/public/img/Add-GRT-New-Page.png b/public/img/Add-GRT-New-Page.png new file mode 100644 index 000000000000..f96dc20fc5d4 Binary files /dev/null and b/public/img/Add-GRT-New-Page.png differ diff --git a/public/img/New-Billing-Pane.png b/public/img/New-Billing-Pane.png new file mode 100644 index 000000000000..62939b40fce6 Binary files /dev/null and b/public/img/New-Billing-Pane.png differ diff --git a/public/img/add-grt-in-billing.png b/public/img/add-grt-in-billing.png deleted file mode 100644 index c4a26a1cd2ef..000000000000 Binary files a/public/img/add-grt-in-billing.png and /dev/null differ diff --git a/public/img/billing-pane.png b/public/img/billing-pane.png deleted file mode 100644 index c01dd22aceed..000000000000 Binary files a/public/img/billing-pane.png and /dev/null differ