Developer Quickstart
Add proof-of-humanity to any app. No biometrics. No KYC. Three lines of code.
Quickstart — 4 steps
npm install @humanlayerlabs/sdk
Also available for React and wagmi.
import { HumanLayer } from '@humanlayerlabs/sdk';
const isHuman = await HumanLayer.isHuman(wallet);
// Returns: true | falseNo API key required for the free tier.
const access = await HumanLayer.gateAccess(wallet, {
minScore: 60 // Builder tier and above
});
if (access.allowed) {
// Real human — grant access
console.log(access.identity.score); // 82
console.log(access.identity.tierName); // "Builder"
} else {
// Bot or unverified — deny access
}Score ranges from 0–144 across five tiers.
// That's it. Your app now only lets real humans through. // No biometrics. No KYC. No personal data stored.
Deploy and share your integration.
Integration options
Drop-in connector for any wagmi app. Silently checks Human Score on every wallet connection.
npm install @humanlayerlabs/wagmi-connector
import { humanlayerConnector } from '@humanlayerlabs/wagmi-connector';
export const config = createConfig({
connectors: [
humanlayerConnector({ minScore: 60 })
],
});