midnight-passport

Installation
SKILL.md

Midnight Passport (integration)

Versions: every pin in this skill comes from references/versions.json, the repo's single source of truth (checked in CI). Resolve the current set at use time with references/volatile.md. Never install @latest.

Midnight Passport is the identity + custody layer: a user creates a passkey, gets a Night ID (alice.night), and lands on a contract-custodied account without seeing a seed phrase.

This skill teaches agents how to implement Passport pieces in an app. For a clone-and-run localnet demo, use example-passport-dapp/ + templates/passport-dapp/.

What this skill produces:

  • Passkey → 32-byte device secret (PRF) helpers
  • PassportAccount deploy/connect + custody circuits
  • IdentityRegistry register / lookup
  • Witness private-state pattern (device_secret, grant_secret, recovery_secret)
  • Session rules (never persist secrets)

Runnable code: templates/passport-dapp/
Related: example-passport-dapp/, compact/, midnight-js/, token-transfers/, security/

Installs
4
GitHub Stars
21
First Seen
Nov 18, 2026