Skip to main content

Overview

Use ZKScore to verify real users, combat bots, and reduce spam on social platforms.

Implementation

async function canPostContent(user) {
  const score = await zkScore.getScore(user);
  
  if (score.total < 50) {
    return { allowed: false, reason: 'Minimum score not met' };
  }
  
  return { allowed: true };
}