Skip to content

Latest commit

 

History

History
9 lines (5 loc) · 627 Bytes

README.md

File metadata and controls

9 lines (5 loc) · 627 Bytes

Secret Prediction Market

Protocol for a "secret" prediction market centered on the price movement of on-chain assets, with wagers concealed using a commitment scheme.

Events to be wagered on can be structured as: will the asset exceed benchmarkPrice at any point before eventDeadline?

Commitments are hashed with either a Yes or No choice and a blinding factor. Once the eventDeadline has passed, users can reveal their winning commitments in order to claim their winnings.

Winnings are calculated as a user's original wager, plus the losing pot multiplied by the proportion of the user's wager in the winning pot.