Docs.
API reference, SDK methods, integration guides, and examples. Phase 1 runs against a local gateway with placeholder Groth16 proofs. Sepolia deployment lands in Phase 2.
Full protocol details: read the whitepaper →
Create a payment intent with policy manifest. Returns intent ID, commitment hash, and deadline.
Retrieve the current status and details of a payment intent.
Verify a settlement proof. Marks intent as settled and checks nullifier anti-replay.
Register a commitment for a claim (credit band, KYC bool, score range). Returns commitment ID and nullifier.
Verify a Groth16 proof against a registered commitment. Returns verification result.
Retrieve the status and metadata of an attestation.
API health check. Returns version, uptime, and target chain.
Quickstart.
# Phase 1: request an API key via email.
# The SDK + gateway repo will be open-sourced in Phase 2.
mailto:zkagentcloak@gmail.com// Base URL and API key from your access email.
const GATEWAY = 'https://api.agent-cloak.com';
const API_KEY = process.env.CLOAK_API_KEY;const res = await fetch(`${GATEWAY}/zkpay/intent`, {
method: 'POST',
headers: {
'Content-Type': 'application/json',
'Authorization': `Bearer ${API_KEY}`,
},
body: JSON.stringify({ from, to, amount, chainId, policy }),
});
const intent = await res.json();