FairPlayXI

FairPlayXI

A Privacy-Focused, Sybil-Resistant, Decentralized Fantasy Cricket Platform

The problem FairPlayXI solves

Privacy Concerns in Fantasy League Platforms

Dream11, a leading fantasy sports platform, has come under fire for multiple instances of leaked player team data before matches. These breaches have raised significant concerns regarding the platform's handling of user privacy.

Bots Spoiling The Fantasy League Platforms

Dream11 is embroiled in legal disputes due to the pervasive allowance of the use of bots by powerful bookies, which distort fair competition by artificially inflating betting pools. These automated entities erode the integrity of the platform.

Lack of Transparency in Scoring Systems

Dream11's lack of transparency with its scoring system breeds distrust among players, who question the accuracy and fairness of leaderboards.

FP11

Our innovative approach involves generating a Merkle Root of each user's meticulously crafted squad of 11 players, arranged in a specific order, before the commencement of the match.
The Merkle Root generated is then combined with the user's address and timestamp, forming a unique squad hash.
To ensure anonymity and resist Sybil attacks, this squad hash is encrypted using Anon Aadhaar Proof and securely transmitted to our contract for registration. Once registered, any attempt to modify the squad becomes evident, as any alteration would lead to a change in the squad hash. Additionally, the squad remains confidential as the hash assigned to each user is distinct, even if multiple users generate identical squads simultaneously.
Following the match's conclusion, before computing player points, our system employs a Zero-Knowledge (ZK) circuit crafted using the sophisticated Noir ZK DSL on Polygon's zkEVM Cardona Network to validate the squad's integrity.
This stringent verification process ensures fair play and upholds the integrity of our fantasy sports protocol.
The scoring process is facilitated by a Chainlink Any API Oracle, ensuring transparency and reliability, enabling users to send zk-proven query results onchain.

Challenges we ran into

Since this was the first time we were using ZK DSLs, or rather writing custom ZK circuits for our projects, we encountered numerous challenges while developing the circuits for the zero-knowledge proof using Noir language. Unfortunately, we found a lack of well-established forums specifically addressing Noir JS issues. Additionally, initially, we encountered difficulties deploying the zk verifier contracts onto the Polygon ZK EVM. Resolving these issues required extensive searching and participation in various online discussion forums before arriving at a solution, alongside suggestions and help from the onsite mentors.

Tracks Applied (7)

Privacy

The prime focus of our platform is the focus on Privacy. For a fantasy league platform, the team you create before a mat...Read More

Lumio - General

We've leveraged the XLumio Testnet to deploy the ZK Circuit Verifier Contract generated from the Noir ZK DSL. We impleme...Read More

Lumio

New Subgraph

The analysis done after a match's results are released - like releasing a leaderboard, allowing head-to-head comparisons...Read More

The Graph

Scaffold-ETH

A brief overview on our GitHub Repository would show how Scaffold Eth 2 made our work much easier with better quality. T...Read More

Ethereum Support Program

Avail-powered Rollup

We've leveraged the OP Avail Sepolia L2 Rollup Testnet to deploy the ZK Circuit Verifier Contract generated from the Noi...Read More

Avail Project

Polygon Cardona

We've leveraged the Polygon Cardona zkEVM to deploy the ZK Circuit Verifier Contract generated from the Noir ZK DSL. We ...Read More

Polygon

Polygon - Zero Knowledge

We've leveraged the Polygon Cardona zkEVM to deploy the ZK Circuit Verifier Contract generated from the Noir ZK DSL. We ...Read More

Polygon

Discussion