Local simulation

NightPass

Prove you hold a valid passport credential — active and unexpired — while keeping the credential secret private.

This browser runs a simulated contract. All results stay in this tab. Reload to start a new session.

Manage passport credentials

Register a holder’s opaque commitment with an expiry epoch after checking eligibility outside the app. Revoke it to remove the credential from the active set, or advance the epoch to move the expiry clock forward.

Create a simulated passport in Holder first, then load its commitment here.

The expiry is bound into the credential’s Merkle leaf at registration — it cannot be extended later without re-issuing. It must be later than the current epoch.