@zodor-sdk/masque-id-sdk
v0.1.3
Published
Zodor Masque ID — DID creation, KYC claim issuance, and ZK proof generation
Maintainers
Readme
@zodor-sdk/masque-id-sdk
Decentralized identity SDK for Zodor Protocol. Create ONCHAINID-compatible DIDs, issue KYC claims via Digitap, and generate ZK-KYC proofs (Groth16).
Install
npm install @zodor-sdk/masque-id-sdkFeatures
- MasqueIdSDK — Deploy and manage ONCHAINID identities via MasqueIdFactory
- DigitapAdapter — KYC verification through Digitap (India + global)
- ZKProver — Generate Groth16 ZK-KYC proofs (age, jurisdiction, accreditation)
- MerkleTree — Build identity Merkle trees for on-chain verification
Usage
import { MasqueIdSDK, ZKProver, DigitapAdapter } from '@zodor-sdk/masque-id-sdk';
// Create an identity
const sdk = new MasqueIdSDK({ rpcUrl, signerKey });
const identity = await sdk.createIdentity(userAddress);
// Generate a ZK-KYC proof
const prover = new ZKProver({ wasmPath, zkeyPath });
const proof = await prover.generateProof(kycData);Requirements
- Node.js >= 18
- A connection to Maskade L1 (Chain ID 30917)
License
MIT
