# Technology Stack

#### Frontend Application

The web dashboard is a high-performance Single Page Application (SPA) designed for security and speed.

* **Framework:** React 18 with TypeScript.
* **State Management:** TanStack Query (for blockchain state) + React Context (for encrypted session state).
* **Build Tool:** Vite.
* **Styling:** Tailwind CSS (utility-first) with a custom design system.

#### Mobile Application

The bridge between physical hardware and digital networks.

* **Platform:** React Native (allows for consistent logic across iOS and Android).
* **Native Modules:** Custom native bridges for CoreNFC (iOS) and Android NFC hardware access.
* **Secure Enclave:** Utilizes hardware-backed keystores on supported devices for temporary operation.

#### Cryptography Libraries

We utilize the Noble Cryptography suite. These are high-security, audited, zero-dependency JavaScript implementations of cryptographic primitives.

* **Elliptic Curves:** @noble/curves (secp256k1).
* **Hashing:** @noble/hashes (SHA-256, HMAC, HKDF, Argon2).
* **Ciphers:** @noble/ciphers (AES-GCM).

#### Signaling Server

A lightweight, stateless server used solely for the initial WebRTC handshake.

* **Runtime:** Node.js.
* **Protocol:** WebSocket (wss\://).
* **Privacy:** The server only relays encrypted SDP (Session Description Protocol) packets. It cannot decrypt the handshake and stores no logs.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.ethelock.xyz/5-technical-specifications/technology-stack.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
