Skip to content

Solstice-Protocol/solstice-website

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

Solstice Protocol Website

Official landing page and web application for Solstice Protocol - Zero-Knowledge Identity Verification on Solana.

Overview

This repository contains the frontend website that connects to the Solstice Protocol backend and circuits for zero-knowledge identity verification.

Architecture

┌─────────────────────────────────────────────────────────┐
│                    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)       │                                │
│  └─────────────────────┘                                │
│                                                           │
└─────────────────────────────────────────────────────────┘

Quick Start

Prerequisites

  • Node.js 18+ and npm
  • Access to SolsticeProtocol repository (backend & circuits)
  • Solana wallet browser extension (Phantom recommended)

Installation

  1. Install frontend dependencies:
cd frontend
npm install
  1. Sync circuits from SolsticeProtocol:
# From solstice-website root directory
./sync-circuits.sh
  1. Configure environment:
cd frontend
cp .env.example .env
# Edit .env with your settings
  1. Start development server:
npm run dev

Visit http://localhost:5173

Running Full Stack

Terminal 1 - Backend:

cd ../SolsticeProtocol/backend
npm install
npm run dev  # Runs on port 3000

Terminal 2 - Frontend:

cd solstice-website/frontend
npm run dev  # Runs on port 5173

See INTEGRATION.md for detailed setup.

Tech Stack

  • React 19, TypeScript, Vite, Tailwind CSS
  • snarkjs (ZK proofs), Solana Web3.js
  • Custom fonts: Advercase & Nighty

Documentation

License

MIT

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published