Skip to content

Commit bcc6d8d

Browse files
committed
New translations tap.mdx (Chinese Simplified)
1 parent 6a4cb45 commit bcc6d8d

File tree

1 file changed

+34
-34
lines changed
  • website/src/pages/zh/indexing

1 file changed

+34
-34
lines changed

website/src/pages/zh/indexing/tap.mdx

Lines changed: 34 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@ TAP允许发送方向接收方进行多次付款,**TAP收据**将这些付款
2323

2424
- 这是等待发送到区块链的钱。
2525

26-
- It will continue to send requests to aggregate and ensure that the total value of non-aggregated receipts does not exceed the `amount willing to lose`.
26+
- 它将继续发送汇总请求,并确保非汇总收据的总价值不超过`amount willing to lose`
2727

28-
- Each RAV can be redeemed once in the contracts, which is why they are sent after the allocation is closed.
28+
- 每个RAV在合约中都可以兑换一次,这就是为什么它们在分配结束后被发送的原因。
2929

3030
### 兑换RAV
3131

@@ -35,29 +35,29 @@ TAP允许发送方向接收方进行多次付款,**TAP收据**将这些付款
3535

3636
2. `<recently-closed-allocation-buffer> 在此期间,tap代理`会获取该特定分配的所有待处理收据,并请求将其聚合到RAV中,将其标记为`最后一次`
3737

38-
3. `indexer-agent` takes all the last RAVS and sends redeem requests to the blockchain, which will update the value of `redeem_at`.
38+
3. `indexer代理`获取所有最后一次的RAVS,并向区块链发送兑换请求,区块链将更新`recent_at`的值。
3939

4040
4.`<finality-time>`期间,`索引人代理`监控区块链是否有任何重组来恢复交易。
4141

42-
- If it was reverted, the RAV is resent to the blockchain. If it was not reverted, it gets marked as `final`.
42+
- 如果被回退,RAV将重新发送到区块链。如果它没有被回退,它将被标记为最终版本。
4343

4444
## 区块链地址
4545

4646
### 合约
4747

4848
| 合约 | Arbitrum 主网 (42161) | Arbitrum Sepolia (421614) |
4949
| ------------------- | -------------------------------------------- | -------------------------------------------- |
50-
| TAP Verifier | `0x33f9E93266ce0E108fc85DdE2f71dab555A0F05a` | `0xfC24cE7a4428A6B89B52645243662A02BA734ECF` |
50+
| TAPVerifier | `0x33f9E93266ce0E108fc85DdE2f71dab555A0F05a` | `0xfC24cE7a4428A6B89B52645243662A02BA734ECF` |
5151
| AllocationIDTracker | `0x5B2F33d7Ca6Ec88f5586f2528f58c20843D9FE7c` | `0xAaC28a10d707bbc6e02029f1bfDAEB5084b2aD11` |
5252
| Escrow | `0x8f477709eF277d4A880801D01A140a9CF88bA0d3` | `0x1e4dC4f9F95E102635D8F7ED71c5CdbFa20e2d02` |
5353

5454
### 网关
5555

56-
| 组件 | Edge and Node Mainnet (Arbitrum Mainnet) | Edge and Node Testnet (Arbitrum Sepolia) |
57-
| ---------- | --------------------------------------------- | --------------------------------------------- |
58-
| 发送人 | `0xDDE4cfFd3D9052A9cb618fC05a1Cd02be1f2F467` | `0xC3dDf37906724732FfD748057FEBe23379b0710D` |
59-
| 签字人 | `0xfF4B7A5EfD00Ff2EC3518D4F250A27e4c29A2211` | `0xFb142dE83E261e43a81e9ACEADd1c66A0DB121FE` |
60-
| Aggregator | `https://tap-aggregator.network.thegraph.com` | `https://tap-aggregator.testnet.thegraph.com` |
56+
| 组件 | Edge and Node主网(Arbitrum 主网) | Edge and Node测试网(Arbitrum Sepolia) |
57+
| ------- | --------------------------------------------- | --------------------------------------------- |
58+
| 发送人 | `0xDDE4cfFd3D9052A9cb618fC05a1Cd02be1f2F467` | `0xC3dDf37906724732FfD748057FEBe23379b0710D` |
59+
| 签字人 | `0xfF4B7A5EfD00Ff2EC3518D4F250A27e4c29A2211` | `0xFb142dE83E261e43a81e9ACEADd1c66A0DB121FE` |
60+
| 聚合器 | `https://tap-aggregator.network.thegraph.com` | `https://tap-aggregator.testnet.thegraph.com` |
6161

6262
### 要求
6363

@@ -70,33 +70,33 @@ TAP允许发送方向接收方进行多次付款,**TAP收据**将这些付款
7070
7171
## 迁移指南
7272

73-
### Software versions
73+
### 软件版本
7474

