
XPredict
Turn posts into actionable insights with PredictX! Create prediction markets directly from an X (Twitter) post, enabling real-time, cost-effective betting, opinion sharing, and crowd-sourced forecasting. Transform discussions into predictions and tap into the wisdom of the crowd!
Demo
About
Context & project inspiration - Info Finance: - Prediction Markets as news source: By aggregating diverse opinions, Prediction markets provide a powerful mechanism for extracting insights from collective intelligence. - Prediction Market to Info Finance: As Vitalik pointed in his recent blog (Nov 09, 2024): “prediction markets are only one example of a much larger incredibly powerful category...” [Info Finance] Vitalik defines this as a three-sided market: bettors make predictions readers read predictions the market outputs predictions about the future as a public good - Potential cheap and fast human judgement mechanism: Current human judgement mechanisms can be slow and costly. Vitalik and Robin Hanson propose setting up a predictiong market for such decisions to access a close approximate copy of that "costly mechanism" cheaply and in real time. Project Description: The project, PredicX, is based on InfoFinance as described above. With PredictX, anyone can create a prediction market directly from an X (formerly Twitter) post, enabling real-time, cost-effective betting on outcomes, sharing opinions, and leveraging the power of crowd-sourced forecasting. Some of the key benefits: - Instant Market Creation: Transform any X post into a live prediction market with just a few clicks, enabling dynamic discussions and actionable insights. - Cost-Effective and Real-Time: PredictX makes it easy to create and participate in markets without high costs or delays - Leverage Collective Intelligence: Tap into the wisdom of crowds to generate predictions and informed opinions, driving smarter decision-making aligned with InfoFinance principles. You can read more about why InfoFinance here: https://vitalik.eth.limo/general/2024/11/09/infofinance.html Loom video of the project: https://www.loom.com/share/1417b58b80da4ecb802494b3f7073903?sid=0f3c3255-07c8-43f2-a69e-991cb371191e
How it's made
For this project, we’re building a Chrome extension using React and Vite, integrating the following technologies: • Authentication/Login: Social login with Google powered by Web3Auth and wallet-based login via MetaMask (JSON-RPC API). • Smart Contracts: Developed in Solidity using Foundry for contract deployment. • Decentralized Attestation: Leveraging UMA’s oracle to verify and attest prediction outcomes. • Data Retrieval: Utilizing The Graph API and GraphQL to fetch on-chain events and display market information in real-time. • Backend and Database: Supabase for the database, with APIs built using Node.js and TypeScript.