Traditional identity verification and DAO voting systems permanently expose user data on public blockchains. Users are forced to trade privacy for participation, leading to doxxing, voter coercion, and data harvesting.
ZKShield leverages the Midnight Network's privacy-preserving smart contract capabilities to provide a seamless, full-stack identity platform. We issue Zero-Knowledge credentials that allow users to:
- Prove Identity Without Revealing Data: Users can prove they hold specific credentials (e.g., KYC verified, employee status) without exposing their real-world identity to verifiers.
- Anonymous Voting: DAOs and organizations can host verifiable votes where the voter's identity is mathematically decoupled from their choice.
- Frictionless UX: A premium, futuristic dashboard built with Framer Motion and Tailwind CSS ensures enterprise-grade usability.
ZKShield is architected as a modern, containerized monorepo.
graph TD;
A[Frontend: React + Tailwind + Recharts] -->|REST API + ZK Proofs| B(Backend: Express Node.js);
B -->|Commitments & Verification| C{Midnight Network / ZK Contracts};
C -->|On-chain State| D[(Ledger)];
B -->|Mock / Simulations| E[Local Dev Database];
- 🔐 Privacy-First Credentials: Issue verifiable credentials that are stored as hashes on-chain.
- 🎟️ Zero-Knowledge Access Passes: Generate ZK proofs on the client side to authenticate without sending passwords or seeds.
- 📊 Real-time Anonymous Governance: Integrated voting system where tallying is public, but voter identity remains strictly anonymous.
- 🐳 Docker-Ready: Instant setup with Zero Configuration via
docker-compose.
We've made it incredibly easy to review our project. You don't need to configure complex toolchains or install the Compact compiler. Everything runs seamlessly in Docker.
- Docker & Docker Compose
- Node.js (if not using Docker)
Since the Midnight proof generation and verifications are pre-configured, simply run:
# Start the full stack (Frontend & Backend)
docker compose up --build- Frontend Dashboard:
http://localhost:5173 - Backend API:
http://localhost:4000
npm install
# Terminal 1:
npm run dev:frontend
# Terminal 2:
npm run dev:backend| Module | Description | Tech Stack |
|---|---|---|
frontend |
The stunning user dashboard facing verifiers and issuees | React, Tailwind, Framer Motion |
backend |
Core API for handling simulated issuer flows and proof routing | Node.js, Express, CORS |
contracts |
Midnight Compact smart contracts defining the application logic | compactc |
- Mainnet Deployment: Porting our local simulating logic to Midnight Mainnet.
- Mobile SDK: Allowing seamless ZK-proof generation on iOS/Android.
- Lace Wallet Deep Integration: Removing the need for manual seed phrases in local environments.
Built with ❤️ for the $1200 Midnight Innovation Hackathon.