Skip to content

prediction market using commitment scheme to conceal wagers

Notifications You must be signed in to change notification settings

stephankmin/secret-prediction-market

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

prediction market using commitment scheme to conceal wagers

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published