A privacy-preserving income verification dapp using Zero-Knowledge Proofs built on midnight network.
Previous Hackathon Proof of Concept Repository: EclipseProof-POC
- Node.js 18+
- npm or yarn
- PostgreSQL 14+
- Midnight SDK
# Ubuntu/Debian
sudo apt update
sudo apt install postgresql postgresql-contrib
# macOS
brew install postgresql@14
brew services start postgresql@14
# Windows
Download and install from https://www.postgresql.org/download/windows/See DATABASE_SETUP.md for the complete database schema and table creation scripts.
# Copy the example environment file
cp .env.example .env
# Edit .env with your database credentials
nano .envnpm run install:all
Note: Compile the contract first before running backend/frontend:
npm run compilecd backend
npm run build # Compile TypeScript
npm start # Run servercd frontend
npm run build # Build for production
npm run dev # Start development servernpm run dev/contract- Compact smart contracts/backend- Express.js API server/frontend- React + Vite UI
This project is licensed under the terms of the LICENSE file.