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/quick-start.mdx
+9-9Lines changed: 9 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,7 @@ Learn how to easily publish and query a [subgraph](/developing/developer-faqs/#1
13
13
14
14
### 1. Install the Graph CLI
15
15
16
-
You must have [Node.js](https://nodejs.org/) and 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.
16
+
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.
17
17
18
18
On your local machine, run one of the following commands:
19
19
@@ -29,7 +29,7 @@ Using [yarn](https://yarnpkg.com/):
29
29
yarn global add @graphprotocol/graph-cli
30
30
```
31
31
32
-
### 2. Create Your Subgraph
32
+
### 2. Create your subgraph
33
33
34
34
If your contract has events, the `init` command will automatically create a scaffold of a subgraph.
The `init` command in the previous step creates a scaffold subgraph that you can use as a starting point to build your subgraph.
87
87
@@ -93,7 +93,7 @@ When making changes to the subgraph, you will mainly work with three files:
93
93
94
94
For a detailed breakdown on how to write your subgraph, check out [Creating a Subgraph](/developing/creating-a-subgraph/).
95
95
96
-
### 5. Deploy Your Subgraph
96
+
### 5. Deploy your subgraph
97
97
98
98
Remember, deploying is not the same as publishing.
99
99
@@ -121,7 +121,7 @@ Remember, deploying is not the same as publishing.
121
121
- The CLI will ask for a version label.
122
122
- It's strongly recommended to use [semantic versioning](https://semver.org/), e.g. `0.0.1`. That said, you can choose any string for the version such as: `v1,``version1,``asdf`, etc.
123
123
124
-
### 6. Review Your Subgraph
124
+
### 6. Review your subgraph
125
125
126
126
If you’d like to examine your subgraph before publishing it to the network, you can use [Subgraph Studio](https://thegraph.com/studio/) to do the following:
127
127
@@ -131,7 +131,7 @@ If you’d like to examine your subgraph before publishing it to the network, yo
131
131
132
132

133
133
134
-
### 7. Publish Your Subgraph to The Graph Network
134
+
### 7. Publish your subgraph to The Graph Network
135
135
136
136
Publishing a subgraph to the decentralized network makes it available for [Curators](/network/curating/) to begin curating it and [Indexers](/network/indexing/) to begin indexing it.
137
137
@@ -179,7 +179,7 @@ To save on gas costs, you can curate your subgraph in the same transaction you p
0 commit comments