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.

// Scanner configuration { "rpc_endpoint": "wss://mainnet.helius-rpc.com", "batch_size": 100, "filter_programs": ["JUP4Fb2cqiR...", "675kPX9MHTj..."], "cluster_threshold": 0.85, "pattern_window": "5m" }

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

The API is currently in beta. Endpoints may change. Rate limit: 100 requests/minute.

Base URL

https://api.glassywork.fun/v1

Endpoints

MethodEndpointDescription
GET/structuresList all structures with pagination
GET/structures/:idGet structure details and metadata
GET/structures/:id/blueprintGet raw blueprint data (JSON)
GET/streamWebSocket stream of new structures
GET/statsGlobal statistics and metrics

Example Request

curl -X GET https://api.glassywork.fun/v1/structures \ -H "Accept: application/json" # Response { "data": [ { "id": "crystal-nexus-2026-03-04", "name": "Crystal Nexus", "type": "structure", "blocks": 12847, "created_at": "2026-03-04T14:23:00Z", "ipfs_cid": "QmX7b2K...", "blueprint_url": "/v1/structures/crystal-nexus-2026-03-04/blueprint" } ], "total": 847, "page": 1, "per_page": 20 }

WebSocket Stream

Connect to the real-time stream to receive new structures as they are built.

const ws = new WebSocket('wss://api.glassywork.fun/v1/stream'); ws.onmessage = (event) => { const structure = JSON.parse(event.data); console.log('New structure:', structure.name); console.log('Blocks:', structure.blocks); console.log('IPFS:', structure.ipfs_cid); };

Embedding

Embed a live structure viewer on your website with a single iframe tag.

<iframe src="https://embed.glassywork.fun/structures/crystal-nexus" width="600" height="400" frameborder="0" allow="webgpu" />

Data Sources

SourceTypeUsage
Helius RPCWebSocketPrimary transaction stream
Jupiter APIRESTDEX swap metadata
MetaplexOn-chainNFT and structure metadata
IPFS (Pinata)StorageStructure snapshot archival