Overview
Midnight is a blockchain platform that lets developers build apps which keep people's data private while still proving their transactions are valid. It suits businesses that handle confidential information and need to protect it on a public network. Its key idea is selective disclosure: an app can prove a fact, like someone being over 18, without revealing the data behind it.
Midnight is a partner chain of Cardano, an established public blockchain. A partner chain is a separate network that runs on its own but stays closely linked to a larger one, sharing security and letting assets move between them. Midnight runs a live mainnet1 with its own ledger and consensus, and its NIGHT token generates DUST, the resource used to pay for transaction fees2. To keep data private, it relies on zero-knowledge proofs, a method of confirming something is true without exposing the information that proves it, so the network stays open and checkable while sensitive details remain hidden3.
Key Features
- Private data that stays verifiable. Apps keep personal or business information hidden while still proving to the public network that they followed the rules, using zero-knowledge proofs3.
- Selective disclosure. Someone can reveal exactly what a situation calls for (proof of age, proof of funds) and nothing more, which fits regulations and audits without over-sharing4.
- Familiar tools for developers. Midnight's own smart contract language, Compact, lets developers write programs that run on the network and is designed to feel like TypeScript, a web programming language, so developers can add privacy features without deep cryptography expertise5.
- Fees paid by a self-renewing resource. NIGHT tokens that a holder registers for DUST generation produce DUST, a separate resource that covers transaction costs and refills over time, so people are not spending their main asset on every action2,6.
- Shared security with Cardano. Midnight inherits security from Cardano as a partner chain7. A permissioned set of federated node operators produces Midnight's blocks8.
What to Expect
For token holders, the entry point is NIGHT: a Cardano native asset that lives on the Cardano network and can be held in a Cardano-compatible wallet such as Lace. NIGHT was initially distributed to eligible ADA holders through an event called the Glacier Drop. NIGHT that a holder registers for DUST generation produces DUST over time, the resource that covers fees when you interact with Midnight apps6.
For developers, the Midnight Developer Academy explains the core ideas (how the network agrees on transactions, the cryptography behind private data, and the NIGHT and DUST model) before you move on to the full technical documentation. Building an app means writing it in Compact, with open-source examples available through the project's midnight-examples repository. A community forum, a Discord server, regular hackathons, and a technical fellowship give builders places to ask questions and learn9.
