How zk proofs are generated
Binding UnifiedID into the challenge
export function createChallenge(walletAddress: string, unifiedId: string, timestamp: number) {
const timestampStr = new Date(timestamp).toISOString();
return `Prove ownership of ${walletAddress} for UnifiedID ${unifiedId} at ${timestampStr}`;
}Off-chain signature verification (pre-zk)
Last updated