npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@baerae/zkap-zkp-react-native

v0.1.7

Published

React Native SDK for zkap-zkp — on-device ZK proving with Groth16 (BN254) and Poseidon hash.

Readme

@baerae/zkap-zkp-react-native

React Native SDK for zkap-zkp with Expo modules integration.

Install:

npx expo install @baerae/zkap-zkp-react-native

Requires Expo New Architecture and the following peer dependencies:

  • expo
  • expo-modules-core
  • react-native
import { generateHash, generateAnchor } from '@baerae/zkap-zkp-react-native'

const hash = await generateHash(['0x1', '0x2'])
const anchor = await generateAnchor(config, secrets)

The npm package bundles the iOS XCFramework and Android .so libraries produced by CI.

This direct runtime package exposes the React Native UniFFI API and keeps the historical snake_case request/config shape. Use @baerae/zkap-zkp with this package when you need the camelCase compatibility facade plus helpers such as downloadRelease() and loadCircuitConfig().

prove() expects a downloaded zkap-circuit release bundle that includes manifest.json, pk.bin, circuit.ar1cs, and witness_gen.wasm from the same circuit release. The package does not bundle witness_gen.wasm.

On iOS-family targets, witness_gen.wasm runs inside a headless WKWebView. The witness output is transferred back to native code with chunked base64, validated by sha256/length, written to a temp file, and then consumed by the native proof pipeline. The iOS native binary does not link Wasmtime, Cranelift, Pulley, or Wasmi.

Android and other non-iOS native targets keep the Wasmtime-backed witness runtime and pass witness bytes directly into the native proof pipeline without a React Native bridge transfer.

For App Store submissions, keep the zkap-circuit release URL immutable and pin the expected release artifact hashes. The SDK validates the release bundle before proving, but App Review approval is still the host app's responsibility.