Skip to main content

Overview

Integrate ZKScore into social platforms to verify users, combat bots, and reward quality engagement.

Use Cases

Verified User Status

async function getUserVerificationLevel(address) {
  const score = await zkScore.getScore(address);
  const attestations = await trustRegistry.getReceivedAttestationUIDs(address);
  
  if (score.total >= 500 && attestations.length >= 3) return 'verified';
  if (score.total >= 300) return 'trusted';
  return 'new';
}

Bot Prevention

Filter out low-reputation accounts:
async function isLikelyBot(address) {
  const score = await zkScore.getScore(address);
  return score.total < 50;
}