This is a submission for the Midnight Network "Privacy First" Challenge - Protect That Data prompt
What I Built
ZK Guild Gate is a privacy-preserving access system that uses Midnight’s Compact smart contracts and zero-knowledge proofs to verify NFT ownership without revealing wallet addresses or token IDs. It enables truly anonymous guild membership, gated content, and role-based access while protecting user identities and assets.
Still In development
Demo
https://github.com/paranormal39/zk-guild-gate
How I Used Midnight's Technology
ZK Guild Gate uses Midnight’s Compact contracts, proof server, and SDK to verify NFT ownership through zero-knowledge proofs and nullifiers. Only a Merkle root and one-time nullifiers are stored on-chain, ensuring eligibility checks without revealing addresses or token IDs.
Data Protection as a Core Feature
Privacy is the product: users prove membership without exposing who they are or which NFT they hold, with unlinkable proofs and replay protection. This makes guild access and gated perks truly anonymous, aligning directly with Midnight’s core value of data protection.
Set Up Instructions / Tutorial
Clone the repository: git clone https://github.com/paranormal39/zk-guild-gate and navigate into the folder.
Install dependencies with npm install.
Start your Proof Server (this step is required before running the app).
Launch the development server with npm run dev.
Closing Notes
As I explore DAOs through my game Kingdom of Gold, I see Midnight positioned as a cornerstone for privacy in the blockchain space. With further development, this project could serve as a foundation for a wide range of future applications.
Top comments (1)
Let's goo XRP ARMY!