MCPcopy Index your code
hub / github.com/dcSpark/cardano-multiplatform-lib

github.com/dcSpark/cardano-multiplatform-lib @6.2.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release 6.2.0 ↗ · + Follow
4,116 symbols 9,784 edges 248 files 339 documented · 8%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

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

https://dcSpark.github.io/cardano-multiplatform-lib/

Extension points exported contracts — how you extend this code

Serialize (Interface)
Define that an object can be written to a `Write` object. [9 implementers]
crypto/rust/src/chain_core/property.rs
DeserializeEmbeddedGroup (Interface)
(no doc) [49 implementers]
core/rust/src/serialization.rs
ClampedSub (Interface)
Subtraction over a numerical type where the type's minimum is returned if underflow would occur. [2 implementers]
chain/rust/src/assets/utils.rs
Deserialize (Interface)
Define that an object can be read from a `Read` object. [7 implementers]
crypto/rust/src/chain_core/property.rs
Serialize (Interface)
(no doc) [273 implementers]
core/rust/src/serialization.rs
FromStr (Interface)
Defines the way to parse the object from a UTF-8 string. This is like the standard `FromStr` trait, except that it impo [11 …
crypto/rust/src/chain_core/property.rs
SerializeEmbeddedGroup (Interface)
(no doc) [49 implementers]
core/rust/src/serialization.rs
AsymmetricKey (Interface)
(no doc) [4 implementers]
crypto/rust/src/chain_crypto/key.rs

Core symbols most depended-on inside this repo

clone
called by 2062
crypto/rust/src/chain_crypto/key.rs
annotate
called by 1136
core/rust/src/error.rs
as_ref
called by 634
core/wasm/src/lib.rs
fit_sz
called by 497
core/rust/src/serialization.rs
read_elems
called by 460
core/rust/src/serialization.rs
as_ref
called by 417
chain/rust/src/plutus/utils.rs
len
called by 327
multi-era/wasm/src/alonzo/mod.rs
to_len_sz
called by 261
core/rust/src/serialization.rs

Shape

Method 2,672
Class 773
Function 475
Enum 159
Interface 37

Languages

Rust100%
TypeScript1%

Modules by API surface

chain/rust/src/builders/tx_builder.rs181 symbols
multi-era/wasm/src/shelley/mod.rs156 symbols
multi-era/wasm/src/babbage/mod.rs145 symbols
multi-era/wasm/src/alonzo/mod.rs125 symbols
chain/wasm/src/transaction/mod.rs111 symbols
chain/wasm/src/certs/mod.rs110 symbols
chain/wasm/src/lib.rs106 symbols
multi-era/wasm/src/utils.rs103 symbols
multi-era/rust/src/utils.rs94 symbols
chain/wasm/src/builders/tx_builder.rs73 symbols
chain/rust/src/address.rs73 symbols
multi-era/wasm/src/allegra/mod.rs67 symbols

For agents

$ claude mcp add cardano-multiplatform-lib \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page