High-Level Architecture

On-Chain vs. Off-Chain

Glitch Gremlin's Architecture Relies on a Split Between On-Chain and Off-Chain Components

On-Chain:

A Solana program (“GlitchGremlinProgram”) that handles token escrow, records chaos requests, updates request states, and provides governance hooks.

Off-Chain:

An AI-driven aggregator that periodically queries the blockchain for pending chaos requests, performs the requested tasks in a test environment, and writes back the results to the chain.


By offloading the computationally heavy and dynamic AI tasks to an off-chain environment, the system preserves Solana’s throughput and keeps costs predictable. The on-chain program maintains trustless accountability and ensures that $GREMLINAI tokens are properly managed.

Last updated