The Heartbeat of the Economy
VAP (Verifiable Attention Protocol) is the mechanism that transforms “playing a game” into “verifiable work”. It is the “Proof of Engagement” layer of the Streaming OS. Unlike traditional analytics which are “fire and forget”, VAP is a bidirectional, cryptographic handshake between the Client (User) and the Server (Verifier).Protocol Mechanics
VAP operates over a secure WebSocket connection (wss://vap.rendernet.work).
1. The Handshake
When a session begins, the client must authenticate and establish a secure channel. Client -> Server (INIT)2. The Heartbeat (Pulse)
EveryN seconds (dynamic based on trust score), the client sends a “Pulse”. This pulse proves liveness and state continuity.
Client -> Server (PULSE)
3. State Channels & Settlement
To scale to millions of concurrent users, VAP uses State Channels. We do not write every pulse to Solana.- Off-Chain Aggregation: The VAP Verifier Node maintains a “Ledger” of the session in Redis. It verifies the signatures and the hash chain (Nonce
Nmust follow NonceN-1). - The Dispute Window: The session is kept “Optimistic”. If the server detects cheating, it can slash the user’s reputation immediately.
- On-Chain Settlement: When the session ends (or reaches a value threshold, e.g., 100 USDC), the Verifier submits a Settlement Transaction to the
vap_escrowprogram on Solana.
Anti-Fraud Engine
VAP includes a multi-layered anti-fraud engine to ensure “Proof of Human”.Layer 1: Cryptographic Integrity
- Signature Verification: Every packet must be signed by the user’s wallet.
- Replay Protection: Nonces ensure packets cannot be replayed.
Layer 2: Behavioral Heuristics
The VAP Verifier analyzes theinputHash and gameStateHash.
- Entropy Analysis: Human input has high entropy (micro-jitters). Bots are too perfect or too random.
- Timing Analysis: Reaction times < 150ms are flagged as suspicious.
Layer 3: Active Challenges (Turing Tests)
At random intervals, the server sends aCHALLENGE packet.
- “Click the Glitch”: An overlay appears in-game that must be clicked.
- “Input Sequence”: “Press UP, DOWN, A” within 2 seconds.
Audience Rewards
VAP doesn’t just verify attention; it values it. By proving “Proof of Human” engagement, VAP enables a direct value transfer to the audience.- Yield Bearing Attention: Verified minutes spent watching or playing generate
$555or partner tokens. - Loot Drops: High-quality sessions (high entropy, long duration) increase the probability of receiving rare NFT drops.
- Staking Multipliers: Users who stake
$555on their favorite creators receive boosted yields on their VAP sessions.
Integration Guide
Developers can integrate VAP into any HTML5 game using the@555x402/vap SDK.