cardano-wasm-libs
v1.0.5
Published
A set of rust libraries that are compiled into WASM for further use in Cardano infrastructure
Readme
Cardano WASM Libs
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 & Usage
Installation
yarn add cardano-wasm-libsUsage
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 & Submodules Update
Build
yarn cml-build
yarn msl-build
yarn uplc-buildSubmodules Update
yarn cml-update
yarn msl-update