A set of rust libraries that are compiled into WASM for further use in Cardano infrastructure. Used as wasm-pack export to various targets (nodejs, browser, web+serverless). Made for CardanoWeb3js.
- Cardano Multiplatform Lib (by dcSpark)
- Message Signing Lib (by Emurgo)
- Untyped Plutus Core Lib (by XRAY/Network)
Installation
yarn add cardano-wasm-libs
Usage
import { CML, MSL, UPLC } from "cardano-wasm-libs/nodejs" // nodejs
import { CML, MSL, UPLC } from "cardano-wasm-libs/browser" // browser
import { CML, MSL, UPLC } from "cardano-wasm-libs/web" // browser, serverless environments (Cloudflare Workers, etc)
Build
yarn cml-build
yarn msl-build
yarn uplc-build
Submodules Update
yarn cml-update
yarn msl-update