Skip to content
@0xPolygonMiden

Polygon Miden

Chat on Discord Website Chat on Twitter

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 unavailable on Ethereum. It aims at builders who want to create high-throughput and private dApps. Miden is a general-purpose rollup; 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

The public testnet is up and running. You can interact with the Miden node using the Miden client. Currently, there are only predefined smart contracts and node scripts. As soon as there is the Miden Rust compiler, builders can start writing their own contracts.

You can also use the Miden VM v0.9 locally and on the Miden playground. For more detailed information, check out the Miden VM repository or our Miden VM docs.

If you want to use parts of Polygon Miden - like the Miden VM or AirScript - please contact us.

Design

Key features of Polygon Miden

  1. Client-side proving where users can locally execute transactions and create proofs of them on their own.
  2. Parallel transaction execution where causally independent transactions can be processed in parallel.
  3. Privacy which includes the ability to engage in private transactions as well as have privacy-preserving smart contracts.
  4. 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.
  5. Native support for multiple assets where the environment itself ensures asset safety and allows fee payments in multiple assets, etc.

License

This project is MIT licensed.

Popular repositories Loading

  1. miden-vm miden-vm Public

    STARK-based virtual machine

    Rust 630 160

  2. crypto crypto Public

    Cryptographic primitives used in Polygon Miden rollup

    Rust 101 35

  3. air-script air-script Public

    A domain-specific language for writing AIR constraints for STARKs

    Rust 73 11

  4. miden-base miden-base Public

    Core components of the Polygon Miden rollup

    Rust 70 42

  5. compiler compiler Public

    Compiler from MidenIR to Miden Assembly

    Rust 64 22

  6. miden-node miden-node Public

    Reference implementation of the node for the Polygon Miden rollup

    Rust 53 37

Repositories

Showing 10 of 21 repositories

People

This organization has no public members. You must be a member to see who’s a part of this organization.

Top languages

Loading…

Most used topics

Loading…