
Fairplay
The problem Fairplay solves: The current prediction market landscape often involves financial risks, as participants lose their stake if their prediction is incorrect. This creates a barrier for new users and discourages broader participation. By introducing a no-loss prediction market, this project eliminates the risk of losing funds while maintaining the thrill of making predictions. It uses zero-knowledge proofs (risc0) to verify the outcomes, ensuring fairness and transparency. The generated proof is then published onchain with zkVerify. This approach also applies to on-chain gaming scenarios, where participants can predict in-game events (e.g., the first player to roll a 6 in a Ludo game). The verified attestation on Sepolia is what is then used to distribute wins to winners and losers get back their stake.
PROJECT LINKS
https://github.com/jelilat/ludo-zk/tree/first-6-roll
https://github.com/jelilat/zkverify-ludo
https://github.com/jelilat/onchain-ludo
https://devfolio.co/projects/fairplay-c514
TECHNOLOGIES USED
•
zkVerify
•
Solidity
•
Rust
•
Typescript
•
Ethers
•
Risc0
BUILT AT
zkVerify Online Hackathon