# Architecture

## Architecture

Blink is a frontend on top of Hyperliquid.

It improves the trading experience. It does not replace the venue.

### High-level diagram

{% code title="Order flow" overflow="wrap" %}

```
┌─────────────┐
│   Trader    │
└──────┬──────┘
       │
       │ Uses Blink for market scanning and order entry
       ▼
┌─────────────┐
│    Blink    │
│  Frontend   │
└──────┬──────┘
       │
       │ Routes orders without taking custody
       ▼
┌─────────────┐
│Hyperliquid  │
│     L1      │
└──────┬──────┘
       │
       │ Holds balances, positions, and execution state
       ▼
┌─────────────┐
│ User assets │
│ & positions │
└─────────────┘
```

{% endcode %}

#### Legend

* **L1** — the base execution layer where balances, positions, and orders live
* **Non-custodial** — Blink does not hold your funds or control your assets
* **Frontend** — the interface you use to scan markets and place orders
* **Execution** — where the order is processed and recorded

Blink sits in the interface layer.

Hyperliquid L1 remains the execution and state layer.

### Non-custodial by design

Blink does not custody user funds.

Your balance, positions, and orders stay on Hyperliquid.

Blink routes trading activity through Hyperliquid L1.

That means execution happens on the same underlying venue.

### How order flow works

{% stepper %}
{% step %}

### Connect your account

You connect the same account you use for Hyperliquid.
{% endstep %}

{% step %}

### Place an order in Blink

Blink gives you a faster interface for scanning and execution.
{% endstep %}

{% step %}

### Route to Hyperliquid L1

The order is sent through Hyperliquid L1 for execution.
{% endstep %}

{% step %}

### Track positions in the same venue

Your activity remains tied to Hyperliquid, not a separate Blink system.
{% endstep %}
{% endstepper %}

### What Blink does

Blink improves:

* interface speed
* market readability
* order entry flow

### What Blink does not do

Blink does not:

* hold custody of funds
* run a separate execution venue
* move trading off Hyperliquid L1

### Why this matters

You get a better terminal without changing where trading happens.

The UX changes. The underlying venue stays the same.

{% hint style="info" %}
Blink is a non-custodial frontend. Orders route through Hyperliquid L1.
{% endhint %}


---

# 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.blink.lat/architecture.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.
