@tamga-network/issuer
v0.1.0
Published
Issuer kütüphanesi: credential fabrikası (şema doğrulama + türetilmiş claim + batch), OpenID4VCI sunucu yardımcıları (offer, tx_code, c_nonce, proof), Token Status List yayıncısı (bits=2, rastgele idx, sabit aralık) ve çapa isteği. Servis (tamga-platform)
Readme
@tamga-network/issuer
Everything an institution needs to issue: a credential factory, OpenID4VCI helpers and the revocation-list publisher (Token Status List, fixed interval, random positions). The /client subpath talks to Tamga's hosted issuing service with your institution's API key.
Install
npm install @tamga-network/issuerUsage
import { createIssuerClient } from "@tamga-network/issuer/client";
const tamga = createIssuerClient({ baseUrl: "https://issuer.tamga.network", slug: "your-institution", apiKey });
const offer = await tamga.createOffer({ subjectId: "121200001", vct: "urn:tamga:edu:DiplomaCredential:1" });
// offer.deepLink → QR code; offer.txCode → a different channel, never inside the linkA complete, tested version: examples/03-issue-hosted.
Status
Pre-release (0.1.0) on npm — written and tested; the API may still change before 1.0. Every release is built from this
repository by GitHub Actions and carries npm provenance (verifiable link to the source commit).
Links
- Working examples, run in CI against the real packages:
examples/ - Integration guides and specifications: docs.tamga.network
- Code: Apache-2.0 · Documentation: CC BY 4.0
