GithubHelp home page GithubHelp logo

sidak08 / predicturf-hawkhacks2024 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from aftwasiq/hawkhacks24

0.0 0.0 0.0 3.7 MB

A decentralized prediction market on the NEAR blockchain with ML-based Forecasting where users can bet on the outcomes of various future events.

JavaScript 83.02% Python 2.89% CSS 11.29% HTML 2.80%

predicturf-hawkhacks2024's Introduction

PredicTurf - HawkHacks 2024 Submission

Typing SVG

PredicTurf is an innovative decentralized prediction market built on the NEAR blockchain, leveraging machine learning (ML) to provide accurate forecasting and analytics. Our platform allows users to bet on the outcomes of various future events, including sports, elections, stocks, and more, creating a diverse and dynamic betting ecosystem. This project was created for the 2024 HawkHacks hackathon competition by Abdullah Wasiq, Nour El Mohktari, Krish Nalam, and Sidak Singh.

Key Features

Decentralized Prediction Market, PredicTurf ensures safe, transparent, and decentralized transactions by running its operations on the NEAR blockchain. Bets are made using the NEAR blockchain wallet, facilitating secure and efficient transactions. Users can manage their funds and bets directly through the blockchain, benefiting from NEAR’s low transaction fees and high-speed processing.

ML-Based Forecasting, A machine learning model built with Python using the scikit library forms the basis of PredicTurfs probability analysis. Currently the demo dataset includes the FIFA World Cup results for sports category betting. This includes team victories, defeats, and goals, that are the primary focus of this model's initial training on historical datasets. The training provides the ability to further predict probabilities of each teams victory during live matches.

Seamless Frontend Integration, The backend Flask application and our user-friendly JavaScript (React) frontend work together flawlessly. Users can easily place and follow their bets thanks to this integration, which guarantees real-time updates and seamless user experiences.

Deploy Locally

Clone or download the repository. Install the required packages npm install. Same goes for the Machine learning model in Python.

  • npm run dev
  • Navigate to /backend & node server.js
  • Navigate to /ML & python model.py
  • Since our website needs direct interaction with the Near Wallet, it needs to be deployed publicly. The solution to this is to port forward, in our case, using Ngrok: ngrok http 5173 where port 5173 is Vite's default port.
  • Make a Near Wallet account
  • Sign up
  • Login & Enjoy! (Make sure to login with your NEAR wallet or connect it aftewards in order to bet)

predicturf-hawkhacks2024's People

Contributors

aftwasiq avatar x86senniral avatar sidak08 avatar koolkrish18 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.