Official landing page and web application for Solstice Protocol - Zero-Knowledge Identity Verification on Solana.
This repository contains the frontend website that connects to the Solstice Protocol backend and circuits for zero-knowledge identity verification.
┌─────────────────────────────────────────────────────────┐
│ Solstice Ecosystem │
├─────────────────────────────────────────────────────────┤
│ │
│ SolsticeProtocol (Main Repo) solstice-website │
│ ┌─────────────────────┐ ┌──────────────────┐ │
│ │ Backend (Express) │◄──────────┤ Frontend (React) │ │
│ │ - API Server │ HTTP │ - Landing Page │ │
│ │ - Database │ │ - Web App │ │
│ │ - Auth System │ │ - ZK UI │ │
│ └─────────────────────┘ └──────────────────┘ │
│ ▲ │ │
│ │ │ │
│ ▼ ▼ │
│ ┌─────────────────────┐ ┌──────────────────┐ │
│ │ Circuits (Circom) │───────────►│ Public Circuits │ │
│ │ - age_proof │ Copied │ (WASM + Keys) │ │
│ │ - nationality_proof │ └──────────────────┘ │
│ │ - uniqueness_proof │ │
│ └─────────────────────┘ │
│ ▲ │
│ │ │
│ ▼ │
│ ┌─────────────────────┐ │
│ │ Solana Contracts │ │
│ │ (Anchor/Rust) │ │
│ └─────────────────────┘ │
│ │
└─────────────────────────────────────────────────────────┘
- Node.js 18+ and npm
- Access to SolsticeProtocol repository (backend & circuits)
- Solana wallet browser extension (Phantom recommended)
- Install frontend dependencies:
cd frontend
npm install- Sync circuits from SolsticeProtocol:
# From solstice-website root directory
./sync-circuits.sh- Configure environment:
cd frontend
cp .env.example .env
# Edit .env with your settings- Start development server:
npm run devVisit http://localhost:5173
Terminal 1 - Backend:
cd ../SolsticeProtocol/backend
npm install
npm run dev # Runs on port 3000Terminal 2 - Frontend:
cd solstice-website/frontend
npm run dev # Runs on port 5173See INTEGRATION.md for detailed setup.
- React 19, TypeScript, Vite, Tailwind CSS
- snarkjs (ZK proofs), Solana Web3.js
- Custom fonts: Advercase & Nighty
- INTEGRATION.md - Full integration guide
- frontend/LANDING_PAGE.md - Landing page docs
- frontend/FONT_SETUP.md - Font setup
MIT