Skip to content

Commit 84ba4eb

Browse files
authored
Update links to the example-subgraph repo (#175)
* Update links to the example-subgraph repo * Combine defining & creating pages including redirect * Revert "Combine defining & creating pages" This reverts commit 359c6e9.
1 parent 34fb37c commit 84ba4eb

File tree

5 files changed

+10
-10
lines changed

5 files changed

+10
-10
lines changed

pages/en/cookbook/arweave.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ The GraphQL endpoint for Arweave subgraphs is determined by the schema definitio
166166

167167
Here is an example subgraph for reference:
168168

169-
- [Example subgraph for Arweave](https://github.com/graphprotocol/example-subgraph/tree/arweave-blocks-transactions)
169+
- [Example subgraph for Arweave](https://github.com/graphprotocol/example-subgraphs/tree/main/arweave/blocks-transactions)
170170

171171
## FAQ
172172

pages/en/cookbook/cosmos.mdx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ Each type of handler will receive a different type based on the relevant data. F
151151

152152
`EventData` is passed to the eventHandler.
153153

154-
`TransactionData` is passed to the transactionHandler. Transactions will need to be decoded in the subgraph, [here](https://github.com/graphprotocol/example-subgraph/blob/cosmos-validator-delegations/src/decoding.ts) is an example on how it can be done.
154+
`TransactionData` is passed to the transactionHandler. Transactions will need to be decoded in the subgraph, [here](https://github.com/graphprotocol/example-subgraphs/blob/main/cosmos/validator-delegations/src/decoding.ts) is an example on how it can be done.
155155

156156
## Creating and building a Cosmos subgraph
157157

@@ -223,10 +223,10 @@ Osmosis mainnet is `osmosis-1`. Osmosis current testnet is `osmo-test-4`.
223223

224224
Here are some example subgraphs for reference:
225225

226-
[Block Filtering Example](https://github.com/graphprotocol/example-subgraph/tree/cosmos-block-filtering)
226+
[Block Filtering Example](https://github.com/graphprotocol/example-subgraphs/tree/main/cosmos/block-filtering)
227227

228-
[Validator Rewards Example](https://github.com/graphprotocol/example-subgraph/tree/cosmos-validator-rewards)
228+
[Validator Rewards Example](https://github.com/graphprotocol/example-subgraphs/tree/main/cosmos/validator-rewards)
229229

230-
[Validator Delegations Example](https://github.com/graphprotocol/example-subgraph/tree/cosmos-validator-delegations)
230+
[Validator Delegations Example](https://github.com/graphprotocol/example-subgraphs/tree/main/cosmos/validator-delegations)
231231

232-
[Osmosis Token Swaps Example](https://github.com/graphprotocol/example-subgraph/tree/osmosis-token-swaps)
232+
[Osmosis Token Swaps Example](https://github.com/graphprotocol/example-subgraphs/tree/main/cosmos/osmosis-token-swaps)

pages/en/cookbook/near.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -222,9 +222,9 @@ The GraphQL endpoint for NEAR subgraphs is determined by the schema definition,
222222
223223
Here are some example subgraphs for reference:
224224
225-
[NEAR Blocks](https://github.com/graphprotocol/example-subgraph/tree/near-blocks-example)
225+
[NEAR Blocks](https://github.com/graphprotocol/example-subgraphs/tree/main/near/blocks-example)
226226
227-
[NEAR Receipts](https://github.com/graphprotocol/example-subgraph/tree/near-receipts-example)
227+
[NEAR Receipts](https://github.com/graphprotocol/example-subgraphs/tree/main/near/receipts-example)
228228
229229
## FAQ
230230

pages/en/cookbook/subgraph-debug-forking.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ In a nutshell, we are going to _fork the failing subgraph_ from a remote Graph n
1818

1919
## Please, show me some code!
2020

21-
To stay focused on subgraph debugging, let's keep things simple and run along with the [example-subgraph](https://github.com/graphprotocol/example-subgraph) indexing the Ethereum Gravity smart contract.
21+
To stay focused on subgraph debugging, let's keep things simple and run along with the [example-subgraph](https://github.com/graphprotocol/example-subgraphs/tree/main/ethereum/gravatar) indexing the Ethereum Gravity smart contract.
2222

2323
Here are the handlers defined for indexing `Gravatar`s, with no bugs whatsoever:
2424

pages/en/developing/creating-a-subgraph.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ For the example subgraph, `subgraph.yaml` is:
6565
```yaml
6666
specVersion: 0.0.4
6767
description: Gravatar for Ethereum
68-
repository: https://github.com/graphprotocol/example-subgraph
68+
repository: https://github.com/graphprotocol/example-subgraphs
6969
schema:
7070
file: ./schema.graphql
7171
dataSources:

0 commit comments

Comments
 (0)