#cardano #deserialize #serialization #along #utility #js #browser

cardano-serialization-lib

(De)serialization functions for the Cardano blockchain along with related utility functions

111 releases (39 stable)

13.1.0 Oct 16, 2024
12.1.1 Oct 4, 2024
12.0.0-beta.3 Jul 29, 2024
12.0.0-alpha.25 Mar 28, 2024
5.0.0 Jan 12, 2021

#5 in #cardano

Download history 248/week @ 2024-07-13 222/week @ 2024-07-20 406/week @ 2024-07-27 564/week @ 2024-08-03 486/week @ 2024-08-10 812/week @ 2024-08-17 742/week @ 2024-08-24 539/week @ 2024-08-31 470/week @ 2024-09-07 238/week @ 2024-09-14 281/week @ 2024-09-21 422/week @ 2024-09-28 438/week @ 2024-10-05 590/week @ 2024-10-12 241/week @ 2024-10-19 194/week @ 2024-10-26

1,583 downloads per month
Used in 3 crates (2 directly)

MIT license

2MB
48K SLoC

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
NPM packages with GC support

Note: This package uses weak references flag from wasm-bindgen. It uses FinalizationRegistry 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.

Rust crates
Mobile bindings

Documentation

You can find documentation here

Dependencies

~5–7.5MB
~138K SLoC