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 to serve as the root for each account and enables signing sessions. Account derivation, 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;
- provide users with an account that is instantly backed up and recoverable on any device with a passkey;
- secure an existing recovery phrase, private key, or other data with a passkey;
- 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.
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.
library/contains the published package and its tests.demos/includes web, Chrome extension, and mobile demos, as well as a model illustrating how a passkey determines account data.docs/contains the documentation website.
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.
Issues and pull requests are welcome. See the contribution guide and code of conduct.
mera is developed by Category Labs.
Licensed under either the Apache License 2.0 or the MIT License, at the licensee's option.
