OpenViSTAI · Agents · Blockchain · Crypto
Menu
DeFi

Pm Amm

Pm Amm is an MIT-licensed Rust implementation of Paradigm’s dynamic automated market maker for prediction markets on Solana, using Anchor. Its program supports market creation, liquidity provision, YES/NO swaps, LP token accrual and claims, pair redemption, and market resolution.

Independent OpenViST project profile, based on linked sources.

Pm Amm — OpenViST project profile in DeFi.
OpenViST project illustration. See the linked sources for product details.
Understand the project

Practical overview

When it fits

Use it as a Solana and Anchor codebase when developing or studying prediction-market liquidity and trading flows, rather than as a standalone explanation of AMM theory.

Who it is for

  • Solana developers building prediction-market applications or interfaces.
  • Integrators using the Anchor IDL and program instructions.
  • Engineers exploring dynamic AMM designs for prediction markets.

Documented uses

  • Create a prediction market with YES and NO outcome tokens and a USDC vault.
  • Add liquidity, receive shares, and claim accrued outcome tokens.
  • Swap between YES and NO, or combine client-side instructions for USDC-to-outcome-token trades.
  • Redeem a YES/NO pair for USDC and resolve a market after expiration.
Before you choose

Requirements & limits

The repository is public and identifies an MIT license. Its README documents a Devnet program ID and a Devnet RPC setting for the frontend.

  • The core implementation is a Solana program written in Rust with Anchor.
  • USDC-to-YES/NO trades are described as client-side combinations of program instructions, not as a single listed instruction.
  • The README documents a Next.js frontend, Python oracle and Anchor IDL alongside the program.
  • The documented integration tests require a local validator.

Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.

Source-based practical guide

Set up and build the repository

Install the documented dependencies and build the Solana program.

Before you start

  • The repository’s documented pnpm, Anchor and Python tooling.
  • A local copy of the public GitHub repository.

Steps

  1. Run pnpm install.

  2. Run pnpm run build to build the program and IDL.

Expected outcome

The repository’s program and Anchor IDL build steps have been run.

Guide limitations

  • The README gives these setup and build commands but does not establish a successful build in this guide.
  • Running the integration tests is a separate stage and requires a local validator.
Evidence and transparency

Sources & review

Source record details
Source availability
Active
Sources checked
14 October 2026
Original website title
Mattdgn/pm-amm · Official homepage title · retained in its source language