#transaction #serialization #api #building #js #heavily #wasm-js

sidan-csl-rs

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

94 releases (8 breaking)

0.9.4 Oct 20, 2024
0.8.7 Oct 7, 2024
0.6.13 Jul 30, 2024
0.2.6-beta7.rc1 Mar 31, 2024

#990 in Magic Beans

Download history 102/week @ 2024-07-08 231/week @ 2024-07-15 284/week @ 2024-07-22 140/week @ 2024-07-29 110/week @ 2024-08-05 414/week @ 2024-08-12 373/week @ 2024-08-19 338/week @ 2024-08-26 312/week @ 2024-09-02 301/week @ 2024-09-09 334/week @ 2024-09-16 1/week @ 2024-09-23 616/week @ 2024-09-30 714/week @ 2024-10-07 302/week @ 2024-10-14 68/week @ 2024-10-21

1,700 downloads per month
Used in 2 crates

Apache-2.0

210KB
4K SLoC

sidan-csl-rs

sidan-csl-rs 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/sidan-csl-rs-nodejs
# For browser package
yarn add @sidan-lab/sidan-csl-rs-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

~15–20MB
~432K SLoC