Skip to content

Moxie-Markets/pred-perp-dex

Repository files navigation

Moxie Markets

A Solana-based perpetual futures DEX focused exclusively on prediction markets. Trade leveraged positions (up to 50x) on binary outcomes sourced from Polymarket.

Overview

This protocol enables traders to take long/short positions on prediction market outcomes as perpetual contracts. Each market represents a YES/NO binary outcome priced between $0.05 - $0.95, where:

  • Long = Bet the probability rises
  • Short = Bet the probability falls

Key Features

  • Prediction Market Perps - Trade on real-world events (elections, crypto prices, sports, etc.)
  • Polymarket Oracle - Live price feeds from Polymarket's prediction markets
  • Up to 50x Leverage - Amplify your conviction on outcomes
  • vAMM Liquidity - Virtual AMM for instant execution
  • SOL Collateral - Native SOL as margin

Architecture

┌─────────────────┐     ┌─────────────────┐     ┌─────────────────┐
│   Polymarket    │────▶│   TypeScript    │────▶│     Solana      │
│   (Off-chain)   │     │      SDK        │     │    Program      │
└─────────────────┘     └─────────────────┘     └─────────────────┘
     Price Data          Client Library         On-chain Logic

SDK Installation

To interact with the Moxie Markets protocol, install the SDK and necessary peer dependencies:

npm install @moxie-markets/sdk

For detailed usage instructions, please refer to the SDK Documentation.

Built for fast and efficient prediction market trading on Solana.

About

Perpetuals DEX focused on Prediction Markets

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors