Skip to content

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 ​

Published Packages ​

PackageResponsibility
@midnightntwrk/credential-modelCredential schema and claim metadata with validation
@midnightntwrk/credential-compactSchema-neutral Compact VC/VP structures and proof primitives
@midnightntwrk/credential-did-midnightOptional 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.

Midnight Verifiable Credentials core