Skip to main contentArchitecture 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
PULSE packet to VAP Verifier.
- Verifier:
- Verifies Signature.
- Checks Nonce sequence.
- Updates
SessionState in Redis (score += 100).
- Persistence: Every 60 seconds, Redis state is flushed to Postgres.
- Settlement: When the session ends, Verifier submits
settle_session to Solana.
- Blockchain:
vap_escrow transfers 100 $555 to User.
bubblegum mints “Session Log” cNFT to Creator.