#csl #api #whisky #whisky-csl

whisky-csl

Wrapper around the cardano-serialization-lib for easier transaction building, heavily inspired by cardano-cli APIs

7 releases (4 stable)

new 1.0.3 Apr 17, 2025
1.0.2 Apr 16, 2025

#206 in Magic Beans

Download history 217/week @ 2025-04-02 407/week @ 2025-04-09

624 downloads per month
Used in 4 crates (3 directly)

Apache-2.0

130KB
3K SLoC

#whisky-csl

whisky-csl composed of the core serialization logics with the pattern of json-to-transaction, compilable to wasm. This library is not expected to be imported by Rust developers directly, but rather through the higher level APIs like whisky. The wasm build and utility is mostly exposed in MeshJS.

JS / TS wasm Install

In case you want the directly out of the box wasm function for your JS / TS project, run the below

# For nodejs package
yarn add @sidan-lab/whisky-csl-nodejs
# For browser package
yarn add @sidan-lab/whisky-csl-browser

APIs

  • The serialization logic documentation at the builder interface.
  • The inline documentation of core json to transaction serialization function is served at here.

Dependencies

~21MB
~468K SLoC