/nba-dapp

Application that allows you to create over/under wagers on NBA games that can be sent to anyone you want. Wagers are settled and created via smart contract using Ethereum.

Primary LanguageJavaScript

Originally built in 2017 source code is outdated

nba-dapp

Application that allows you to create over/under wagers on NBA games that can be sent to anyone you want. Wagers are settled and created via smart contract using Ethereum.

nba-dapp gif

/client
User-interface of application that allows you to create a wager with some ethereum on the over/under of the NBA games to be played that day.

Built using: React/Redux, antd design library

/contracts
Smart contract that handles the payout to the winner of the over/under bet.

/data/team-spread-data.js
Scraper that gets the current odds for NBA games pulled from https://www.foxsports.com/nba/odds

/models
Schemas for wagers using mongoose/mongodb

/routes
API routes for different crud actions for the app