# Node Types & Responsibilities

#### **Compute Node**

**Purpose:**\
Performs private computation, zk proof generation, and AI inference tasks for zkShine’s network.

**Responsibilities:**

* Generate zk-SNARK/zk-STARK proofs for user computations
* Validate proofs submitted from other nodes
* Maintain proof integrity and task history

**Reward Source:**\
Compute verification fees + network rewards.

#### **Relayer Node**

**Purpose:**\
Ensures **transaction anonymity** by rebroadcasting Solana transactions through encrypted relay paths.

**Responsibilities:**

* Receive transactions from zkGateway
* Strip metadata and rebroadcast to Solana validators
* Maintain randomized routing for unlinkability

**Reward Source:**\
Relay fees proportional to traffic volume and uptime.

#### **VPN Node**

**Purpose:**\
Provides **decentralized RPC routing** and privacy tunnels for dApps and wallets.

**Responsibilities:**

* Route encrypted RPC traffic
* Rotate session identifiers
* Ensure no logs or IP traces are kept

**Reward Source:**\
Bandwidth fees + zkVPN usage payments.

#### **Vault Node**

**Purpose:**\
Handles zkVault encrypted storage and zk access control proofs.

**Responsibilities:**

* Store encrypted user data in decentralized shards
* Respond to zk-proof-based access requests
* Maintain 99.9% data availability

**Reward Source:**\
Storage allocation + proof validation rewards.


---

# 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.zkshine.xyz/node-operations/node-types-and-responsibilities.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.
