Brazilian Storm Sportingbet

Brazilian Storm Sportingbet is a platform that allows users to bet on brazilian soccer matches using zk to hide users balance and bets values.

The project is currently on Harmony Devnet

Brazilian Storm Sportingbet has 3 bet options so far: Winner where a user bets on who will win the match, Score where a user bets on the match score and Goal where the user bets on how many goals one specific team will score.

Table of Contents

Project Structure

The project has three main folders:

  • api
  • contracts
  • ui

api

The api folder contains the api responsible to fullfill data to the smart contract.

contracts

The contracts folder contains all the smart contracts and circuits used in Brazilian Storm Sportingbet.

ui

The ui folder contains Brazilian Storm Sportingbet's ui.

Run Locally

Clone the Repository

git clone https://github.com/joaopedrocyrino/brazilian-storm-sportingbet.git

Run api

To run api:

cd api
yarn dev

Run contracts

To run contracts:

cd contracts
yarn local

Run ui

To run ui:

cd ui
yarn dev