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

cardano-serialization-lib

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

112 releases (40 stable)

13.2.0 Nov 14, 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

#6 in #along

Download history 821/week @ 2024-08-26 481/week @ 2024-09-02 434/week @ 2024-09-09 229/week @ 2024-09-16 275/week @ 2024-09-23 454/week @ 2024-09-30 459/week @ 2024-10-07 584/week @ 2024-10-14 210/week @ 2024-10-21 180/week @ 2024-10-28 373/week @ 2024-11-04 353/week @ 2024-11-11 244/week @ 2024-11-18 150/week @ 2024-11-25 1369/week @ 2024-12-02 1861/week @ 2024-12-09

3,654 downloads per month
Used in 4 crates (3 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