@category-labs/mera

中文文档
0.3.0发布于 2026/10/20(MIT OR Apache-2.0)TypeScriptES Module构建来源已验证近 30 天下载 1.5万

Accounts on any chain and platform, from a passkey

原始使用文档
文档目录5 节
  1. Supported platforms
  2. Documentation and demos
  3. Status
  4. Contributing
  5. License

mera

Accounts on any chain and platform, from a passkey.

mera is a TypeScript library for creating accounts from a passkey. It derives 32 secret bytes from the passkey, turns them into account keys with the standards wallet apps use, and enables signing sessions. Recovery, storage, and product flows such as funding remain under application control.

Developers can use mera to:

  • create new accounts from a passkey without requiring a smart-account contract or custody service;
  • give users an account they can recover on any device that has the passkey;
  • export accounts as a standard recovery phrase that wallet apps can import;
  • secure an existing recovery phrase, private key, or other data with a passkey;
  • use the same passkey across web, iOS, and Android applications tied to the same domain.

Supported platforms

  • Web browsers
  • Chrome extensions
  • React Native on iOS 18 or later and Android 9 or later

Native applications can reuse passkeys created with mera by using the platform's WebAuthn APIs.

See authenticator support for browser and OS support.

Documentation and demos

Installation instructions, guides, compatibility details, the security model, API reference, and live demos are available on the mera documentation website. The passkey PRF model demonstrates how a passkey determines account data.

Status

mera is currently in preview, and the API may change before version 1.0. Category Labs has completed an internal security review. The documentation outlines its security model.

Contributing

Issues and pull requests are welcome in the mera repository. See the contribution guide and code of conduct.

mera is developed by Category Labs.

License

Licensed under either the Apache License 2.0 or the MIT License, at the licensee's option.

版本与发布记录

@category-labs/mera 共发布 3 个版本,首次发布于 2026/07/24;过去 12 个月发布了 3 个版本。最新版本附带 npm provenance 构建来源证明,可追溯到公开的 CI 构建记录。

版本发布日期距今
0.3.0latest2026/10/2019 天前
0.2.02026/08/132 个月前
0.1.02026/07/243 个月前

关于 @category-labs/mera 的常见问题

@category-labs/mera 是什么?

Accounts on any chain and platform, from a passkey

如何安装 @category-labs/mera?

在项目目录运行 npm install @category-labs/mera,或使用 pnpm add / yarn add / bun add。

@category-labs/mera 支持 TypeScript 吗?

支持。包内自带 TypeScript 类型声明(package.json 声明了 types 入口),安装后即可获得类型提示,无需再安装 @types 包。

@category-labs/mera 支持 ESM 还是 CommonJS?

以 ES Module 形式发布,推荐使用 import 引入。在 CommonJS 项目中,Node.js 20.19+ / 22.12+ 可以直接 require() 不含顶层 await 的 ES Module,更早的版本需要改用动态 import()。

@category-labs/mera 可以商用吗?

@category-labs/mera 使用 (MIT OR Apache-2.0) 许可。可在 MIT、Apache-2.0 中任选其一遵守。选择 MIT 时,宽松许可:允许商业使用、修改和再分发,通常只需在分发时保留原版权与许可声明。以上为概括,不构成法律意见,请以许可原文为准。

@category-labs/mera 的下载量有多少?

根据 npm 官方下载统计,@category-labs/mera 在 2026/10/09 – 2026/11/07 这 30 天内被下载 15,175 次,日均约 506 次。下载量会把 CI 构建、镜像同步和作为其他包依赖的安装一并计入,适合横向比较热度,不能直接等同于使用人数。

@category-labs/mera 还在维护吗?

最新版本 0.3.0 发布于 2026/10/20(19 天前);至今共发布 3 个版本,其中过去 12 个月发布了 3 个;首次发布于 2026/07/24。发布频率只是参考信号:功能稳定的工具可能很少需要更新,建议结合源码仓库的 issue 和提交记录判断。