Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kannusingh/truefantasysports
The app is for playing fantasy sports. The project aims to create a trustless fantasy sports platform where users don't have to submit their fantasy team to win contests.
https://github.com/kannusingh/truefantasysports
solidity web3 zero-knowledge
Last synced: about 8 hours ago
JSON representation
The app is for playing fantasy sports. The project aims to create a trustless fantasy sports platform where users don't have to submit their fantasy team to win contests.
- Host: GitHub
- URL: https://github.com/kannusingh/truefantasysports
- Owner: KannuSingh
- License: mit
- Created: 2022-08-10T04:40:08.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2022-11-06T14:19:02.000Z (over 2 years ago)
- Last Synced: 2024-12-18T23:41:39.338Z (about 2 months ago)
- Topics: solidity, web3, zero-knowledge
- Language: TypeScript
- Homepage:
- Size: 6.03 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
True Fantasy Sports
Trustless and decentralized fantasy sports platform using zero-knowledge proofs
The repository is divided into three components: [web app] [relay] and [contracts].
The app is for playing fantasy sports. The project aims to create a trustless fantasy sports platform where users don't have to submit their fantasy team to win contests.**Check out the POC and MVP** [here](https://www.truefantasysports.com)
## Fantasy Sports
Wikipedia
> A fantasy sport is a type of game where participants create virtual teams composed of proxies of real players of a professional sport. These teams compete based on the statistical performance of those players in actual games. This performance is converted into points compiled and totaled according to contest rules selected by each fantasy team's owner.## Problem with existing web2 platforms
* Users have to submit their team to the centralized platform to participate
* Platform is centralized and entirely controlled by the platform owners
* Lack of transparency concerning how other users join the contests
* End users must trust the platform to be fair and not cheat by creating the same team as theirs and putting it in the same contest.
* Limited and fixed game plays/rules offered by the existing platform
## Solution
* Create a Trustless and Decentralized fantasy sports platform using blockchain and a zero-knowledge proof system
* Enabling complete transparency of the system using a public blockchain
* Users don’t have to submit their team. The user keeps their team to themself so that no one can copy the user team and cheat.
* Using the zkSnarks circuits platform proves the score gathered by the user’s team.
* Let users pick from different game plays/rules to create contests. - NOT DONE
## Repository## 🛠 Install
Clone your repository:
```bash
git clone https://github.com//.git
```and install the dependencies:
```bash
cd && yarn
```## 📜 Usage
Copy the `.env.example` file as `.env`:
```bash
cp .env.example .env
```and add your environment variables.
### Start the app
Run the following commands sequentially in three separate tabs of the terminal:
```bash
yarn start:contracts
``````bash
yarn start:web-app
``````bash
yarn start:relay
```### Code quality and formatting
Run [ESLint](https://eslint.org/) to analyze the code and catch bugs:
```bash
yarn lint
```Run [Prettier](https://prettier.io/) to check formatting rules:
```bash
yarn prettier
```or to automatically format the code:
```bash
yarn prettier:write
```