Skip to content

oskin1/cardano-multiplatform-lib

This branch is 3 commits ahead of, 87 commits behind dcSpark/cardano-multiplatform-lib:develop.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Oct 20, 2023
4a506b6 · Oct 20, 2023
Aug 16, 2023
Aug 28, 2020
Oct 20, 2023
Oct 20, 2023
Oct 2, 2023
Oct 19, 2023
Oct 20, 2023
Mar 30, 2022
Sep 26, 2023
Jan 31, 2023
Oct 20, 2023
Oct 20, 2023
Aug 3, 2023
Sep 27, 2023
Feb 14, 2020
Sep 15, 2020
Sep 26, 2023
Mar 23, 2022
Jun 27, 2020
Mar 23, 2022
Aug 3, 2023
Mar 25, 2022
Mar 25, 2022
Aug 27, 2020
Dec 14, 2022
Mar 30, 2022
Mar 23, 2022
Sep 26, 2023
Jan 31, 2023
Mar 23, 2022
Mar 23, 2022

Repository files navigation

Cardano Multiplatform Lib

This is a library, written in Rust, that can be deployed to multiple platforms (Rust crate, JS, Typescript, WASM, etc). It handles:

  • Serialization & deserialization of core data structures
  • Useful utility functions for dApps & wallets
NPM packages
  • browser: link
  • nodejs: link
  • asm.js (strongly discouraged): link
Rust crates
Mobile bindings

We recommend using Ionic + Capacitor or an equivalent setup to have the WASM bindings working in mobile

Documentation

TODO

Crate Architecture

For current users, the rust/ crate is the main version of CML and is the only one that should be used. There is a workspace in the root directory with crates like core, wasm etc, which are a part of a big refactor and will eventually replace the rust crate at some point in the future, but are still quite WIP for now. The rust crate when used for WASM builds via the npm scripts in the root repo dir will utilize the rust/json-gen crate here in the build scripts to generate typescript definitions for the JSON conversion. The json-gen-split crate is the equivalent for the new core/wasm crates and is not called anywhere from the build scripts, but will someday replace the rust/json-gen crate once the refactoring is completed.

About

Rust implementation of Cardano

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 99.4%
  • Other 0.6%