Skip to content

aeemayo/Polyfetch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Polyfetch - Polymarket Analysis App

A real-time Polymarket analysis application that identifies outcomes with high percentages of users betting on them.

Features

  • 📊 Real-time Market Analysis: Fetch active markets from Polymarket's Gamma API
  • 👥 User Distribution Stats: See how many unique users are betting on each outcome
  • 🔍 Search Markets: Filter markets by keywords
  • 📈 Popularity Tracking: Identify the most popular betting outcomes
  • 🎨 Premium Dark UI: Modern, responsive design with smooth animations

Tech Stack

  • Backend: Go with gorilla/mux router
  • Frontend: React + Vite with Material-UI
  • APIs:
    • Polymarket Gamma API (market data)
    • The Graph Subgraph (position/betting data)

Getting Started

Prerequisites

  • Go 1.21+
  • Node.js 18+
  • npm

Running the Backend

# From the Polyfetch directory
go run .
# Or build and run
go build -o polyfetch.exe .
./polyfetch.exe

The backend will start on http://localhost:8080

Running the Frontend

cd frontend
npm install
npm run dev

The frontend will start on http://localhost:5173

Example Response

Notes

  • The subgraph queries may fall back to price-based statistics if position data is unavailable
  • Market prices represent probabilities (0-1)
  • High-volume markets may require pagination (currently limited to 10,000 positions)

License

MIT

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published