Skip to main content

Zero-Knowledge Proofs

Privacy-preserving verification using ZKP technology.

Overview

Zero-Knowledge Proofs allow users to prove facts about themselves without revealing the underlying data.

Use Cases

Proof TypeProvesHides
BalanceSufficient fundsExact amount
AgeOver 18/21Birthdate
LocationCountryAddress
KYCVerified statusPersonal info

How ZKP Works

Generating Proofs

// Create a balance proof
const proof = await pelago.zkp.createProof({
type: 'balance-threshold',
threshold: 100.00,
currency: 'USDC',
walletAddress: 'GXXXXX...'
});

// Verify the proof
const isValid = await pelago.zkp.verifyProof(proof);

Proof Types

Balance Threshold

Prove balance ≥ amount without revealing exact balance:

const proof = await pelago.zkp.createBalanceProof({
threshold: 500,
currency: 'USDC'
});

Age Verification

Prove age ≥ threshold without revealing birthdate:

const proof = await pelago.zkp.createAgeProof({
minimumAge: 21
});

Privacy Benefits

  • Data minimization: Share only what's needed
  • Selective disclosure: Control what to reveal
  • Unlinkability: Proofs can't be correlated