You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: website/pages/en/deploying/deploy-using-subgraph-studio.mdx
+10-12Lines changed: 10 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,11 +14,11 @@ In [Subgraph Studio](https://thegraph.com/studio/), you can do the following:
14
14
- Manage, view details, and visualize the status of a specific subgraph
15
15
- Create and manage your API keys for specific subgraphs
16
16
- Restrict your API keys to specific domains and allow only certain Indexers to query with them
17
-
- Create your subgraph through the Studio UI
18
-
- Deploy your subgraph using the The Graph CLI
17
+
- Create your subgraph
18
+
- Deploy your subgraph using The Graph CLI
19
19
- Test your subgraph in the playground environment
20
20
- Integrate your subgraph in staging using the development query URL
21
-
- Publish your subgraph with the Studio UI
21
+
- Publish your subgraph to The Graph Network
22
22
- Manage your billing
23
23
24
24
## Install The Graph CLI
@@ -27,21 +27,19 @@ Before deploying, you must install The Graph CLI.
27
27
28
28
You must have [Node.js](https://nodejs.org/) and a package manager of your choice (`npm`, `yarn` or `pnpm`) installed to use The Graph CLI. Check for the [most recent](https://github.com/graphprotocol/graph-tooling/releases?q=%40graphprotocol%2Fgraph-cli&expanded=true) CLI version.
29
29
30
-
**Install with yarn:**
30
+
### Install with yarn
31
31
32
32
```bash
33
33
yarn global add @graphprotocol/graph-cli
34
34
```
35
35
36
-
**Install with npm:**
36
+
### Install with npm
37
37
38
38
```bash
39
39
npm install -g @graphprotocol/graph-cli
40
40
```
41
41
42
-
## Create Your Subgraph
43
-
44
-
Before deploying your subgraph you need to create an account in [Subgraph Studio](https://thegraph.com/studio/).
42
+
## Get Started
45
43
46
44
1. Open [Subgraph Studio](https://thegraph.com/studio/).
47
45
2. Connect your wallet to sign in.
@@ -55,7 +53,7 @@ Before deploying your subgraph you need to create an account in [Subgraph Studio
55
53
56
54
<VideoEmbedyoutube="nGIFuC69bSA" />
57
55
58
-
> For additional written detail, review the [Quick-Start](/quick-start/).
56
+
> For additional written detail, review the [QuickStart](/quick-start/).
59
57
60
58
### Subgraph Compatibility with The Graph Network
61
59
@@ -83,7 +81,7 @@ After running `graph init`, you will be asked to input the contract address, net
83
81
84
82
## Graph Auth
85
83
86
-
Before you can deploy your subgraph to Subgraph Studio, you need to login into your account within the CLI. To do this, you will need your deploy key, which you can find under your subgraph details page.
84
+
Before you can deploy your subgraph to Subgraph Studio, you need to log into your account within the CLI. To do this, you will need your deploy key, which you can find under your subgraph details page.
87
85
88
86
Then, use the following command to authenticate from the CLI:
Once you are ready, you can deploy your subgraph to Subgraph Studio.
97
95
98
-
> Deploying a subgraph with the CLI pushes it to the Studio, where you can test it and and update the metadata. This action won't publish your subgraph to the decentralized network.
96
+
> Deploying a subgraph with the CLI pushes it to the Studio, where you can test it and update the metadata. This action won't publish your subgraph to the decentralized network.
99
97
100
98
Use the following CLI command to deploy your subgraph:
101
99
@@ -126,7 +124,7 @@ If you want to update your subgraph, you can do the following:
126
124
- Once you're happy with it, you can publish your new deployment to [Graph Explorer](https://thegraph.com/explorer).
127
125
- This action will create a new version of your subgraph that Curators can start signaling on and Indexers can index.
128
126
129
-
You can also update your subgraph's metadata without publishing a new version. You can update your subgraph details in Studio (under the profile picture, name, description, etc.) by checking an option called **Update Details** in Graph Explorer. If this is checked, an on-chain transaction will be generated that updates subgraph details in Explorer without having to publish a new version with a new deployment.
127
+
You can also update your subgraph's metadata without publishing a new version. You can update your subgraph details in Studio (under the profile picture, name, description, etc.) by checking an option called **Update Details** in [Graph Explorer](https://thegraph.com/explorer). If this is checked, an on-chain transaction will be generated that updates subgraph details in Explorer without having to publish a new version with a new deployment.
130
128
131
129
> Note: There are costs associated with publishing a new version of a subgraph to the network. In addition to the transaction fees, you must also fund a part of the curation tax on the auto-migrating signal. You cannot publish a new version of your subgraph if Curators have not signaled on it. For more information, please read more [here](/network/curating/).
0 commit comments