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: smart-contracts/advanced/fevm-indexers.md
+10-10Lines changed: 10 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,7 +20,7 @@ Blockchain indexers are used for accessing blockchain data efficiently. They pro
20
20
Additionally, blockchain indexers provide a better developer experience by leveraging well-known API standards and query languages like GraphQL.
21
21
22
22
## Goldsky
23
-
[Goldsky](https://goldsky.com/) offers high-performance subgraph hosting and realtime data indexing for blockchain data, which are GraphQL-based APIs built on top of smart contracts. With Goldsky, developers can access structured blockchain data quickly and efficiently, without needing to run their own nodes or build custom indexing backends.
23
+
[Goldsky](https://goldsky.com/) offers high-performance subgraph hosting and real-time data indexing for blockchain data. These are GraphQL-based APIs built on top of smart contracts. With Goldsky, developers can access structured blockchain data quickly and efficiently without needing to run their own nodes or build custom indexing backends.
24
24
25
25
Goldsky officially supports the Filecoin, allowing developers to create subgraphs that index smart contract data from the Filecoin mainnet & testnet.
26
26
@@ -35,12 +35,12 @@ A command-line interface for creating, editing, and deploying subgraphs programm
35
35
- Migrating from The Graph or any other subgraph host
36
36
- Via instant, no-code subgraphs
37
37
38
-
In tutorial, we will use no-code Goldsky’s deploy wizard to create subgragh for wFIl ERC-20 token on Filecoin testnet.
38
+
In this tutorial, we will use no-code Goldsky’s deploy wizard to create a subgraph for the wFIl ERC-20 token on the Filecoin testnet.
39
39
40
40
#### Prerequisites
41
41
Make sure you have the following tools and setup ready:
42
42
- Node.js
43
-
- Create a Goldsky account and generate Goldsky API key
43
+
- Create a Goldsky account and generate a Goldsky API key
44
44
- Goldsky CLI installed
45
45
```
46
46
curl https://goldsky.com | sh
@@ -53,30 +53,30 @@ Make sure you have the following tools and setup ready:
-[contract ABI](https://beryx.io/fil/calibration/address/0xaC26a4Ab9cF2A8c5DBaB6fb4351ec0F4b07356c4?tab=contract): saved it as `wfil_abi.json` locally.
55
55
56
-
### Deploy a subgragh
56
+
### Deploy a subgraph
57
57
Goldsky’s Deploy Wizard simplifies the creation of subgraphs using a CLI-guided flow.
58
-
#### 1. Initialize the Subgragh deployment
58
+
#### 1. Initialize the Subgraph deployment
59
59
Run:
60
60
```
61
61
goldsky subgraph init
62
62
```
63
-
Follow the prompts from Goldsky subgraph configuration wizard:
63
+
Follow the prompts from the Goldsky subgraph configuration wizard:
64
64
-*Subgraph name*: wfil-subgraph
65
65
-*Subgraph version*: 1.0.0
66
66
-*Subgraph target path*: Choose default or specify your own
-*Start block*: which block is the wfil created, can be 0.
70
+
-*Start block*: Which block is the wfil created, can be 0.
71
71
-*Contract name*: wfil
72
72
-*Enable subgraph call handlers?*: no
73
73
74
-
Once you fill out the above information following the prompt, Goldsky wizard will guide you to build and deploy your subgragh. Goldsky will output a deployment URL (GraphQL endpoint) once the subgraph is successfully deployed.
74
+
Once you fill out the above information following the prompt, the Goldsky wizard will guide you through building and deploying your subgraph. Once the subgraph is successfully deployed, Goldsky will output a deployment URL (GraphQL endpoint).
75
75
76
-
Once the subgragh is deployed, it will take time to index all the data for your smart contract. You can also check the indexing status of your subgragh from the [Goldsky dashboard](https://app.goldsky.com/).
76
+
Once the subgraph is deployed, indexing all the data for your smart contract will take time. You can also check the indexing status of your subgraph from the [Goldsky dashboard](https://app.goldsky.com/).
77
77
78
78
### Query the Subgraph
79
-
Use the provided GraphQL endpoint to query the subgraph.
79
+
You can use the provided GraphQL endpoint to query the subgraph.
0 commit comments