Expand description
§HyperStack
Real-time streaming data pipelines for Solana - transform on-chain events into typed state projections.
§Features
interpreter(default) - AST transformation runtime and VMmacros(default) - Proc-macros for defining stream specificationsserver(default) - WebSocket server and projection handlerssdk- Rust client for connecting to HyperStack servers
§Quick Start
[dependencies]
hyperstack = "0.1"Or with specific features:
[dependencies]
hyperstack = { version = "0.1", features = ["full"] }§Example
ⓘ
use hyperstack::prelude::*;
#[hyperstack(idl = "idl.json")]
pub mod my_stream {
#[entity(name = "MyEntity")]
#[derive(Stream)]
struct Entity {
#[map(from = "MyAccount", field = "value")]
pub value: u64,
}
}Re-exports§
pub use hyperstack_interpreter as interpreter;pub use hyperstack_macros as macros;pub use hyperstack_server as server;
Modules§
- prelude
- Prelude module for convenient imports