402-GATE ACTIVE

Genin402

PRIVACY

every transfer leaves a trace.
genin402 measures how much of yours survives.

Solana is a public ledger. Every hop, every amount, every wallet interaction is visible forever. Genin402 is a privacy scoring engine — it takes a transfer configuration and tells you how well it's actually shielded from chain analysis tools.

SHADOW ROUTING ON
CHAIN ANALYSIS BLOCKED
Genin402 Privacy

Quick Start

Install genin402 and start measuring your privacy score in minutes.

pip install
pip install genin402
quick_start.py
from genin402 import PrivacyEngine, ShadowTransfer

engine = PrivacyEngine()

transfer = ShadowTransfer(
    wallet_address="7xKX...AsU",
    transfer_amount_sol=25.0,
    hop_count=7,
    mixer_pools_used=3,
    decoy_tx_count=15,
    payment_gate_active=1,
)

report = engine.analyze(transfer)
print(report.verdict)        # JONIN
print(report.privacy_score)  # 81.4
print(report.cloak_status)   # dark
CLI
cd ts && npm install && npm run build
node dist/cli.js analyze <wallet_address>
node dist/cli.js batch <w1> <w2> <w3>
REST API
uvicorn genin402.server:app --reload

POST /analyze          → ShadowReport
POST /analyze/batch    → list[ShadowReport]
GET  /health           → { "status": "ok" }
Docker
docker-compose up
# API  → :8000
# UI   → :3000
Development
git clone https://github.com/thegenin402privacy/Genin402-Privacy.git
cd Genin402-Privacy
pip install -e ".[dev]"
pytest tests/ -v          # 106+ tests

Verdict System

ANBU[90-100]

shadow ops — untraceable

JONIN[75-89]

high stealth — well-routed

CHUNIN[60-74]

decent coverage — exposure risk

GENIN[40-59]

basic obfuscation — trackable

ACADEMY[20-39]

minimal protection — mostly open

CIVILIAN[0-19]

no shield — fully on-chain

architecture
ShadowTransfer (input)
    │
    ├─ ShadowAnalyzer    → stealth_score
    ├─ RouteAnalyzer     → route_entropy
    ├─ ShieldAnalyzer    → payment_shield
    ├─ StealthAgent      → trace_resistance
    └─ RouteAgent        → shadow_depth
         │
         ▼
    PrivacyEngine → ShadowReport
         │
    verdict + privacy_score + cloak_status
scoring_engine
stealth_score     ██████░░░░  0.25
route_entropy     ██████░░░░  0.25
payment_shield    █████░░░░░  0.20
trace_resistance  █████░░░░░  0.20
shadow_depth      ███░░░░░░░  0.10

Shadow Protocol

The 402 in the name isn't a status code. It's a payment gate protocol — a routing layer that sits between your intent and your execution.

Genin402 measures whether that gate is holding. Five metrics. Each scored 0–100. Weighted into a single privacy score. Know your shadow depth before you move.

DARKscore ≥ 75 → deep cover
GREYscore ≥ 55 → partial coverage
DIMscore ≥ 35 → thin cover
EXPOSEDscore < 35 → open book