Skip to content

ORBITALIZED/Self-Sovereign-Identity

Repository files navigation

πŸ†” Self-Sovereign Identity (SSI) Platform

A blockchain-based identity platform where users own and control their personal identity instead of governments or corporations.

License: MIT Stellar Solidity ZK

This is a poly-repo-style monorepo that demonstrates a complete SSI platform built primarily on Stellar (Soroban) with companion EVM contracts, zero-knowledge circuits, off-chain services, and a developer SDK.


🌍 The Problem

Over a billion people worldwide lack reliable legal identity, making it difficult to access banking, healthcare, education, voting, or employment.

This platform gives every human a cryptographically owned, privacy-preserving identity they can carry across borders β€” without depending on any single government, corporation, or intermediary.


✨ Features

Feature Status Implemented In
Self-owned digital identity wallet βœ… Scaffold apps/frontend, packages/sdk
Biometric verification (off-chain) βœ… Scaffold apps/service-ipfs
Zero-knowledge proof authentication βœ… Scaffold packages/zk-circuits, packages/sdk
Educational & employment certificates βœ… Scaffold packages/contracts-stellar
Medical identity integration βœ… Scaffold apps/api-gateway
Cross-border verification βœ… Scaffold apps/service-bridge-relayer
Recovery through trusted guardians βœ… Scaffold packages/contracts-stellar/src/social_recovery.rs
NFT-based identity badges βœ… Scaffold packages/contracts-evm/src/IdentitySBT.sol, packages/contracts-stellar/src/wrapped_badge.rs
Privacy controls βœ… Scaffold packages/zk-circuits
AI-powered fraud detection βœ… Scaffold apps/service-ai-fraud

πŸ—οΈ Repository Layout (Poly-Repo Style)

Self-Sovereign-Identity/
β”œβ”€β”€ packages/                     # Shared libraries / contracts
β”‚   β”œβ”€β”€ contracts-stellar/        # Soroban Rust contracts (Stellar native)
β”‚   β”œβ”€β”€ contracts-evm/            # Solidity contracts (OpenZeppelin/Foundry)
β”‚   β”œβ”€β”€ zk-circuits/              # Circom circuits + proving scripts
β”‚   └── sdk/                      # TypeScript SDK consumed by apps
β”œβ”€β”€ apps/                         # Runnable services
β”‚   β”œβ”€β”€ api-gateway/              # Fastify REST/GraphQL gateway
β”‚   β”œβ”€β”€ service-bridge-relayer/   # Cross-chain wrapped-badge relayer
β”‚   β”œβ”€β”€ service-ai-fraud/         # Python fraud detection (FastAPI)
β”‚   β”œβ”€β”€ service-ipfs/             # Encrypted biometric/credential pinning
β”‚   └── frontend/                 # React + Vite + Tailwind dashboard
β”œβ”€β”€ docs/                         # Architecture, setup, contributing
β”œβ”€β”€ scripts/                      # Dev / deploy / bootstrap scripts
β”œβ”€β”€ docker-compose.yml            # One-command local stack
β”œβ”€β”€ Makefile                      # Macro commands (build, test, deploy)
└── turbo.json                    # Turborepo pipeline

Every subfolder is independently buildable (has its own package.json / Cargo.toml / foundry.toml) β€” exactly like separate git repos, but coordinated by the root workspace.


πŸš€ Quick Start

git clone https://github.com/your-org/Self-Sovereign-Identity.git
cd Self-Sovereign-Identity

# 1. Install JS workspace deps
pnpm install            # or: npm install

# 2. Bootstrap native toolchains (Rust, Foundry, Circom)
make bootstrap

# 3. Spin up the local stack (Postgres, Redis, IPFS, all services)
make dev

# 4. Build everything
make build

Open http://localhost:5173 for the frontend dashboard. Open http://localhost:8080/docs for the API gateway (Swagger).


πŸ› οΈ Tech Stack

  • Stellar / Soroban β€” primary chain for the identity registry and wrapped badges
  • Solidity / Foundry β€” ERC-721 + Soulbound Token (SBT) identity badges on EVM chains
  • Circom / snarkjs β€” Zero-knowledge proofs (age > 18, credential ownership, etc.)
  • IPFS / Helia β€” Encrypted off-chain storage for biometrics and certificates
  • Fastify β€” HTTP API gateway
  • React / Vite / Tailwind β€” Frontend dashboard
  • Python / FastAPI / scikit-learn β€” AI fraud-detection microservice
  • Turborepo + pnpm workspaces β€” Build orchestration

πŸ” Architecture at a Glance

                          β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
                          β”‚   React Frontend   β”‚
                          β”‚  (Vite + Tailwind) β”‚
                          β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                                    β”‚
                          β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β–Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
                          β”‚   API Gateway      β”‚
                          β”‚  (Fastify + JWT)   β”‚
                          β””β”€β”¬β”€β”€β”€β”¬β”€β”€β”€β”¬β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”˜
                            β”‚   β”‚   β”‚   β”‚
       β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜   β”‚   β”‚   └─────────────────────┐
       β”‚                        β”‚   β”‚                         β”‚
β”Œβ”€β”€β”€β”€β”€β”€β–Όβ”€β”€β”€β”€β”€β”€β”      β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β–Όβ” β”Œβ”€β–Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”   β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β–Όβ”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚  AI Fraud   β”‚      β”‚  IPFS Svc  β”‚ β”‚ Bridge     β”‚   β”‚   ZK Prover     β”‚
β”‚  (Python)   β”‚      β”‚  (Helia)   β”‚ β”‚ Relayer    β”‚   β”‚   (snarkjs)     β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜      β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β”‚ (Horizon+  β”‚   β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                                    β”‚  EVM list.) β”‚
                                    β””β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”˜
                                           β”‚
        β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
        β”‚                                  β”‚                                  β”‚
β”Œβ”€β”€β”€β”€β”€β”€β”€β–Όβ”€β”€β”€β”€β”€β”€β”€β”€β”                β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β–Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”              β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β–Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚  Stellar       β”‚                β”‚  EVM (Polygon/   β”‚              β”‚  EVM (Ethereum/    β”‚
β”‚  Soroban       │◄───wrapped────│  Arbitrum)       │◄──wrapped────│  Optimism)         β”‚
β”‚  contracts     β”‚     tokens     β”‚  ERC-721 SBTs    β”‚     tokens   β”‚  ERC-721 SBTs      β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜                β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜              β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

The Bridge Relayer is the heart of the cross-chain identity verification: when a Soulbound identity badge is issued on an EVM chain (e.g. a medical degree from a Colombian university on Polygon), the relayer detects the EVM event, runs fraud detection, and mints a corresponding Wrapped Identity Badge on Stellar β€” enabling the bearer to access Stellar-native services (low-fee remittances, DeFi, voting) using proof of their cross-chain identity.


πŸ“š Documentation


🀝 Contributing

PRs welcome! Read docs/CONTRIBUTING.md first.


πŸ“œ License

MIT Β© 2026 β€” See LICENSE.

About

Build a blockchain-based identity platform where users own and control their personal identity instead of governments or corporations. Users decide who can access specific information using zero-knowledge proofs.

Resources

License

Contributing

Stars

1 star

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors