Documentation Index
Fetch the complete documentation index at: https://mintlify.com/hypertekorg/hyperstack/llms.txt
Use this file to discover all available pages before exploring further.
Introduction to Hyperstack
Hyperstack is a real-time streaming data pipeline framework for Solana that transforms on-chain events into typed state projections. Build responsive applications that react to blockchain state changes in milliseconds, not seconds.What is Hyperstack?
Hyperstack provides a complete solution for streaming Solana program data:- Real-time streaming: WebSocket-based updates as on-chain state changes
- Type-safe projections: Transform raw blockchain data into structured entities
- Multi-language SDKs: First-class support for Rust, TypeScript, React, and Python
- Production-ready: Auto-reconnection, state management, and error handling built-in
Quickstart
Get up and running with a working example in minutes
Installation
Install Hyperstack packages for your preferred language
Core Concepts
Understand stacks, views, and streaming patterns
CLI Reference
Deploy and manage stacks with the Hyperstack CLI
How it works
Hyperstack transforms on-chain Solana events into structured, queryable state projections:Define your stack
Create stream definitions that specify how to transform on-chain data into typed entities.
Key features
Type-safe streaming
All SDKs provide fully typed entities and views. Your IDE provides autocomplete, and the compiler catches errors before runtime.Framework agnostic
The TypeScript SDK works with any framework (Vue, Svelte, Node.js), while the React SDK provides hooks for React applications.Production ready
- Auto-reconnection: Handles connection drops with configurable backoff
- State management: Client-side caching and synchronization
- Rich updates: Track before/after diffs for entity changes
- Multiple view types: State views (single entity), list views (collections), and derived views
Architecture
Hyperstack consists of several components:| Component | Purpose |
|---|---|
| hyperstack | Rust umbrella crate re-exporting all components |
| hyperstack-interpreter | AST transformation runtime and VM |
| hyperstack-macros | Proc-macros for stream definitions |
| hyperstack-server | WebSocket server and projection handlers |
| hyperstack-cli | CLI tool for deployment and SDK generation |
| hyperstack-sdk | Rust client SDK |
| hyperstack-typescript | Pure TypeScript SDK (framework-agnostic) |
| hyperstack-react | React SDK with hooks |
| hyperstack-sdk (Python) | Python client SDK (work in progress) |
The Python SDK is currently under active development and has not yet been published to PyPI.
Use cases
- DeFi dashboards: Real-time token prices, liquidity pools, and trading activity
- Gaming: Live leaderboards, player stats, and game state
- NFT platforms: Instant updates on mints, transfers, and marketplace activity
- Analytics: Real-time metrics and aggregations from on-chain data
- Monitoring: Track program state changes and trigger alerts
Next steps
Quickstart
Build your first Hyperstack application
Installation
Install packages for Rust, TypeScript, or React