This is a library, written in Rust, for serialization & deserialization of data structures used in Cardano's Haskell implementation of Alonzo along with useful utility functions.
Last updated May 4, 2026
250
Stars
138
Forks
109
Issues
0
Stars/day
Attention Score
93
Language breakdown
Rust 94.7%
TypeScript 2.4%
JavaScript 1.4%
HTML 1.3%
CSS 0.2%
Shell 0.0%
▸ Files
click to expand
README
Cardano Serialization Lib
This is a library, written in Rust, for serialization & deserialization of data structures used in Cardano's Haskell implementation of Alonzo along with useful utility functions.
NPM packages
- NodeJS WASM package
- Browser (chrome/firefox) WASM package
- Browser (pure JS - no WASM) ASM.js package
NPM packages with GC support
Note: This package uses weak references flag from wasm-bindgen. It usesFinalizationRegistry under the hood to automatically call "free" for each CSL struct when it is no longer needed. However, use this feature with caution as it may have unpredictable behaviors.
- NodeJS WASM package with GC
- Browser (chrome/firefox) WASM package with GC
- Browser (pure JS - no WASM) ASM.js package with GC
Rust crates
Mobile bindings
Documentation
You can find documentation here
🔗 More in this category