WebAssembly Zero-Knowledge Proof module for Kai-Turah Harmonic Identity
🧬 Powered byGroth16
· 🧠 Optimized withPoseidon Hash
· 🔮 Delivered via WASM
zkp-prover
is a secure, deterministic WebAssembly module that performs fast zero-knowledge proof generation and verification using the Groth16 proving system with Poseidon hash. It is engineered for harmonic biometric identity — enabling sovereign authentication in decentralized, soul-bound systems like Phi Network.
It works entirely in the browser or Node.js environment using a high-performance WASM backend compiled from Rust + Arkworks.
npm install zkp-prover
🧠 Usage
1. Import and initialize
ts
Copy
Edit
import init, { generate_proof, verify_proof } from "zkp-prover";
await init(); // Load the WASM module
2. Generate a Proof
ts
Copy
Edit
const proof = await generate_proof({
voiceHash: "123...",
retinaHash: "456...",
kaiSignature: "789...",
});
3. Verify a Proof
ts
Copy
Edit
const isValid = await verify_proof(proof, {
publicInputs: ["123...", "456..."],
});
📁 Package Contents
This package contains:
File Purpose
zkp_prover_bg.wasm Compiled WASM binary (Groth16 prover)
zkp_prover.js JS glue module with exports
zkp_prover.d.ts Type definitions for TS support
package.json Metadata and module definition
🚀 Use Cases
✅ Biometric ZK Authentication
🔏 Harmonic Wallet Verification in Phi Network
🧬 Voice + Retina Proofs of Identity
🌐 Frontend ZKP in browsers, React, Svelte, or mobile
🔐 Powered by Arkworks + WASM
This module uses:
ark-groth16
ark-crypto-primitives
wasm-bindgen
🧙 Authored By
Kojib / Phi Network
→ https://phinetwork.org
→ https://github.com/phinetwork
🪪 License
Apache License 2.0 — use it for the good of truth, not deception.
🛠️ Contributing
This module is maintained as part of the Phi Network Harmonic Stack.
For bug reports, integration help, or suggestions: please open an issue or join the developer channel in our Discord.
"Truth doesn't need to shout — it resonates."