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

cardano-serialization-lib

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

95 releases (33 stable)

12.0.0-beta.2 Jul 2, 2024
12.0.0-alpha.30 May 7, 2024
12.0.0-alpha.25 Mar 28, 2024
12.0.0-alpha.15 Nov 28, 2023
5.0.0 Jan 12, 2021

#704 in Magic Beans

Download history 369/week @ 2024-04-03 595/week @ 2024-04-10 290/week @ 2024-04-17 408/week @ 2024-04-24 316/week @ 2024-05-01 286/week @ 2024-05-08 256/week @ 2024-05-15 228/week @ 2024-05-22 279/week @ 2024-05-29 360/week @ 2024-06-05 422/week @ 2024-06-12 469/week @ 2024-06-19 515/week @ 2024-06-26 398/week @ 2024-07-03 310/week @ 2024-07-10 187/week @ 2024-07-17

1,498 downloads per month
Used in 3 crates

MIT license

2MB
45K 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–7MB
~129K SLoC