"The blockchain doesn't lie. But attackers do. We watch both."
Sentinel Galaxy is a real-time, AI-powered On-Chain Immunity System built on Base Sepolia. It visualizes the entire blockchain transaction graph as an interactive 3D galaxy, detects anomalies using ML-driven engines, and autonomously shields vulnerable contracts via smart contract enforcement — all explained in plain English by a Gemini-powered forensic AI agent.
Think of it as an immune system for Web3: constantly monitoring, learning from threats, and deploying antibodies (blacklists & shields) before exploits can propagate.
┌─────────────────────────────────────────────────────────────┐
│ SENTINEL GALAXY │
├──────────────┬──────────────┬──────────────┬───────────────┤
│ UI / Viz │ Web3 Layer │ AI Analyst │ Data Layer │
│ (React+3D) │ (Privy+Sol) │ (Gemini) │ (Neo4j+Fast) │
├──────────────┼──────────────┼──────────────┼───────────────┤
│ Galaxy3D.tsx │ useShield.ts │ forensic_ │ main.py │
│ Sidebar.tsx │ Guardian.sol │ agent.py │ database.py │
│ Dashboard │ Base Sepolia │ tasks.py │ seed_galaxy │
└──────────────┴──────────────┴──────────────┴───────────────┘
Blockchain Events
│
▼
FastAPI Ingestor ──► Neo4j Graph DB ──► 3D Force Graph (UI)
│ │
▼ ▼
Celery + Redis ML/PSI Engines
│ │
▼ ▼
Gemini Agent ──────► Forensic Report (Sidebar)
│
▼
SatarkGuardian.sol ──► On-Chain Shield/Blacklist
sentinel-galaxy/
├── .env.example
├── .gitignore
├── README.md
├── docker-compose.yml
│
├── backend/
│ ├── main.py # FastAPI entry point + HMAC middleware
│ ├── database.py # Neo4j async driver
│ ├── tasks.py # Celery background tasks
│ ├── agent/
│ │ └── forensic_agent.py # Gemini-powered forensic analysis
│ └── core/
│ ├── ml_engine.py # ML anomaly detection (Satark legacy)
│ ├── psi_engine.py # Pattern-Signature Intelligence
│ └── audit.py # On-chain audit trail logger
│
├── contracts/
│ ├── SatarkGuardian.sol # Shield + Blacklist contract
│ └── hardhat.config.ts # Hardhat / Base Sepolia config
│
├── frontend/
│ ├── index.html
│ ├── vite.config.ts
│ ├── tailwind.config.ts
│ └── src/
│ ├── App.tsx
│ ├── main.tsx
│ ├── components/
│ │ ├── Galaxy3D.tsx # 3D force graph visualization
│ │ └── Sidebar.tsx # Forensic Intelligence panel
│ └── pages/
│ └── Dashboard.tsx # Main layout
│
└── scripts/
└── seed_galaxy.py # Populate Neo4j with 5,000 nodes
- Python 3.11+, Node 20+, Docker
- Neo4j 5.x (local or AuraDB), Redis
git clone https://github.com/your-org/sentinel-galaxy.git
cd sentinel-galaxy
cp .env.example .env
cd backend
python -m venv .venv && source .venv/bin/activate # or .venv\Scripts\activate on Windows
pip install -r requirements.txt
uvicorn main:app --reload --port 8000celery -A tasks worker --loglevel=infopython scripts/seed_galaxy.pycd frontend
npm install
npm run devcd contracts
npx hardhat run scripts/deploy.ts --network base-sepolia| Role | Member | Ownership |
|---|---|---|
| Root & Infrastructure | Blueprint Lead | .gitignore, .env.example, README.md, docker-compose.yml |
| Backend Architect | Member 3 | backend/main.py, backend/database.py, backend/core/, scripts/ |
| AI Analyst | Member 1 | backend/agent/forensic_agent.py, backend/tasks.py |
| Web3 Enforcer | Member 2 | contracts/SatarkGuardian.sol, frontend/src/hooks/useShield.ts |
| UI/Viz Designer | Member 4 | frontend/src/components/, frontend/src/pages/Dashboard.tsx |
- HMAC Validation: All internal service-to-service calls validated via HMAC-SHA256
- On-Chain Blacklist: Malicious addresses flagged on-chain via
SatarkGuardian.sol - Privy Auth: Gasless, email/social Web3 onboarding — no seed phrase exposure
- Environment Isolation: Zero secrets in source; all via
.env
MIT © 2026 Sentinel Galaxy Team