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 withreferences/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
PassportAccountdeploy/connect + custody circuitsIdentityRegistryregister / 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/