LXVM (Live eXpert Voting Mechanism)

Brief

Prediction markets are powerful forecasting tools, but they face a critical challenge: how do you resolve real-world outcomes in a trustless, decentralized way? Current solutions rely on centralized oracles or single arbitrators, creating points of failure and potential manipulation.

LXVM solves this in a simple manner. What if we could use collective expert wisdom to resolve prediction markets transparently? Instead of trusting a single source, we enable market creators to poll a network of experts, weigh their confidence, and visualize consensus in real-time—creating an evidence-based, crowd-sourced oracle.


What It Does

LXVM enables decentralized prediction market resolution through a simple workflow:

  1. Admin creates a market with a question and details
  2. Shareable link is generated using a unique token
  3. Voters connect via Metamask and submit:
    • Their vote: "Yes" or "No"
    • Confidence level: 0 (confidence that outcome is negative) to 1 (absolute certainty of outcome)
    • Supporting evidence explaining their reasoning
  4. Real-time visualization: Admin sees an interconnected node graph and real-time statistics.
  5. Automatic resolution: Markets resolve when weighted consensus is overwhelmingly clear (≥0.9 or ≤0.1)

Use-Cases

Subjective markets suffer from a single point of failure. We solve this by voting and employing the staking mechanism for EigenLayer, so that voters are incentivized to vote correctly.

For smaller prediction markets (eg. will X happen to my friend this week?) a group of people can easily vote on the outcome of the prediction since a single all knowing oracle or API is not available. Polymarket currently employs such mechanisms for disputes, but LXVM serves as a de-facto standard for decentralized outcome resolution.


How We Built It

Tech Stack:

  • Next.js 14 with TypeScript and Tailwind CSS
  • RainbowKit + Wagmi for Metamask wallet connection
  • Supabase for real-time database and live vote updates
  • React Flow for the interconnected node graph visualization
  • Vercel for deployment
  • Polymarket-like prediction market setting
  • TEEs, Attestation, Verifiability, and much more with EigenCloud deployed and verifiable on the Blockchain

Key Features:

  • Unique shareable links via nanoid tokens (e.g., lxvm.app/vote/V1StGXR8_Z5j)
  • Supabase real-time subscriptions for instant admin dashboard updates
  • One vote per wallet address (enforced at database level)
  • Confidence-weighted consensus calculation\
  • Secure and runs in a TEE, completely verifiable

What We Learned

  • Supabase real-time subscriptions eliminated the need for custom backend infrastructure
  • React Flow made building dynamic network graphs dramatically simpler than D3.js
  • RainbowKit provides beautiful Web3 UX out of the box
  • Confidence weighting is essential—simple vote counting doesn't capture expert certainty
  • Next.js + Vercel deployment is seamless with dynamic routes working automatically

What's Next for LXVM

Short-Term:

  • Evidence review UI for close votes
  • Vote analytics and confidence distribution charts
  • Market templates for common prediction types

Medium-Term:

  • Store evidence on IPFS with on-chain hashes
  • Smart contract integration for automatic resolution
  • Reputation system tracking voter accuracy over time

Long-Term:

  • DAO governance for platform parameters
  • Voter staking with slashing for false evidence
  • API integration with major prediction market platforms
  • AI-powered evidence verification

LXVM is open-source and built for the decentralized future of prediction markets. We believe truth should be crowd-sourced, evidence-based, and transparent.

Built for trustless truth 🌐

Built With

  • docker
  • eigencloud
  • eigenlayer
  • next.js
  • polymarket
  • react
  • reactflow
  • supabase
Share this project:

Updates