Skip to content

Commit

Permalink
Fix Subgraph README.md typo
Browse files Browse the repository at this point in the history
There is a typo int a shell example were there are 4 hyphens instead of 2 on the graph init parameters
This commit is fixing this typo
  • Loading branch information
gwenall authored Nov 13, 2024
1 parent 94ab42f commit 25490fe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions subgraphs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ yarn global add @graphprotocol/graph-cli # install if u haven't
# or install on MacOS
npm install -g @graphprotocol/graph-cli

graph init ----from-contract <contract_addr> --network {goerli,mainnet} --abi abis/Contract.json
graph init --from-contract <contract_addr> --network {goerli,mainnet} --abi abis/Contract.json
```

And go through the dialog.
Expand Down Expand Up @@ -46,4 +46,4 @@ npm run codegen

## Develop more

Check out the [graph docs](https://thegraph.com/docs/en/network/overview/).
Check out the [graph docs](https://thegraph.com/docs/en/network/overview/).

0 comments on commit 25490fe

Please sign in to comment.