Skip to content

EricGrill/decentralized-predictive-market-bitcoin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bitcoin-Native Capsule Prediction Market Protocol

BTC-Denominated, BTC-Settled Markets for Verifiable Cryptographic Outcomes

Protocol Status Version License


Overview

A Bitcoin-only prediction market protocol where markets resolve on the future state of cryptographic "capsules" anchored to Bitcoin. The system enables:

  • Auditable markets without disclosure (capsules expose public keys, keep private keys encrypted)
  • Deterministic resolution via machine-checkable predicates over Bitcoin-observable facts
  • Decentralized attestation through threshold Schnorr signatures from bonded witnesses
  • BTC-only settlement using Taproot escrow and payout paths

No smart-contract platforms. No stablecoins. No external oracles.


Quick Links

Documentation Description
Protocol Specification Full protocol documentation
Design Review Open questions and technical analysis
Original Paper Canonical protocol specification
Changelog Version history
Contributing How to contribute

Architecture

┌─────────────────────────────────────────────────────────────────────┐
│                        BITCOIN BLOCKCHAIN                            │
│     OP_RETURN Anchors  │  Taproot Escrows  │  Witness Bonds         │
└─────────────────────────────────────────────────────────────────────┘
                              │
                              ▼
┌─────────────────────────────────────────────────────────────────────┐
│                       PROTOCOL LAYER                                 │
│   Capsules ──── Markets ──── Predicates ──── Witnesses              │
└─────────────────────────────────────────────────────────────────────┘

Core Components

Component Purpose Documentation
Capsules Cryptographic containers with verifiable key origin Spec
Bitcoin Anchoring OP_RETURN commitments for timestamping Spec
Markets YES/NO bets on capsule state predicates Spec
Escrow System Taproot-based conditional payouts Spec
Witness Network Decentralized oracle with threshold signing Spec

Status

Current Phase: Research & Specification

Milestone Status
Protocol specification In Progress
Design review In Progress
Reference implementation Not Started
Testnet deployment Not Started
Security audit Not Started
Mainnet Not Started

Open Design Questions

Five critical questions require resolution before implementation:

  1. Q1: ZK Genesis Proof Trust Boundary - How do we verify proofs came from constrained environments?
  2. Q2: Witness Economic Model - What incentivizes witness participation?
  3. Q3: UTXO Stability - How do we handle reorgs affecting escrow deposits?
  4. Q4: Winner Identification - Critical MVP blocker - How do we track who staked what?
  5. Q5: Information Asymmetry - How do we prevent capsule holders from manipulating outcomes?

See Resolution Tracker for current status.


Related Projects

Repository Description
mcp-memvid-state-service Memvid state service MCP
mcp-predictive-market Predictive market MCP
mcp-bitcoin-cli Bitcoin CLI MCP

Getting Started

For Researchers

  1. Read the Protocol Overview
  2. Review Open Questions
  3. Open a Discussion to propose solutions

For Implementers

  1. Read the full Specification
  2. Review Security Analysis
  3. Check Implementation Checklist

For Auditors

  1. Review Trust Model
  2. Examine Attack Cost Analysis
  3. Check Open Questions for known gaps

Contributing

See CONTRIBUTING.md for guidelines.

Ways to contribute:

  • Propose solutions to open design questions
  • Improve specification clarity
  • Add test vectors
  • Review for security issues
  • Build reference implementations

License

MIT License - See LICENSE for details.


Acknowledgments

Built on Bitcoin. Inspired by the need for trustless, BTC-native prediction markets.

About

Bitcoin-Native Capsule Prediction Market Protocol - BTC-denominated, BTC-settled markets for verifiable cryptographic outcomes

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors