Night Pass Demonstrates Private EU Battery Passport Verification on Midnight

The open-source prototype uses Midnight zero-knowledge proofs to verify selected battery data without publishing the underlying values. Its SAP-based application layer is designed to connect privacy-preserving compliance with existing enterprise systems.

By SongMarketCap

Cardano News - Night Pass Demonstrates Private EU Battery Passport Verification on Midnight

An open-source prototype presented during the Midnight Fireside Dev Hang has demonstrated how manufacturers could create EU battery passports, anchor their integrity on Midnight and verify selected compliance claims without exposing sensitive production data.

Night Pass was developed with support from the Midnight Build Club and currently operates as a demonstrator on Midnight Preview. The project combines an enterprise-facing application with zero-knowledge proofs covering data such as carbon footprint, recycled-material content and chemical thresholds.

The prototype arrives ahead of the European Union’s battery passport requirements. From February 18, 2027, each electric-vehicle battery, light-means-of-transport battery and industrial battery with a capacity above 2 kWh placed on the EU market must have an electronic battery passport. EU rules also require different access rights for consumers, recyclers, authorities and other authorized participants.

Night Pass Anchors Battery Passport Integrity on Midnight

Night Pass creates a digital record for an individual battery while separating public information from commercially sensitive data.

The application stores the complete passport off-chain. Only public metadata and cryptographic commitments, including a payload hash and a Merkle root covering selected fields, are anchored on Midnight. Any later change to the underlying document would produce a different cryptographic result and break its connection with the record already submitted to the network.

The project uses Nightgate as its Midnight infrastructure layer. Nightgate provides the Compact contract, zero-knowledge proof components and a worker that handles asynchronous transaction submission from the enterprise application.

During the presentation, the producer interface was used to create a battery passport, submit its cryptographic commitments and generate proofs connected to individual data fields. The public repository documents a completed Preview example in which one passport was anchored before three separate predicate proofs were added for carbon footprint, recycled content and lead concentration.

Users do not need to interact directly with command-line blockchain tools. Transactions can be submitted through a server-managed wallet or signed by the user through a compatible wallet connection.

Zero-Knowledge Proofs Separate Verification From Disclosure

Battery passports are intended to improve traceability across manufacturing, use, reuse and recycling. The same records can also contain supplier identities, chemical composition, sustainability metrics and other information that manufacturers may not want to make publicly available.

Night Pass uses field-bound zero-knowledge predicates to address that conflict. A producer can prove that a value is above or below a required threshold without revealing the number used to generate the proof.

A manufacturer could therefore verify that a battery’s carbon footprint remains below an accepted limit while keeping the precise measurement private. The proof is tied to the passport’s anchored content root, preventing a valid value from one battery record from being reused for another.

The application also applies separate disclosure levels. Public users can access general product information, recyclers can receive additional technical data, and authorities can be granted a broader view that includes restricted fields such as supplier identities. The European regulation similarly requires access to be controlled according to each participant’s role while protecting commercially sensitive information.

For Midnight’s $NIGHT ecosystem, the design provides a more specific use of programmable privacy than simply hiding an entire transaction. The application reveals the information required by each participant while allowing other claims to be verified without disclosure.

SAP Architecture Connects Midnight With Enterprise Workflows

Night Pass is built with the SAP Cloud Application Programming Model, a framework for developing enterprise-grade cloud applications. SAP CAP supports structured data models, service layers and interfaces such as OData, allowing applications to exchange information with existing business software.

The use of SAP CAP does not represent an announced partnership with SAP or a confirmed commercial deployment. Night Pass is an independent prototype that uses SAP’s development framework to demonstrate how Midnight functionality could be placed behind a conventional enterprise interface.

The application includes separate producer, consumer and explorer views. Producers can create and attest passports, authorized participants can receive the appropriate disclosure tier, and public proofs can be inspected through an explorer-style interface.

According to the project repository, the producer cockpit can also export battery data in a Catena-X-compatible JSON structure. The export includes a Predicate Attestation Credential that records which claim was proven while marking the underlying value as undisclosed.

That machine-readable output is relevant because battery passport data must move between manufacturers, suppliers, software platforms, recyclers and regulators rather than remain inside a single blockchain application.

Night Pass remains a prototype. Production deployment would require audited contracts, secure identity controls, reliable connections to manufacturer databases and validation against the final technical requirements used by regulators and industry platforms.

The completed demonstrator nevertheless gives the $NIGHT ecosystem an operational enterprise workflow: a producer can create a battery passport, anchor its integrity on Midnight, generate a field-level compliance proof and export a record for another business system without publishing the confidential value behind the claim.