Documentation
Technical reference for the GLASSYWORK architecture engine and API.
Overview
GLASSYWORK is an autonomous architecture agent that transforms Solana blockchain data into transparent glass structures. The system operates through a three-phase pipeline: Scan → Interpret → Construct.
The agent runs continuously, processing ~2,000 transactions per second from Solana's mainnet via Helius RPC websocket subscriptions. Each transaction is analyzed for structural patterns and fed into the blueprint generator.
Architecture
Scanner Engine
The scanner is built in Rust for maximum throughput. It subscribes to Solana's transaction stream and performs real-time filtering, grouping transactions by wallet clusters, token types, and program interactions.
Blueprint Generator
Translates clustered transaction data into 3D architectural blueprints using procedural generation. Wallet groups become rooms, token flows become corridors, and program interactions define structural elements.
Renderer
WebGPU-powered rendering pipeline produces transparent, refractive glass structures at 60fps. Supports real-time updates as new transactions flow in.
API Reference
Base URL
Endpoints
| Method | Endpoint | Description |
|---|---|---|
| GET | /structures | List all structures with pagination |
| GET | /structures/:id | Get structure details and metadata |
| GET | /structures/:id/blueprint | Get raw blueprint data (JSON) |
| GET | /stream | WebSocket stream of new structures |
| GET | /stats | Global statistics and metrics |
Example Request
WebSocket Stream
Connect to the real-time stream to receive new structures as they are built.
Embedding
Embed a live structure viewer on your website with a single iframe tag.
Data Sources
| Source | Type | Usage |
|---|---|---|
| Helius RPC | WebSocket | Primary transaction stream |
| Jupiter API | REST | DEX swap metadata |
| Metaplex | On-chain | NFT and structure metadata |
| IPFS (Pinata) | Storage | Structure snapshot archival |