Skip to main content

Documentation Index

Fetch the complete documentation index at: https://core.anylayer.org/llms.txt

Use this file to discover all available pages before exploring further.

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;
}