Skip to content
This repository was archived by the owner on Jul 30, 2025. It is now read-only.

Commit c05ff48

Browse files
committed
fix lint
1 parent d005a07 commit c05ff48

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

apps/nextra/pages/en/build/cli/running-a-local-network.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ As you can see from the example output in step 4, once the local network is runn
118118
119119
- [Node API](../../network/nodes/aptos-api-spec.mdx): This is a REST API that runs directly on the node. It enables core write functionality such as transaction submission and a limited set of read functionality, such as reading account resources or Move module information.
120120
- [Indexer API](../indexer/aptos-hosted.mdx): This is a [GraphQL](https://graphql.org/) API that provides rich read access to indexed blockchain data. If you click on the URL for the Indexer API above, by default [http://127.0.0.1:8090](http://127.0.0.1:8090/), it will open the Hasura Console, a web UI that will help you query the Indexer GraphQL API.
121-
- [Transaction Stream Service](../indexer/txn-stream.mdx): This is a gRPC stream of transactions used by the Indexer API. This is only relevant to you if you are developing a [custom processor](../indexer/custom-processors.mdx).
121+
- [Transaction Stream Service](../indexer/txn-stream.mdx): This is a gRPC stream of transactions used by the Indexer API and SDK. This is only relevant to you if you are developing a custom processor with the [Indexer SDK](../indexer/indexer-sdk.mdx).
122122
- [Postgres](https://www.postgresql.org/): This is the database that the Indexer processors write to. The Indexer API reads from this database.
123123
- [Faucet](../apis/faucet-api.mdx): You can use this to fund accounts on your local network.
124124
@@ -166,7 +166,7 @@ const client = new Aptos(config);
166166
Sometimes while developing it is helpful to reset the local network back to its initial state, for example:
167167
168168
- You made backwards incompatible changes to a Move module, and you'd like to redeploy it without renaming it or using a new account.
169-
- You are building a [custom indexer processor](../indexer/custom-processors.mdx) and would like to index using a fresh network.
169+
- You are building a custom indexer processor with the [Indexer SDK](./indexer/indexer-sdk.mdx) and would like to index using a fresh network.
170170
- You want to clear all on chain state, e.g. accounts, objects, etc.
171171
172172
To start with a brand new local network, use the `--force-restart` flag:

apps/nextra/pages/en/build/indexer/indexer-sdk.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Learn how to use the Indexer SDK through guides and documentation.
2020
<Card.Title>Quickstart Guide</Card.Title>
2121
<Card.Description>Get started with the Indexer SDK</Card.Description>
2222
</Card>
23-
<Card href="indexer-sdk/sdk-documentation">
23+
<Card href="indexer-sdk/documentation">
2424
<Card.Title>SDK Documentation</Card.Title>
2525
<Card.Description>Read documentation about the Indexer SDK</Card.Description>
2626
</Card>

apps/nextra/pages/en/network/nodes/localnet/local-development-network.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ As you can see from the example output in step 4, once the local network is runn
118118
{/* TODO: replace API spec link */}
119119
- [Node API](../aptos-api-spec.mdx): This is a REST API that runs directly on the node. It enables core write functionality such as transaction submission and a limited set of read functionality, such as reading account resources or Move module information.
120120
- [Indexer API](../../../build/indexer/aptos-hosted.mdx): This is a [GraphQL](https://graphql.org/) API that provides rich read access to indexed blockchain data. If you click on the URL for the Indexer API above, by default [http://127.0.0.1:8090](http://127.0.0.1:8090/), it will open the Hasura Console, a web UI that will help you query the Indexer GraphQL API.
121-
- [Transaction Stream Service](../../../build/indexer/txn-stream.mdx): This is a gRPC stream of transactions used by the Indexer API. This is only relevant to you if you are developing a [custom processor](../../../build/indexer/custom-processors.mdx).
121+
- [Transaction Stream Service](../../../build/indexer/txn-stream.mdx): This is a gRPC stream of transactions used by the Indexer API. This is only relevant to you if you are developing a custom processor with the [Indexer SDK](../../../build/indexer/indexer-sdk.mdx).
122122
- [Postgres](https://www.postgresql.org/): This is the database that the Indexer processors write to. The Indexer API reads from this database.
123123
- [Faucet](../../../build/apis/faucet-api.mdx): You can use this to fund accounts on your local network.
124124

apps/nextra/pages/zh/build/cli/running-a-local-network.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ Unexpected error: Failed to apply pre-run steps for Postgres: Docker is not avai
125125
126126
- [Node API](../../network/nodes/aptos-api-spec.mdx):这是一个直接部署在节点上的 REST API,它允许进行核心的数据写入操作,比如提交交易,同时也支持有限的数据读取操作,例如查询账户资源或 Move 模块的信息。
127127
- [Indexer API](../indexer/aptos-hosted.mdx):这是一个 [GraphQL](https://graphql.org/) API,它提供了丰富的操作,以允许您读取索引了的区块链数据。点击上述的 Indexer API URL,默认是 [http://127.0.0.1:8090](http://127.0.0.1:8090/),即可打开 Hasura 控制台。这是一个 Web 界面,便于您查询 Indexer GraphQL API。
128-
- [交易流服务](../indexer/txn-stream.mdx):这是一个通过 Indexer API 实现的 gRPC 交易流。仅当您在开发[自定义处理器](../../indexer/custom-processors.mdx),此信息对您才有相关性。
128+
- [交易流服务](../indexer/txn-stream.mdx):这是一个通过 Indexer API 实现的 gRPC 交易流。仅当您使用[Indexer SDK](../../indexer/indexer-sdk.mdx)来开发自定义处理器时,此信息对您才有相关性。
129129
- [Postgres](https://www.postgresql.org/):这是 Indexer 处理器用来存储数据的数据库,而 Indexer API 则从此数据库中读取信息。
130130
- [水龙头(Faucet)](../apis/faucet-api.mdx):您可以使用它为您的本地网络中的账户提供资金。
131131
@@ -174,7 +174,7 @@ const client = new Aptos(config);
174174
在开发过程中,有时将本地网络重置回初始状态很有帮助,例如:
175175
176176
- 您对 Move 模块进行了不能向后兼容的更改,您希望重新部署它,同时不用重命名它或使用新的账户。
177-
- 您正在构建一个[自定义索引处理器](../indexer/custom-processors.mdx),您希望使用一个全新的网络进行索引
177+
- 您正在使用[Indexer SDK](../../indexer/indexer-sdk.mdx)构建一个自定义索引处理器,您希望使用一个全新的网络进行索引
178178
- 您想清除所有链上状态,例如账户、对象等。
179179
180180
要开始一个全新的本地网络,请使用 `--force-restart` 标志:

apps/nextra/pages/zh/network/nodes/localnet/local-development-network.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ Unexpected:Failed to apply pre-run steps for Postgres: Docker is not available
127127
128128
- [Node API](../aptos-api-spec.mdx):这是一个运行在节点上的 REST API,它提供核心的写操作功能,比如提交事务,以及一些读操作功能,但较为有限,如读取账户资源或获取 Move 模块的信息。
129129
- [Indexer API](../../../build/indexer/aptos-hosted.mdx):这是一个提供丰富读访问功能的 [GraphQL API]((https://graphql.org/)),专门用于索引区块链数据。点击上述 Indexer API 的链接(默认为 http://127.0.0.1:8090 ),即可打开 Hasura Console。这是一个 Web 界面,能帮助你方便地查询 Indexer GraphQL API。
130-
- [Transaction Stream Service](../../../build/indexer/txn-stream.mdx):这是 Indexer API 所用的 gRPC 事务流,仅在你构建[自定义处理器](../../../build/indexer/custom-processors.mdx)时才需要关注
130+
- [Transaction Stream Service](../../../build/indexer/txn-stream.mdx):这是 Indexer API 所用的 gRPC 事务流,仅在你使用[Indexer SDK](../../indexer/indexer-sdk.mdx)构建自定义处理器时才需要关注
131131
- [Postgres](https://www.postgresql.org/):这是 Indexer 处理器写入的数据库。Indexer API 从这个数据库读取。
132132
- [Faucet](../../glossary.mdx#faucet):您可以使用它为您本地网络中的帐户提供资金。
133133

0 commit comments

Comments
 (0)