#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)

new 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

#647 in Magic Beans

Download history 409/week @ 2024-07-29 561/week @ 2024-08-05 542/week @ 2024-08-12 779/week @ 2024-08-19 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

1,169 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
~137K SLoC