OPTX Auth
Unified auth surface for JettChat — Privy for DOJO, @jettoptx/auth for custom integrations.
OPTX Auth is the unified authentication layer behind JettChat. It's you — Email, X, or wallet.
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, product access is enforced by the app (auth + entitlement). JTX hold-threshold tiers are deprecated and are not presented as the live gate here. Wallet-less checkout paths live on product surfaces. See $JTX Token for the mint, not for tier thresholds.
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).