A social account plus proof of human covers most products.
Define the layered requirements
defineGate builds the policy in your code and publishes nothing.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Combine account, social, and proof of human checks in one gate for stronger assurance than any single signal.
| Layer | Check | When |
|---|---|---|
| Social or work account | ownership-social or ownership-org-oauth | The linked identity most products need first |
| Human | proof-of-human | Bot resistance and fair access |
| Wallet risk | wallet-risk | Payment flows and high-value access |
import { defineGate } from '@proofable/sdk';
const layered = defineGate([
{ verifierId: 'ownership-social' },
{ verifierId: 'proof-of-human' },
]);
defineGate builds the policy in your code and publishes nothing.
<VerifyGate
gate={layered}
onVerified={(result) => {
// Store result.qHash to prevent replay
}}
>
<button>Verify to continue</button>
</VerifyGate>
const result = await client.gateCheck({
gate: layered,
subject: { accountId: user.accountAddress },
});
if (!result.satisfied) throw new Error('Verification required');
maxAgeMs on a requirement for point-in-time checks, and store proof IDs where replay matters.