miden-stdlib

Crates.iomiden-stdlib
lib.rsmiden-stdlib
version0.11.0
sourcesrc
created_at2022-08-08 22:33:03.278022
updated_at2024-11-05 03:42:07.802847
descriptionMiden VM standard library
homepagehttps://polygon.technology/polygon-miden
repositoryhttps://github.com/0xPolygonMiden/miden-vm
max_upload_size
id641107
size950,562
Bobbin Threadbare (bobbinth)

documentation

https://docs.rs/miden-stdlib/0.11.0

README

Miden stdlib

Standard library for Miden VM.

Miden standard library provides a set of procedures which can be used by any Miden program. These procedures build on the core instruction set of Miden assembly expanding the functionality immediately available to the user.

The goals of Miden standard library are:

  • Provide highly-optimized and battle-tested implementations of commonly-used primitives.
  • Reduce the amount of code that needs to be shared between parties for proving and verifying program execution.

The second goal can be achieved because calls to procedures in the standard library can always be serialized as 32 bytes, regardless of how large the procedure is.

Available modules

Currently, Miden standard library contains just a few modules, which are listed below. Over time, we plan to add many more modules which will include various cryptographic primitives, additional numeric data types and operations, and many others.

Status

At this point, all implementations listed above are considered to be experimental and are subject to change.

License

This project is MIT licensed.

Commit count: 2577

cargo fmt