гра́мота — the Slavic word for an official charter or certificate of authority. Tsars issued grammoty of nobility. Schools issue grammoty of graduation. Today, governments issue digital grammoty under eIDAS. This SDK builds them.
The TypeScript SDK for the EU Digital Identity Wallet (EUDIW). Verify, issue, and integrate EUDIW credentials in 20 lines of code.
npm install @gramota/verifierimport { Verifier } from "@gramota/verifier";
const verifier = new Verifier({ audience: "https://my-bank.com", issuerKey });
const result = await verifier.verify(presentationToken, { nonce });
if (result.ok) console.log(result.claims); // { given_name: "Greta", ... }| Repo | What |
|---|---|
| gramota | The OSS SDK monorepo — 12 packages, 524+31 tests, EU-live verified |
All on the @gramota npm org:
- High-level:
@gramota/verifier·@gramota/issuer·@gramota/holder - Protocol:
@gramota/oid4vp·@gramota/oid4vci·@gramota/presentation-exchange·@gramota/dcql - Crypto / credentials:
@gramota/jose·@gramota/sd-jwt·@gramota/credential-format - Trust & revocation:
@gramota/trust·@gramota/status-list
Every published tarball ships with a signed provenance attestation linking it to a specific GitHub commit (Sigstore transparency log).
The EU Digital Identity Wallet is mandatory by 2027. Every regulated digital business — banks, telcos, fintech, age-gated commerce — needs to integrate.
The existing identity SDKs are heavy, Kotlin-first, and built for identity specialists. Gramota is TypeScript-native, opinionated, and built for the millions of web developers who'd otherwise have to read 80 pages of EU ARF documentation just to verify a holder.
Live-tested against the EU Commission's reference infrastructure
(dev.issuer-backend.eudiw.dev, dev.verifier-backend.eudiw.dev).
OID4VCI · OID4VP (incl. 2.0 with DCQL) · SD-JWT-VC · DCQL · DIF Presentation Exchange v2 · IETF Token Status List · PAR · DPoP · PKCE · JOSE · x5c chain validation · eIDAS 2 / EUDIW (EU Reg. 2024/1183).
- ✅ Phase 0 (foundation) — done
- 🟡 Phase 1 (public launch) — ✅ npm published, ⏳ docs site, ⏳ blog
- 🗓 Phase 2 (downstream) — WordPress / Shopify / Stripe Connect integrations
Apache 2.0 · Built in Sofia · Sold to the world in English.