@account-kit/react-native-signer

中文文档
4.88.5发布于 2026/08/12TypeScriptESM + CJS近 30 天下载 1.5万

React Native compatible Smart Wallets signer

原始使用文档
文档目录3 节
  1. Installation
  2. Usage
  3. Contributing

@account-kit/react-native-signer

Deprecation Notice: This package is being deprecated in SDK v5.x.x and is no longer supported for new integrations.

React Native compatible signer implementation

Installation

npm install @account-kit/react-native-signer

Usage

This package requires several packages containing native modules to be installed in your project. Check out their docs at the following links for installation instructions.

Passkeys

If using passkeys, there are iOS- and Android-specific steps to link your app to an associated domain to which the passkeys will be connected. This means hosting specific JSON files from a domain you control. For details on this, see the instructions in the react-native-passkey README.

Deep Linking

Use emails containing OTP codes (the default setting) to avoid the need for this step.

If using emails with magic links, your app needs to be configured to handle deep linking. Check out the React Native docs for more information. You will also need a way to trigger the deep link via an HTTP or HTTPS URL. This can be done in a variety of ways ranging from universal links to setting up a custom redirect server.

See the example app for usage information.

Contributing

  1. Clone the repo
  2. run yarn in the root of the repo
  3. make changes in rn-signer/src
  4. cd into account-kit/rn-signer/example
  5. add a .env file which contains API_KEY={alchemy_api_key}. This API Key needs to correspond to an app that has Smart Wallets enabled (https://dashboard.alchemy.com/apps/latest/services/smart-wallets).
  6. run yarn android to start the example app. You will need to make sure you do the env setup here: https://reactnative.dev/docs/set-up-your-environment to be able to run the app on android

Made with create-react-native-library

版本与发布记录

@account-kit/react-native-signer 共发布 167 个版本,首次发布于 2024/11/26;过去 12 个月发布了 25 个版本。

版本发布日期距今
4.88.5latest2026/08/122 个月前
4.88.42026/05/235 个月前
4.88.32026/05/205 个月前
4.88.22026/05/076 个月前
4.88.12026/04/256 个月前
4.88.02026/04/236 个月前

其他发布通道:alpha → 4.75.5-alpha.0。

关于 @account-kit/react-native-signer 的常见问题

@account-kit/react-native-signer 是什么?

React Native compatible Smart Wallets signer

如何安装 @account-kit/react-native-signer?

在项目目录运行 npm install @account-kit/react-native-signer,或使用 pnpm add / yarn add / bun add。它还需要宿主项目提供 peer 依赖:react(>=18.2.0)、react-native(>=0.76.0)、react-native-get-random-values(^1.11.0)、react-native-inappbrowser-reborn(^3.7.0)、react-native-mmkv(^3.1.0)、react-native-passkey(^3.1.0)。npm 7 及以上与 pnpm 8 及以上默认会自动安装必需的 peer 依赖,Yarn 需要手动安装。

@account-kit/react-native-signer 支持 TypeScript 吗?

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

@account-kit/react-native-signer 支持 ESM 还是 CommonJS?

同时提供 ES Module 与 CommonJS 入口,import 和 require() 都可以使用,打包工具会自动选择合适的版本。

@account-kit/react-native-signer 可以商用吗?

@account-kit/react-native-signer 使用 未声明 许可。package.json 没有声明许可证。没有许可证的代码默认保留全部权利,商用前请联系作者或查看仓库中的 LICENSE 文件。以上为概括,不构成法律意见,请以许可原文为准。

@account-kit/react-native-signer 的下载量有多少?

根据 npm 官方下载统计,@account-kit/react-native-signer 在 2026/10/05 – 2026/11/03 这 30 天内被下载 14,925 次,日均约 498 次。下载量会把 CI 构建、镜像同步和作为其他包依赖的安装一并计入,适合横向比较热度,不能直接等同于使用人数。

@account-kit/react-native-signer 还在维护吗?

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