Midnight preprod, live

Put a passport on the chain

Not a simulation. Press the button and this site registers a vehicle passport on the deployed preprod contract, records its history, and proves claims about values it never publishes. Real proofs, real fees, real blocks you can look up yourself.

Checking the chain
contacting api.passport.vin
DEMO
Fictional vehicles, real chain. Every run invents a VIN of its own, so nothing here collides with a real vehicle or with another visitor's run. Runs are capped per day because each one writes permanent public state and spends real fees.
01

WHAT THE RUN DOES

on the deployed contract
REGISTERS A PASSPORT

A fresh VIN is hashed and anchored with a content root committing to its full declaration panel. The VIN itself is never published.

RECORDS A HISTORY

Mileage, accidents and keepers are created under integrity rules fixed at creation, then the odometer moves once. Only commitments reach the ledger.

PROVES, AND REFUSES

Claims are proven in zero knowledge. One claim is chosen so the record cannot support it: watch it get refused in-circuit and write nothing.

The whole run takes a few minutes. Each transaction is proven on this server, funded from our own wallet, submitted to a preprod node, and then waited for until a block carries it.

FILL IT IN MYSELF a run writes permanent public state
02

CHECKING IT YOURSELF

public indexer

Nothing above has to be taken on trust. The contract is public, and so is every transaction the run makes. Ask the indexer what the contract's latest action is and compare it against the hashes in your receipt.

curl -s https://indexer.preprod.midnight.network/api/v4/graphql \
  -H 'Content-Type: application/json' \
  -d '{"query":"{ contractAction(address: \"\") { __typename transaction { hash block { height } } } }"}'