@keytrace/claims
npm Verify Keytrace Claims
Verify identity claims in the browser or Node.js. Zero runtime dependencies.
npm install @keytrace/claimsRecent:
Quick Start
import { getClaimsForHandle } from '@keytrace/claims'; const result = await getClaimsForHandle('alice.bsky.social'); console.log(`${result.summary.verified}/${result.summary.total} claims verified`); for (const claim of result.claims) { if (claim.verified) { console.log(`✓ ${claim.type}: ${claim.identity.subject}`); } }
How It Works
Enter a handle above to see the verification process in action. The library performs these steps:
- Resolves the handle to a DID via the public ATProto API
- Locates the user's Personal Data Server (PDS) from their DID document
- Fetches all
dev.keytrace.claimrecords - Verifies each claim's cryptographic signature using Web Crypto
Platform Support
Node.js 18+Modern BrowsersDenoCloudflare Workers
Zero runtime dependencies - uses standard fetch and crypto.subtle APIs.