75-
The required software version can be found [here](https://github.com/graphprotocol/indexer/blob/main/docs/networks/arbitrum-one.md#latest-releases).
75+
所需的软件版本可以在[此处](https://github.com/graphprotocol/indexer/blob/main/docs/networks/arbitrum-one.md#latest-releases)找到。
7676

77-
### Steps
77+
### 步骤
7878

79-
1. **Indexer Agent**
79+
1. **索引人代理**
8080

81-
- Follow the [same process](https://github.com/graphprotocol/indexer/pkgs/container/indexer-agent#graph-protocol-indexer-components).
82-
- Give the new argument `--tap-subgraph-endpoint` to activate the new TAP codepaths and enable redeeming of TAP RAVs.
81+
- 遵循[相同的过程](https://github.com/graphprotocol/indexer/pkgs/container/indexer-agent#graph-protocol-indexer-components)
82+
- 给出新的参数`--tap-subgraph-endpoint`以激活新的TAP代码路径并启用TAP RAV的兑换。
8383

84-
2. **Indexer Service**
84+
2. **索引人服务**
8585

86-
- Fully replace your current configuration with the [new Indexer Service rs](https://github.com/graphprotocol/indexer-rs). It's recommend that you use the [container image](https://github.com/orgs/graphprotocol/packages?repo_name=indexer-rs).
87-
- Like the older version, you can scale Indexer Service horizontally easily. It is still stateless.
86+
- [新的索引人服务](https://github.com/graphprotocol/indexer-rs)完全替换当前的配置。建议您使用[容器映像](https://github.com/orgs/graphprotocol/packages?repo_name=indexer-rs)
87+
- 与旧版本一样,您可以轻松地水平扩展索引人服务。它仍然是无状态的。
8888

89-
3. **TAP Agent**
89+
3. **TAP代理**
9090

91-
- Run _one_ single instance of [TAP Agent](https://github.com/graphprotocol/indexer-rs) at all times. It's recommend that you use the [container image](https://github.com/orgs/graphprotocol/packages?repo_name=indexer-rs).
91+
- 运行 _一个_ [TAP代理](https://github.com/graphprotocol/indexer-rs)实例。建议您使用[容器映像](https://github.com/orgs/graphprotocol/packages?repo_name=indexer-rs)
9292

93-
4. **Configure Indexer Service and TAP Agent**
93+
4. **配置索引人服务和TAP代理**
9494

95-
Configuration is a TOML file shared between `indexer-service` and `tap-agent`, supplied with the argument `--config /path/to/config.toml`.
95+
配置是`索引人服务``tap代理`之间共享的TOML文件,帶上参数 `--config /path/to/config.toml`
9696

97-
Check out the full [configuration](https://github.com/graphprotocol/indexer-rs/blob/main/config/maximal-config-example.toml) and the [default values](https://github.com/graphprotocol/indexer-rs/blob/main/config/default_values.toml)
97+
查看完整[配置](https://github.com/graphprotocol/indexer-rs/blob/main/config/maximal-config-example.toml)[默认值](https://github.com/graphprotocol/indexer-rs/blob/main/config/default_values.toml)
9898

99-
For minimal configuration, use the following template:
99+
对于最小配置,请使用以下模板:
100100

101101
```bash
102102
# You will have to change *all* the values below to match your setup.
@@ -170,24 +170,24 @@ max_amount_willing_to_lose_grt = 20
170170

171171
注意:
172172

173-
- Values for `tap.sender_aggregator_endpoints` can be found in the [gateway section](/indexing/tap/#gateway).
174-
- Values for `blockchain.receipts_verifier_address` must be used accordingly to the [Blockchain addresses section](/indexing/tap/#contracts) using the appropriate chain id.
173+
- `tap.sender_aggregator_endpoints`的值可以在[网关部分](/indexing/tap/#gateway)找到。
174+
- `blockchain.receipts_verider_address`的值必须使用相应的链id与[blockchain地址部分](/indexing/tap/#contracts) 相对应。
175175

176-
**Log Level**
176+
**日志级别**
177177

178-
- You can set the log level by using the `RUST_LOG` environment variable.
179-
- It’s recommended that you set it to `RUST_LOG=indexer_tap_agent=debug,info`.
178+
- 您可以使用`RUST_log`环境变量设置日志级别。
179+
- 建议您将其设置为 `RUST_LOG=indexer_tap_agent=debug,info`
180180

181-
## Monitoring
181+
## 监测
182182

183183
### Metrics
184184

185-
All components expose the port 7300 to be queried by prometheus.
185+
所有组件都将端口7300暴露给prometheus进行查询。
186186

187187
### Grafana Dashboard
188188

189-
You can download [Grafana Dashboard](https://github.com/graphprotocol/indexer-rs/blob/main/docs/dashboard.json) and import.
189+
您可以下载[Grafana Dashboard](https://github.com/graphprotocol/indexer-rs/blob/main/docs/dashboard.json) 并导入。
190190

191191
### Launchpad
192192

193-
Currently, there is a WIP version of `indexer-rs` and `tap-agent` that can be found [here](https://github.com/graphops/launchpad-charts/tree/main/charts/graph-network-indexer)
193+
目前,有一个WIP版本的 `index-rs``tap-agent`可以在[这里](https://github.com/graphops/launchpad-charts/tree/main/charts/graph-network-indexer)找到。

0 commit comments

Comments
 (0)