Polygon Miden
Polygon Miden is a zero-knowledge rollup running on the Miden VM. Polygon Miden prioritizes ZK-friendliness over EVM compatibility; that way it can offer features and benefits that are not available on Ethereum. It aims at builders that want to create high-throughput and private dApps. Miden is a general purpose rollup and builders can write and deploy arbitrary smart contracts.
Project structure
This repository stores all the code for Polygon Miden. Everything is open source.
Repository | Description |
---|---|
AirScript | Domain-specific language for writing AIR constraints for Miden VM. |
Miden Base | Core components of the Polygon Miden rollup. |
Miden Client | A reference Miden Client to be used by users. |
Miden Crypto | Cryptographic primitives used in Polygon Miden rollup. |
Miden Compiler | Compiler from MidenIR to Miden Assembly. |
Miden Node | Miden Node to be used by the Miden operators. |
Miden VM | STARK-based virtual machine for Polygon Miden rollup. |
Examples | Examples of using the Miden VM and Miden assembly. |
Status
At the moment you can use the Miden VM v0.6 on our playground and locally. Check out the Miden VM repository or our Miden VM docs for more detailed instructions.
As soon as we have the Miden Client or Miden Node, we will make it available. Follow us on Twitter to get the latest updates.
In case you want to use parts of Polygon Miden - like the Miden VM or AirScript - please reach out to us.
Design
Key features of Polygon Miden
- Client side proving where users can locally execute transactions and create proofs thereof on their own.
- Parallel transaction execution where causally independent transactions can be processed in parallel.
- Privacy which includes the ability to engage in private transactions as well as have privacy-preserving smart contracts.
- Support for composable smart contracts via safe but Turing-complete language. This is needed to support safer wallets, DeFi, DAOs, and many other cool use cases.
- Native support for multiple assets where the environment itself ensures asset safety allows fee payments in multiple assets etc.
License
This project is MIT licensed.