Architecture Overview
The 555 Ecosystem is a complex interplay of an-chain and off-chain components.
The Full Stack
Data Flow: The “Kill Enemy” Event
Trace a single user action through the system:- Client: User kills an enemy in Sector 13.
- Game Engine: Emits
{ type: "ENEMY_KILL", id: "mob_01", score: 100 }. - VAP SDK: Hashes this event into the current
InputBlock. - VAP SDK: Signs the block with the Session Key.
- WebSocket: Sends
PULSEpacket to VAP Verifier. - Verifier:
- Verifies Signature.
- Checks Nonce sequence.
- Updates
SessionStatein Redis (score += 100).
- Persistence: Every 60 seconds, Redis state is flushed to Postgres.
- Settlement: When the session ends, Verifier submits
settle_sessionto Solana. - Blockchain:
vap_escrowtransfers 100 $555 to User.bubblegummints “Session Log” cNFT to Creator.