Description and core structures for the Miden Rollup protocol.
WARNING: This project is in an alpha stage. It has not been audited and may contain bugs and security flaws. This implementation is NOT ready for production use.
Miden is a zero-knowledge rollup for high-throughput and private applications. Miden allows users to execute and prove transactions locally (i.e., on their devices) and commit only the proofs of the executed transactions to the network.
If you want to join the technical discussion or learn more about the project, please check out
Miden is currently on release v0.13. This is an early version of the protocol and its components. We expect to keep making changes (including breaking changes) to all components.
P2ID) and atomic swap (SWAP). In the future, the set of standardized notes will be expanded.| Crate | Description |
|---|---|
| miden-protocol | Contains core components defining the Miden protocol, including the transaction kernel. |
| miden-standards | Contains the code of Miden's standardized smart contracts. |
| miden-tx | Contains tools for creating, executing, and proving Miden rollup transactions. |
| bench-tx | Contains transaction execution and proving benchmarks. |
We use make to automate building, testing, and other processes. In most cases, make commands are just wrappers around cargo commands with specific arguments. You can view the list of available commands in the Makefile, or just run the following command:
make
To test the crates contained in this repo you can use Make to run the following command present in our Makefile:
make test
Some of the functions in this project are computationally intensive and may take a significant amount of time to compile and complete during testing. To ensure optimal results we use the make test command. It enables the running of tests in release mode and using specific configurations replicates the test conditions of the development mode and verifies all debug assertions.
The documentation in the docs/ folder is built using Docusaurus and is automatically absorbed into the main miden-docs repository for the main documentation website. Changes to the next branch trigger an automated deployment workflow. The docs folder requires npm packages to be installed before building.
This project is MIT licensed
$ claude mcp add protocol \
-- python -m otcore.mcp_server <graph>