Documentation

Quick links to the guides, concepts, recipes, and the auto-generated API reference. The fastest path to a working integration is the 5-minute verifier.

Getting started

Concepts

The standards demystified for web developers.

  • SD-JWT-VC — the credential format the EU is settling on. Selective disclosure without trusting the holder.
  • OID4VCI — issuance protocol. The OAuth-shaped flow behind every EUDIW credential.
  • OID4VP — verification protocol. How the verifier asks for claims and gets a response it can trust.
  • DCQL — credential query language. How verifiers ask for specific claims, compactly.
  • DPoP — RFC 9449. How OAuth access tokens get sender-constrained to the holder's key.

Guides

End-to-end walk-throughs that produce working code.

  • Build a verifier — a 30-line bank-style relying party.
  • Build an issuer — a 50-line OID4VCI pre-authorized-code issuer the EU wallet talks to.
  • Batch issuance — mint a pool of N independent unlinkable credentials per offer.

Recipes

Specific scenarios with concrete code.

API reference

Auto-generated from each @gramota/* package's TypeScript declarations.

Top-level

  • @gramota/sdk — Stripe-shaped facade. One config object, lazy-instantiated verifier, issuer, holder, qr.

High-level

Protocol & transport

Cryptography & credentials

Trust & revocation

  • @gramota/trustTrustResolver: Static, JwksUrl, SdJwtVcIssuer (.well-known/jwt-vc-issuer).
  • @gramota/status-list — IETF Token Status List + StatusResolver Strategy.

Foundation

  • @gramota/coreFetcher transport interface + GramotaError base class. Imported by every other @gramota/* package.