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: subgraph/README.md
+17-4
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,8 @@
10
10
## Build
11
11
12
12
```bash
13
-
$ yarn
13
+
# update subgraph.yml using the contract deployment artifacts
14
+
$ yarn update:arbitrum-goerli
14
15
15
16
$ yarn codegen
16
17
@@ -19,16 +20,28 @@ $ yarn build
19
20
20
21
## Deployment to The Graph (hosted service)
21
22
22
-
### Authentication
23
+
### Using a personal account for development
24
+
25
+
#### Authentication
23
26
24
27
Get an API key from the thegraph.com, then authenticate.
25
28
26
29
```bash
27
30
$ yarn run graph auth --product hosted-service
28
31
```
29
32
30
-
### Deployment
33
+
####Deployment
31
34
32
35
```bash
33
-
yarn deploy
36
+
yarn deploy:arbitrum-goerli
34
37
```
38
+
39
+
### Using the Kleros organization account
40
+
Go to the [Deploy Subgraph Action](https://github.com/kleros/kleros-v2/actions/workflows/deploy-subgraph.yml) and click the Run workflow button:
0 commit comments