Skip to content

Commit

Permalink
Update README.md (#56)
Browse files Browse the repository at this point in the history
Fixed several typos in README.md
  • Loading branch information
IaroslavMazur authored Jun 15, 2023
1 parent 600adbe commit 5c55b2e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ This repo contains subgraph schema and templates to index the activity of OpenZe

- **Primitives to generate a graphql schema:** `src/datasource/x.gql.json`

In order to allow composability, the schema are not defined in the graphql format but rather in a dedicated json format which is can be assembled and compiled to graphql using the `graph-compiler` tool from `@amxx/graphprotocol-utils`. Graphql version for each modules are also available in `generated/x.schema.graphql`
In order to allow composability, the schema are not defined in the graphql format but rather in a dedicated json format which can be assembled and compiled to graphql using the `graph-compiler` tool from `@amxx/graphprotocol-utils`. Graphql version for each module is also available in `generated/x.schema.graphql`

- **Template to generate a subgraph manifest:** `src/datasource/x.yaml`

Expand Down Expand Up @@ -73,7 +73,7 @@ npx graph-compiler \
--export-subgraph
```

This will create two files, `generated/sample.schema.graphql` and `generated/sample.subgraph.yaml` that can be used to build and deploy the corresponding subgraph.
This will create two files: `generated/sample.schema.graphql` and `generated/sample.subgraph.yaml` that can be used to build and deploy the corresponding subgraph.

Note: `startBlock` is optional but will improve your subgraph initial indexing speed.

Expand Down

0 comments on commit 5c55b2e

Please sign in to comment.