LogoClawIndex
案例技能关于
LogoClawIndex

thegraph - 用于区块链索引器的TheGraph子图开发

使用AssemblyScript处理程序开发TheGraph子图,用于处理区块链事件和存储实体。

标签

更新于: 2026-02-24
区块链索引器thegraph子图assemblyscriptgraphql

能力

典型输入

典型输出

该技能可以做什么

  • 构建区块链索引器
  • 编写AssemblyScript处理程序
  • 处理区块链事件
  • 存储实体数据
  • 定义GraphQL模式
  • 运行Matchstick测试

输入

  • subgraph.yaml配置
  • schema.graphql定义
  • mapping.ts处理程序
  • 合约ABI文件
  • 区块链事件数据

输出

  • 编译的WASM文件
  • 生成的类型定义
  • 测试结果
  • 部署的子图

要求

  • AssemblyScript环境
  • graph-ts库
  • 代码生成工具
  • graph CLI工具
  • Matchstick测试框架
  • Graph节点访问权限

来源

  • 规范: SKILL.md

ClawIndex

OpenClaw Skills 与 Use Case 索引

ClawIndex 是一个生态驱动的 OpenClaw Skills 与真实 Use Case 索引站。

索引

Skills·
Cases

Meta

关于·
声明·
邮箱·
GitHub
© 2026 ClawIndex 保留所有权利。
构建区块链索引器
编写AssemblyScript处理程序
处理区块链事件
存储实体数据
subgraph.yaml配置
schema.graphql定义
mapping.ts处理程序
编译的WASM文件
生成的类型定义
测试结果