Open-source work by kshot

Midnight dApps
built in the open.

I build privacy-preserving apps and developer tools for Midnight. Explore the project designs, open-source code, and progress on testnet.

Preview & Preprod testnets

Midnight mainnet · Android 8.0+

Midnight Prover for Android

Generate zero-knowledge proofs with the official Midnight proof server 9.0.2 running on the same Android device. The app holds no keys, signs nothing, and submits nothing.

Mainnet release in verification. Follow release status.

Proof server required
Use the loopback address http://127.0.0.1:6300 for the mainnet build.
Emulator verification
The testnet build generated a sample proof in an Android emulator. Read the testnet verification report.
Midnight Prover showing the returned 2.9 KB DUST-spend sample proof and the copy button.
Android emulator capture · testnet v0.7.1

Simulated demo · Preview testnet design

BlackBox

Try a threshold evidence escrow with fictional files. Encrypt a sample locally, watch the corroboration count, and see when the investigator portal allows access.

Open BlackBox simulator

Windows x64 · v0.2.0

Midnight
Proof Station

Run a Midnight Preview full node and indexer, and generate zero-knowledge sample proofs locally with CPU or NVIDIA CUDA.

Download the midnight-proof-station-win-x64 artifact from a successful Proof Station run. A GitHub sign-in is required.

Windows Proof Lab
Midnight Proof Station dashboard showing the Preview node controls and CPU Proof Lab mode.

Preview services

Monitor the full node and indexer, and run the released CPU prover for Preview wallet transactions. Node sync requires a synced Cardano Preview db-sync connection.

CPU and CUDA proving

Both modes run the same synthetic circuit in WSL2 and verify a cold and a warm proof. CUDA also reports device calls and peak tracked VRAM.

Original RTX 3090 benchmark

Verification status

Two sample proofs on an RTX 3090 passed stock CPU verification. The cold proof took 1.168 s and the warm proof 0.766 s, with 38 CUDA MSM calls and zero fallbacks.

Two CPU proofs also verified on Linux, and both modes rendered from the Windows package. Full-node sync on Preview is pending.

RTX 3090 hardware results Build and test results

Project catalogue

Browse the original catalogue below or explore the full ideas directory and try the prototypes.

How Midnight is used here

The catalogue describes planned uses. I’ll mark an app live on testnet when there’s a verified deployment and reproducible evidence.

Selective disclosure

Prove the fact the verifier asks for. An age check can reveal that you’re over 21 while keeping your birth date private.

Private state + public proof

A Compact circuit can use data from a local private store. The ledger verifies a zero-knowledge proof against public inputs. The app’s design determines what appears in public outputs and state.

Compact privacy guide

Shielded fees in DUST

Registered NIGHT generates the DUST that pays fees. The fee amount is public. A shielded DUST spend keeps the fee input hidden, while timing and other public transaction details can still be observable.

DUST registration guide

Testnet setup

This catalogue runs in your browser. The checklist applies when testing a dApp on Midnight.

Check compatible versions
  1. Set Lace to the same Preview or Preprod testnet as the dApp. Use testnet tNIGHT and synthetic data.
  2. Register tNIGHT for DUST generation and check that spendable DUST is available before sending a testnet transaction.
  3. Run the matching local proof server. The planned indexer setup is self-hosted for Preview and Blockfrost Midnight for Preprod.