Socket
Book a DemoInstallSign in
Socket

@crisp-e3/zk-inputs

Package Overview
Dependencies
Maintainers
2
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@crisp-e3/zk-inputs

Core logic to pre-compute CRISP ZK inputs (WASM/JavaScript bindings).

latest
Source
npmnpm
Version
0.2.3-test
Version published
Weekly downloads
184
Maintainers
2
Weekly downloads
 
Created
Source

Wasm bundle for crisp-zk-inputs

Here we export wasm functionality for consumption in TypeScript to enable us to share code between Rust and TypeScript.

Usage

This package exposes an init subpackage default function which should be used to universally load the wasm module instead of exporting the default loader.

This is because in modern node there is no need for preloading however in the browser we still need to load the wasm bundle.

❌ DONT USE THE DEFAULT INIT

// Bad! Because this uses the raw loader which doesn't exist in node contexts
import init, { bfvEncryptNumber } from "@crisp-e3/zk-inputs";

✅ DO USE THE EXPORTED SUBMODULE

// Good! Use the universal loader
import init from "@crisp-e3/zk-inputs/init";

await init();
// other package imports here

FAQs

Package last updated on 13 Nov 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts