ananya-bangera / Scaling-Ethereum-2024

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ZKnockXI Logo
ZKnockXI

ZKnockXI - A Privacy-Focused, Sybil-Resistant, Decentralized Fantasy Cricket Platform.🏏

Table of Contents

📝Description

ZKnockXI is a decentralized application that enables users to create and bet on fantasy sports teams in a secure, transparent, and trustless manner, leveraging the power of blockchain technology, decentralized storage solutions, and oracle services.

Limitations of existing fantasy cricket platforms like Dream11:
  • Dream11 has faced multiple instances of leaked player team data before matches, raising significant concerns about user privacy and the need for stronger data protection measures within the fantasy sports realm.
  • Dream11 is embroiled in legal disputes due to the pervasive use of bots, which distort fair competition by artificially inflating betting pools. These automated entities erode the platform's integrity, necessitating urgent measures to uphold equitable gaming standards for all participants.
  • Dream11's lack of transparency with its scoring system breeds distrust among players, who question the accuracy of leaderboards. Ensuring fairness and clarity is vital for the trust and satisfaction of fantasy sports enthusiasts.
ZKnock's Approach to solve these problems:
  1. ZKnockXI leverages decentralized technologies like Filecoin, Witness Protocol, Sign Protocol, and Chainlink, eliminating the need for a centralized authority or intermediary. This ensures transparency, fairness, and trustlessness, as the entire process is executed on decentralized networks without relying on a single entity.
  2. User data, such as team compositions and timestamps, are securely stored on the decentralized Filecoin network, encrypted with digital signatures to ensure integrity and authenticity. The DApp generates a "squad hash" using Merkle hashes, timestamps, and user addresses, ensuring the immutability of submitted teams. The Witness Protocol and Sign Protocol are used to create and verify prrofs and attestations respectively, providing proof of squad submissions and preventing tampering.
  3. The integration of witness and sign attestations prevents Sybil attacks, ensuring that only legitimate users can participate in the betting process.This Two-factor Authorization (2FA) system further enhances security and user legitimacy.
  4. ZKnockXI utilizes Chainlink's decentralized oracle network via Chainlink Functions to calculate individual player scores and total team scores, ensuring reliability and trustworthiness. This eliminates the need for a centralized entity to calculate and report scores, reducing the potential for manipulation or errors.
  5. After verifying the legitimacy of user squads through the Witness Protocol and Sign Protocol, the DApp can accurately distribute rewards to the winners based on the decentralized score calculations from Chainlink. The transparent and tamper-proof nature of the betting process ensures fairness for all participants.
  6. By leveraging decentralized technologies, users have greater control over their data and can participate in the betting process without revealing unnecessary personal information to a centralized authority.

Through this seamless combination of cutting-edge technologies, our protocol delivers a secure, fair, and transparent fantasy sports experience, setting a new standard for the industry.

Select A Match

🔗Links

Assets

Deployed Protocol Contract

Oracle Server

Sign Protocol Attestations and Schema

🤖Tech-Stack

  • NextJS + Hardhat from Scaffold-Eth-2 Template for Project Setup
  • Solidity for Smart Contracts
  • Chainlink Functions for Oracle Score Calculation Integration with Smart Contract

🛠Project Setup

To get ZKnockXI run locally, follow the steps below:

  1. Clone this repo & install dependencies
git clone https://github.com/ananya-bangera/Scaling-Ethereum-2024.git
cd .\ZKnockXI\
yarn
  1. Start your NextJS app:
yarn start

👩‍💻Contributors

Team Members

About


Languages

Language:TypeScript 96.0%Language:JavaScript 1.5%Language:CSS 1.4%Language:Solidity 1.1%Language:Shell 0.0%