Analysis updated 2026-06-24
Build a browser dapp that reads Solana account balances over HTTP from wasm
Stream live devnet slot updates over WebSocket into a Leptos web app
Subscribe to program or signature notifications and cancel the subscription cleanly on drop
Fetch large program-account result sets by raising the 10 MiB HTTP response cap
| aursen-labs/spume | 2arons/agent-git | gorkys/chromeprofilemanage | |
|---|---|---|---|
| Stars | 11 | 11 | 11 |
| Language | Rust | Rust | Rust |
| Setup difficulty | moderate | easy | easy |
| Complexity | 3/5 | 3/5 | 1/5 |
| Audience | developer | developer | general |
Figures from each repo's GitHub metadata at analysis time.
WebSocket subscriptions are gated behind the pubsub feature flag and tests need a local surfpool simulator.
Spume is a small Rust library that lets a program talk to the Solana blockchain. Solana is a cryptocurrency network, and its servers expose a remote interface called JSON-RPC, which is the standard way for outside code to ask questions like the current block number or the balance of an account. The README describes spume as lightweight and ergonomic, and it is built specifically for wasm, which is the format used to run compiled code inside a web browser or a similar sandboxed runtime. There are two ways to use it. The basic mode talks to Solana over plain HTTP, where the client sends a request and waits for a single answer. A typical call creates a WasmClient pointed at a Solana endpoint, then asks for things like the current slot, the node version, the latest blockhash, or the balance of a specific address. The README lists src/methods.rs as the place to find every method that is supported. The second mode is optional and is turned on with a feature flag called pubsub. This mode opens a WebSocket connection, which is a long-lived two-way channel, and lets the program subscribe to a stream of updates. The README lists subscriptions for account, block, logs, program, root, signature, slot, slotsUpdates, and vote. A subscription can be cancelled explicitly, or it will be cancelled on a best-effort basis when the subscription value is dropped. There is one safety detail called out in the README. HTTP responses are capped at 10 MiB by default so that a broken or hostile server cannot fill memory with a huge response. The cap can be raised with a builder method if a specific call, such as fetching all accounts owned by a program, needs more room. The repository includes a small example written with the Leptos web framework that streams the live devnet slot over WebSocket and reads the node version over HTTP. The development section mentions just, clippy, rustfmt, and a local Solana simulator called surfpool that the test recipe spins up and tears down.
Spume is a small Rust JSON-RPC client for Solana, built for wasm targets, with optional WebSocket pubsub subscriptions and a 10 MiB response cap by default.
Mainly Rust. The stack also includes Rust, WebAssembly, JSON-RPC.
Setup difficulty is rated moderate, with roughly 30min to a first successful run.
Mainly developer.
This repo across BitVibe Labs
Verify against the repo before relying on details.