Reference implementation. The cryptography is real and runs entirely in this browser: keys are created with the Web Crypto API, credentials are signed with ECDSA P-256 over a canonicalized document, and the issuer's did:key identifier is decoded back to its public key by the verifier with no registry and no network call. The institutions, learners and achievements are illustrative sample data, and nothing is transmitted anywhere — the page cannot make a network request at all.

Issue a verifiable credential

Acting as a credentialing institution. The achievement is assembled as an Open Badges 3.0 AchievementCredential inside a W3C Verifiable Credential, canonicalized, then signed with the issuer's private key.

Issuer identity

A decentralized identifier derived from the issuer's public key. The key material is inside the identifier, so a verifier resolves it offline.

Generating a P-256 key pair…