JETT Auth
Unified auth surface for JettChat — Privy for DOJO, @jettoptx/auth for custom integrations.
JETT Auth is the unified authentication layer behind JettChat.
Two Products, Two Auth Paths
| Surface | Auth Provider | When to Use |
|---|---|---|
| DOJO (jettoptx.chat) | Privy + JTX gate | End users accessing the DOJO product |
| Custom integrations | @jettoptx/auth from jettoptx-sdk | Developers building xChat Native clients |
The standalone jettoptx-jettauth repo is archived — install from the SDK monorepo instead.
Two Chat Modes
| xChat Native | Phantom Mode | |
|---|---|---|
| Login | Privy / X OAuth (integrators) | Jett Hub visual SSO + JTX gate |
| Biometric | AGT Gaze Triad (COG/EMO/ENV) | AGT Gaze Triad + Ping-Pong wake |
| Session | Ed25519 JWT (integrators) | PQC-wrapped session, hardware-bound |
| Wipe trigger | Standard logout | Duress PIN → cryptographic wipe |
| SDK | @jettoptx/auth | Secure-Legion/android |
Both modes verify gaze through the same AGT pipeline.
Access Flow (JETT Hub)
After sign-in, the user must pass the JTX gate — typically by holding ≥1 JTX v2 on a connected wallet. Wallet-less paths (Stripe, Tempo CLI) are handled on astroknots.space/stake.
Higher tiers unlock additional features via the same tier codes (mojo, dojo, spaceCowboy). See Access Tiers for balance thresholds and verification — not USD pricing.
xChat Native (Integrators)
For custom apps outside DOJO, use @jettoptx/auth:
- X/Twitter OAuth 2.0 PKCE
- Solana
signMessagewallet proof - Ed25519 JWT in
jettauthhttpOnly cookie
See SDK / Auth for install and quickstart.
Phantom Mode specifics
Phantom Mode adds a Tor-only path with post-quantum hybrid encryption and hardware-backed keys. The Jett Hub visual SSO replaces OAuth — no third-party identity provider is contacted.
Implementation: Secure-Legion/android (patent pending).