Skip to content

Commit 74aa3d3

Browse files
authored
Update for NEAR testnet and sync status (#1)
* Update for NEAR testnet and sync status * Remove note on the indexing progress bar * Add note on "pending" versions
1 parent 9675cf7 commit 74aa3d3

File tree

4 files changed

+14
-14
lines changed

4 files changed

+14
-14
lines changed

pages/en/developer/create-subgraph-hosted.mdx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@ The Graph Network supports subgraphs indexing mainnet Ethereum:
2323
- `poa-core`
2424
- `poa-sokol`
2525
- `xdai`
26-
- `near`
26+
- `near-mainnet`
27+
- `near-testnet`
2728
- `matic`
2829
- `mumbai`
2930
- `fantom`
@@ -532,7 +533,7 @@ import {
532533
Gravity,
533534
// The events classes:
534535
NewGravatar,
535-
UpdatedGravatar,
536+
UpdatedGravatar
536537
} from '../generated/Gravity/Gravity'
537538
```
538539

pages/en/developer/developer-faq.mdx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,8 @@ In the Hosted Service, the following networks are supported:
115115
- PoA-Core
116116
- PoA-Sokol
117117
- xDAI
118-
- Near
118+
- NEAR
119+
- NEAR testnet
119120
- Matic
120121
- Mumbai
121122
- Fantom

pages/en/hosted-service/what-is-hosted-service.mdx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,8 @@ Please note that the following networks are supported on the Hosted Service. Net
5757
- `poa-core`
5858
- `poa-sokol`
5959
- `xdai`
60-
- `near`
60+
- `near-mainnet`
61+
- `near-testnet`
6162
- `matic`
6263
- `mumbai`
6364
- `fantom`

pages/en/supported-networks/near.mdx

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Building Subgraphs on NEAR
33
---
44

5-
> NEAR support in Graph Node and on the Hosted Service is in beta: please contact [email protected] so that we can support you in building NEAR subgraphs!
5+
> NEAR support in Graph Node and on the Hosted Service is in beta: please contact [email protected] with any questions about building NEAR subgraphs!
66
77
This guide is an introduction to building subgraphs indexing smart contracts on the [NEAR blockchain](https://docs.near.org/).
88

@@ -75,7 +75,7 @@ dataSources:
7575
```
7676
7777
- NEAR subgraphs introduce a new `kind` of data source (`near`)
78-
- The `network` should correspond to a network on the hosting Graph Node. On the Hosted Service, NEAR's mainnet is `near-mainnet`
78+
- The `network` should correspond to a network on the hosting Graph Node. On the Hosted Service, NEAR's mainnet is `near-mainnet`, and NEAR's testnet is `near-testnet`
7979
- NEAR data sources introduce an optional `source.account` field, which is a human readable ID corresponding to a [NEAR account](https://docs.near.org/docs/concepts/account). This can be an account, or a sub account.
8080

8181
NEAR data sources support two types of handlers:
@@ -166,11 +166,10 @@ This includes a new JSON parsing function - logs on NEAR are frequently emitted
166166

167167
Once you have a built subgraph, it is time to deploy it to Graph Node for indexing. NEAR subgraphs can be deployed to any Graph Node `>=v0.26.x` (this version has not yet been tagged & released).
168168

169-
The Graph's Hosted Service currently supports indexing NEAR mainnet in beta, with the following network name:
169+
The Graph's Hosted Service currently supports indexing NEAR mainnet and testnet in beta, with the following network names:
170170

171171
- `near-mainnet`
172-
173-
Work is in progress to also support the NEAR testnet.
172+
- `near-testnet`
174173

175174
More information on creating and deploying subgraphs on the Hosted Service can be found [here](/hosted-service/deploy-subgraph-hosted).
176175

@@ -207,8 +206,6 @@ Once your subgraph has been deployed, it will be indexed by Graph Node. You can
207206
}
208207
```
209208
210-
> The Indexing progress bar on the Graph Explorer is not currently supported for NEAR subgraphs
211-
212209
### Indexing NEAR with a Local Graph Node
213210
214211
Running a Graph Node that indexes NEAR has the following operational requirements:
@@ -257,13 +254,13 @@ This is not supported. We are evaluating whether this functionality is required
257254
258255
This is not currently supported. We are evaluating whether this functionality is required for indexing.
259256
260-
### The indexing progress bar for my subgraph on the Hosted Service isn't showing any progress, what is going on?
257+
### Ethereum subgraphs support "pending" and "current" versions, how can I deploy a "pending" version of a NEAR subgraph?
261258
262-
The indexing progress bar is not currently available for NEAR subgraphs, we are working to add support.
259+
Pending functionality is not yet supported for NEAR subgraphs. In the interim, you can deploy a new version to a different "named" subgraph, and then when that is synced with the chain head, you can redeploy to your primary "named" subgraph, which will use the same underlying deployment ID, so the main subgraph will be instantly synced.
263260
264261
### My question hasn't been answered, where can I get more help building NEAR subgraphs?
265262
266-
If it is a general question about subgraph development, there is a lot more information in the rest of the [Developer documentation](/developer/quick-start). Otherwise please join [The Graph Protocol Discord](https://discord.gg/vtvv7FP) and ask in the #near channel
263+
If it is a general question about subgraph development, there is a lot more information in the rest of the [Developer documentation](/developer/quick-start). Otherwise please join [The Graph Protocol Discord](https://discord.gg/vtvv7FP) and ask in the #near channel, or email [email protected].
267264
268265
## References
269266

0 commit comments

Comments
 (0)