Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Emurgo/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.
https://github.com/Emurgo/cardano-serialization-lib
blockchain cardano cddl shelley
Last synced: 2 days ago
JSON representation
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.
- Host: GitHub
- URL: https://github.com/Emurgo/cardano-serialization-lib
- Owner: Emurgo
- License: other
- Created: 2020-02-13T23:55:58.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2024-10-16T08:07:22.000Z (25 days ago)
- Last Synced: 2024-11-07T02:02:52.448Z (4 days ago)
- Topics: blockchain, cardano, cddl, shelley
- Language: Rust
- Homepage:
- Size: 3.99 MB
- Stars: 235
- Watchers: 15
- Forks: 125
- Open Issues: 103
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
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](https://www.npmjs.com/package/@emurgo/cardano-serialization-lib-nodejs)
- [Browser (chrome/firefox) WASM package](https://www.npmjs.com/package/@emurgo/cardano-serialization-lib-browser)
- [Browser (pure JS - no WASM) ASM.js package](https://www.npmjs.com/package/@emurgo/cardano-serialization-lib-asmjs)##### NPM packages with GC support
Note: This package uses [weak references flag from wasm-bindgen](https://rustwasm.github.io/wasm-bindgen/reference/weak-references.html).
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.
- [NodeJS WASM package with GC](https://www.npmjs.com/package/@emurgo/cardano-serialization-lib-nodejs-gc)
- [Browser (chrome/firefox) WASM package with GC](https://www.npmjs.com/package/@emurgo/cardano-serialization-lib-browser-gc)
- [Browser (pure JS - no WASM) ASM.js package with GC](https://www.npmjs.com/package/@emurgo/cardano-serialization-lib-asmjs-gc)##### Rust crates
- [cardano-serialization-lib](https://crates.io/crates/cardano-serialization-lib)
##### Mobile bindings
- [React-Native mobile bindings](https://github.com/Emurgo/react-native-haskell-shelley)
## Documentation
You can find documentation [here](https://developers.cardano.org/docs/get-started/cardano-serialization-lib/overview)