Midnight Verifiable Credentials
Protocol-independent verifiable credential and presentation building blocks for Midnight.
This site documents the normative core specification, conformance evidence, and the reusable packages published by this repository. Concrete credential implementations, protocols, wallets, applications, and deployment environments belong in independently versioned consumer repositories.
Package version 1.0.0 is stable; the normative VC/VP specification remains at 0.2-draft and is a working draft.
Start Here
- Read the core specification
- Install and compose the packages
- See capabilities and a complete developer journey
- Inspect conformance evidence
- Understand the core-only boundary
Published Packages
| Package | Responsibility |
|---|---|
@midnightntwrk/credential-model | Credential schema and claim metadata with validation |
@midnightntwrk/credential-compact | Schema-neutral Compact VC/VP structures and proof primitives |
@midnightntwrk/credential-did-midnight | Optional Midnight DID-to-core binding and Compact extension |
The packages are intentionally small, composable building blocks. None defines an issuance or presentation protocol.
All three packages have stable 1.0.0 under the latest npm tag (registry verified 2026-12-03). Start with the exact-version quickstart and read the 1.0.0 release notes for upgrade and compatibility details.
Trust Boundary
A valid core proof establishes control of a supplied Jubjub key over an exact, domain-separated body. It does not independently establish issuer trust, DID authorization, current credential status, trusted time, or application policy. Those decisions remain explicit composition responsibilities.