Skip to content

Commit 7a25828

Browse files
authored
Update fevm-indexers.md
1 parent ebbee38 commit 7a25828

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

smart-contracts/advanced/fevm-indexers.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Blockchain indexers are used for accessing blockchain data efficiently. They pro
2020
Additionally, blockchain indexers provide a better developer experience by leveraging well-known API standards and query languages like GraphQL.
2121

2222
## 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.
2424

2525
Goldsky officially supports the Filecoin, allowing developers to create subgraphs that index smart contract data from the Filecoin mainnet & testnet.
2626

@@ -35,12 +35,12 @@ A command-line interface for creating, editing, and deploying subgraphs programm
3535
- Migrating from The Graph or any other subgraph host
3636
- Via instant, no-code subgraphs
3737

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.
3939

4040
#### Prerequisites
4141
Make sure you have the following tools and setup ready:
4242
- Node.js
43-
- Create a Goldsky account and generate Goldsky API key
43+
- Create a Goldsky account and generate a Goldsky API key
4444
- Goldsky CLI installed
4545
```
4646
curl https://goldsky.com | sh
@@ -53,30 +53,30 @@ Make sure you have the following tools and setup ready:
5353
- contract address: `0xaC26a4Ab9cF2A8c5DBaB6fb4351ec0F4b07356c4`
5454
- [contract ABI](https://beryx.io/fil/calibration/address/0xaC26a4Ab9cF2A8c5DBaB6fb4351ec0F4b07356c4?tab=contract): saved it as `wfil_abi.json` locally.
5555

56-
### Deploy a subgragh
56+
### Deploy a subgraph
5757
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
5959
Run:
6060
```
6161
goldsky subgraph init
6262
```
63-
Follow the prompts from Goldsky subgraph configuration wizard:
63+
Follow the prompts from the Goldsky subgraph configuration wizard:
6464
- *Subgraph name*: wfil-subgraph
6565
- *Subgraph version*: 1.0.0
6666
- *Subgraph target path*: Choose default or specify your own
6767
- *Contract ABI source*: path/to/wfil_abi.json
6868
- *Contract Address*: `0xaC26a4Ab9cF2A8c5DBaB6fb4351ec0F4b07356c4`
6969
- *Contract network*: filecoin-testnet
70-
- *Start block*: which block is the wfil created, can be 0.
70+
- *Start block*: Which block is the wfil created, can be 0.
7171
- *Contract name*: wfil
7272
- *Enable subgraph call handlers?*: no
7373

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).
7575

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/).
7777

7878
### 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.
8080

8181
For example:
8282
```

0 commit comments

Comments
 (0)