Skip to content

Unified ZK Proof SDK for Kai-Turah Harmonic Identity — WebAssembly-based module for zero-knowledge proving, verifying, and resonance attestation using Groth16 + Poseidon. Secure. Modular. Harmonic.

License

Notifications You must be signed in to change notification settings

Phinetwork/zk-proof

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🔐 zkp-prover

WebAssembly Zero-Knowledge Proof module for Kai-Turah Harmonic Identity
🧬 Powered by Groth16 · 🧠 Optimized with Poseidon Hash · 🔮 Delivered via WASM


✨ What is this?

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.


📦 Install

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."

About

Unified ZK Proof SDK for Kai-Turah Harmonic Identity — WebAssembly-based module for zero-knowledge proving, verifying, and resonance attestation using Groth16 + Poseidon. Secure. Modular. Harmonic.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published