> ## Documentation Index
> Fetch the complete documentation index at: https://docs.magicblock.gg/llms.txt
> Use this file to discover all available pages before exploring further.

# 计数器

<CardGroup cols={2}>
  <Card title="查看仓库" icon="github" href="https://github.com/magicblock-labs/magicblock-engine-examples/tree/main/anchor-counter" iconType="duotone">
    查看源代码与实现
  </Card>
</CardGroup>

***

## 概览

使用 Ephemeral Rollups 在链上以低延迟追踪和更新计数器。这个简单示例展示了将 accounts 委托给 ephemeral rollups 并实现高频状态更新的核心概念。

***

## 相关产品

<CardGroup cols={2}>
  <Card title="Ephemeral Rollup" icon="gauge-max" href="/cn/pages/ephemeral-rollups-ers/introduction/ephemeral-rollup" iconType="duotone">
    了解 Ephemeral Rollups 的工作方式
  </Card>

  <Card title="快速开始指南" icon="rocket" href="/cn/pages/ephemeral-rollups-ers/how-to-guide/quickstart" iconType="duotone">
    开始使用 Ephemeral Rollups
  </Card>

  <Card title="Anchor 集成" icon="anchor" href="/cn/pages/ephemeral-rollups-ers/how-to-guide/anchor" iconType="duotone">
    使用 Anchor 框架构建
  </Card>

  <Card title="Magic Router" icon="route" href="/cn/pages/ephemeral-rollups-ers/introduction/magic-router" iconType="duotone">
    理解交易路由机制
  </Card>
</CardGroup>
