5 unstable releases

0.3.0 May 14, 2024
0.2.1 Apr 11, 2024
0.2.0 Apr 11, 2024
0.1.1 Mar 7, 2024
0.1.0 Mar 5, 2024

#27 in No standard library

Download history 240/week @ 2024-03-03 820/week @ 2024-03-10 389/week @ 2024-03-17 278/week @ 2024-03-24 515/week @ 2024-03-31 1038/week @ 2024-04-07 491/week @ 2024-04-14 764/week @ 2024-04-21 659/week @ 2024-04-28 363/week @ 2024-05-05 971/week @ 2024-05-12

2,759 downloads per month
Used in 10 crates

MIT license

365KB
6.5K SLoC

Miden Objects

This crates contains core components defining the Miden rollup protocol.

Modules

Here is a broad overview of each module, with links to additional documentation.

Accounts

Structures used to define accounts, including abstractions over its code, storage, and vault.

Documentation.

Assets

Structures used to define fungible and non-fungible assets. Accounts own assets and store them in their vaults.

Documentation

Block

Structures used to define a block. These objects contains authentication structures, merkle trees, used to represent the state of the rollup at a given point in time.

Notes

Structures used to define notes. Notes are messages that contain code and assets. They describe their own behavior and allow for interaction among accounts. Notes come in multiple flavors, refer to the docs for additional details.

Documentation

Transaction

Structures used to define Miden rollup transactions. Transactions describe changes to an account, and may include consumption and production of notes. The objects in this module allow for the representation of transactions at multiple stages of its lifecycle, from creation, to data aggregation, execution with trace collection, and finally an executed transaction with a corresponding STARK proof.

Documentation.

Features

Description of this crate's feature:

Features Description
std Enable usage of Rust's std, use --no-default-features for no-std support.
concurrent Enables concurrent code to speed up runtime execution.
serde Enables serialization of most objects via serde.
testing Enables testing utilities and reduces proof-of-work requirements to speed up tests' runtimes.

License

This project is MIT licensed.

Dependencies

~9.5MB
~174K SLoC