OPTXOPTX DOCS
Authentication

JETT Auth

552520

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

SurfaceAuth ProviderWhen to Use
DOJO (jettoptx.chat)Privy + JTX gateEnd users accessing the DOJO product
Custom integrations@jettoptx/auth from jettoptx-sdkDevelopers building xChat Native clients

The standalone jettoptx-jettauth repo is archived — install from the SDK monorepo instead.

Two Chat Modes

xChat NativePhantom Mode
LoginPrivy / X OAuth (integrators)Jett Hub visual SSO + JTX gate
BiometricAGT Gaze Triad (COG/EMO/ENV)AGT Gaze Triad + Ping-Pong wake
SessionEd25519 JWT (integrators)PQC-wrapped session, hardware-bound
Wipe triggerStandard logoutDuress PIN → cryptographic wipe
SDK@jettoptx/authSecure-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 signMessage wallet proof
  • Ed25519 JWT in jettauth httpOnly 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).