> For the complete documentation index, see [llms.txt](https://optiq.gitbook.io/optiq-whitepaper/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://optiq.gitbook.io/optiq-whitepaper/learn-about-optiq/quickstart.md).

# The Optiq Architecture

<figure><img src="/files/8A4OaknbHmrQD2jwpzYW" alt=""><figcaption></figcaption></figure>

**🔗 Tech Stack Overview**

| Layer               | Stack                                                           |
| ------------------- | --------------------------------------------------------------- |
| **Frontend**        | React.js (with TypeScript), Tailwind CSS, Framer Motion         |
| **Backend**         | Node.js (NestJS), Redis (Pub/Sub), PostgreSQL, GraphQL          |
| **Data Layer**      | Solana JSON-RPC, Helius API, Tensor Trade API, Jito RPC         |
| **Realtime Engine** | WebSockets + Redis Streams                                      |
| **Alert System**    | Temporal.io for job orchestration, BullMQ for queuing           |
| **Authentication**  | Wallet-based login (Phantom, Backpack etc.), JWT fallback       |
| **Cloud**           | Deployed via Vercel (Frontend) + AWS Lambda (Backend)           |
| **Monitoring**      | Datadog, Sentry, and custom Prometheus metrics on wallet events |

**Real-Time Indexing**

Optiq continuously listens to on-chain Solana activity through high-throughput RPC endpoints (Jito & Helius), dynamically indexing transactions, token movements, and NFT transfers. Wallets are categorized by behavior using a behavior-tree scoring model.

Each wallet is processed in <200ms through a lightweight data stream pipeline that queues it for user-facing analytics or internal tagging (e.g., "Scalp Wallet", "KOL", "AI Pick").

**AI-Based Behavior Classification (Coming Soon)**

Leveraging embeddings from token movement history and trade heuristics, Optiq classifies wallets by intent — speculation, farming, wash trading, or organic accumulation — and flags patterns for future alert systems.

### Aesthetic choices

The Optiq interface was designed around a black-and-yellow visual theme, a nod to hazard stripes, tactical gear, and the edge required to win in volatile markets.

This theme helps traders focus quickly on key metrics like PnL, win/loss rates, and scalp alerts — without clutter or unnecessary animations. Yellow highlights urgent information (alerts, spikes), while black provides contrast and depth.<br>

<div data-full-width="false"><figure><img src="/files/k8K8Mf6CHVrUGdMPEwCA" alt=""><figcaption></figcaption></figure></div>

The images displayed are for demo purposes only.&#x20;
