Solana Direct Shreds (ShredStream) Now Available for TypeScript
Solana Direct Shreds (ShredStream) Now Available for TypeScript

ELSOUL LABO B.V. (Headquarters: Amsterdam, Netherlands, CEO: Fumitake Kawasaki) and Validators DAO are pleased to announce that TypeScript support for Solana Direct Shreds is now available, enabling users to access the fastest Solana data streams in TypeScript.
Solana Direct Shreds Stream has been highly praised by users for its speed, surpassing Geyser gRPC Stream. Until now, ShredStream clients have been primarily available in Rust, but Validators DAO has developed a solution that enables ShredStream to be used in TypeScript environments as well.
Using ShredStream in TypeScript
ShredStream has gained widespread support due to its speed in Solana data streaming. Previously, ShredStream clients were only available in Rust, which created inconvenience for TypeScript users.
In response to requests from many developers, Validators DAO has made it possible to use ShredStream in TypeScript with npm package "Solana Stream SDK v0.3.0" and later. This allows developers to easily integrate Solana's real-time data streams into their projects.
High-Speed Decoding with NAPI + Rust
Previously, TypeScript could not decode Solana Shreds, but we have solved this issue by using NAPI (Node-API), applying Rust only for the decoding part. This allows us to leverage Rust's high performance while enabling seamless TypeScript usage.
Solana Entry Decoder - npm: https://www.npmjs.com/package/@validators-dao/solana-entry-decoder
NAPI vs. WASM
NAPI is an API designed to facilitate efficient and straightforward integration between Node.js and native code (such as Rust). It allows for high-performance bindings between Node.js and other languages like Rust, making it easy to use. On the other hand, WASM (WebAssembly) is primarily used to execute code in the browser for different purposes. Below are the reasons for choosing NAPI:
- Performance: NAPI provides direct bindings between Node.js and Rust, offering better performance with lower overhead compared to WebAssembly.
- Simple Integration: NAPI efficiently integrates Node.js with Rust, allowing memory management and function calls without the need for additional tools or configurations.
- Memory Efficiency: NAPI offers better memory management, reducing the risk of memory leaks and unnecessary garbage collection compared to WASM.
- Improved Debugging and Maintainability: Native modules built with NAPI are easier to debug, avoiding the complicated debugging process often encountered with WASM in special environments.
- Wide Compatibility: NAPI supports many Node.js versions natively, with no need for environment-specific adjustments or additional compilation steps.
Node-API - Node.js: https://nodejs.org/api/n-api.html#node-api
Experience High-Speed Streams with a Free Trial

Validators DAO is offering a 7-day free trial for Solana Direct Shreds Stream on the official Discord server. Take advantage of this opportunity to experience the fastest Solana data streams and use them for Solana projects or trading.
Key Features of Solana Stream SDK v0.3.0

- Instant Setup: No special configuration or additional code required to get started.
- Cross-Platform Support: Supports TypeScript (NPM) and Rust (Crates.io).
- Advanced Filtering Capabilities: Transaction and account-based filtering available.
- High-Performance Stream Support: Supports various high-speed streams like Geyser gRPC, ShredStream, ERPC Direct Shreds.
For more details, please check the following:
What's Next
Validators DAO will continue to develop tools and libraries to further strengthen the Solana ecosystem based on feedback from users. Stay tuned for future advancements in Solana's data streaming technology.