| Crates.io | hyperstack-stacks |
| lib.rs | hyperstack-stacks |
| version | 0.3.5 |
| created_at | 2026-01-20 05:58:36.897842+00 |
| updated_at | 2026-01-24 05:47:18.844715+00 |
| description | Protocol stacks for Hyperstack - ready-to-use Solana data streams |
| homepage | |
| repository | https://github.com/HyperTekOrg/hyperstack.git |
| max_upload_size | |
| id | 2055843 |
| size | 53,074 |
Protocol stacks for Hyperstack - ready-to-use Solana data streams.
[dependencies]
hyperstack-stacks = "0.2"
Or with specific features:
[dependencies]
hyperstack-stacks = { version = "0.2", default-features = false, features = ["pumpfun"] }
| Feature | Default | Description |
|---|---|---|
pumpfun |
Yes | PumpFun token streaming |
full |
No | Enables all stacks |
use hyperstack_sdk::prelude::*;
use hyperstack_stacks::pumpfun::{PumpfunToken, PumpfunTokenEntity};
#[tokio::main]
async fn main() -> anyhow::Result<()> {
let hs = HyperStack::connect("wss://mainnet.hyperstack.xyz").await?;
// List all tokens
let tokens = hs.list::<PumpfunTokenEntity>().await;
println!("Found {} tokens", tokens.len());
// Watch for real-time updates
let mut stream = hs.watch::<PumpfunTokenEntity>();
while let Some(update) = stream.next().await {
match update {
Update::Upsert { key, data } => {
println!("Token {}: {:?}", key, data.info.name);
}
Update::Delete { key } => {
println!("Token {} removed", key);
}
_ => {}
}
}
Ok(())
}
Real-time streaming data for PumpFun tokens on Solana.
use hyperstack_stacks::pumpfun::{PumpfunToken, PumpfunTokenEntity};
Entity: PumpfunToken
| Field | Type | Description |
|---|---|---|
id |
PumpfunTokenId |
Token identifiers (mint, bonding curve) |
info |
PumpfunTokenInfo |
Token metadata (name, symbol, URI) |
reserves |
PumpfunTokenReserves |
Current reserve state and pricing |
trading |
PumpfunTokenTrading |
Trading statistics and metrics |
events |
PumpfunTokenEvents |
Recent buy/sell/create events |
This crate depends on hyperstack-sdk for the core streaming functionality.
MIT