Skip to main content

What is Miden?

Miden is a zero-knowledge virtual machine (zkVM) built by Polygon. It enables developers to build high-throughput, privacy-preserving applications with:
  • Client-side proving: Users generate proofs locally, enabling private transactions
  • Parallel transaction execution: Transactions can be processed concurrently for high throughput
  • Programmable accounts: Flexible account logic using Miden Assembly or higher-level languages
  • Privacy by default: Transaction details remain private while maintaining verifiability

What the Para Integration Enables

Integrating Para with Miden gives your users:
  • Seamless onboarding: Users can create Miden accounts using familiar authentication methods (email, social login, passkeys) without managing seed phrases
  • Embedded wallet experience: Para’s distributed MPC infrastructure secures user keys while maintaining a smooth UX
  • Cross-platform support: Build web and React applications that connect to Miden with consistent wallet functionality
To integrate Para on Miden, please visit miden-para.

Prerequisites

Before getting started, you’ll need:
  • A Para API key from the Para Developer Portal
  • Node.js installed in your development environment
  • Yarn 1.22.22 or later (required by miden-para)

Installation

Install miden-para along with its peer dependencies:
yarn add miden-para @demox-labs/miden-sdk@^0.12.5 @getpara/[email protected]
The miden-para package requires specific versions of peer dependencies to avoid duplicate copies. Make sure to install the exact versions shown above.

Basic Setup

import { MidenPara } from "miden-para";

const midenPara = new MidenPara({
  paraApiKey: process.env.PARA_API_KEY,
  // Additional configuration options
});

Private Storage Mode

When using storageMode: "private", you must provide an accountSeed parameter to ensure private accounts remain recoverable:
const midenPara = new MidenPara({
  paraApiKey: process.env.PARA_API_KEY,
  storageMode: "private",
  accountSeed: "your-account-seed", // Required for private mode
});
Never hardcode your account seed in production code. Use secure environment variables or a secrets manager.

React Integration

For React applications, the Miden team provides dedicated hooks via the use-miden-para-react package:
yarn add use-miden-para-react

Scaffolding a New Project

To quickly bootstrap a new project with Miden and Para integration, use the scaffolding tool:
npx create-miden-para-react my-miden-app
cd my-miden-app
yarn install
yarn dev
This creates a Vite-based React TypeScript project with Para and Miden pre-configured.

Features In Progress

Miden is currently on testnet. The following features are being developed:

On-Ramps

The Miden team is working on on-ramp solutions to allow users to fund their Miden accounts directly. This feature will be available as Miden progresses toward mainnet.

Resources

Next Steps