Skip to content
PromptHub

PromptHub

Prompt. Rank. Earn. Repeat

Created on 27th July 2025

PromptHub

PromptHub

Prompt. Rank. Earn. Repeat

The problem PromptHub solves

🚀 The Problem It Solves
In a world overflowing with AI-generated content, the real challenge isn’t answering questions — it’s asking the right ones.

⚡️ Enter PromptHub, a decentralized platform where:

🧠 Curiosity meets Community

🏆 Brilliant prompts get rewarded

📊 Knowledge is ranked, refined, and tokenized

PromptHub transforms passive AI usage into an active, gamified, and rewarding experience.

✨ Use Cases
🗣️ Creators can source viral post ideas through crowd-ranked prompts

🧑‍🏫 Educators can find high-quality learning queries for critical thinking

👨‍💻 Developers can discover coding questions that solve real problems

🎯 Communities can curate idea banks and unlock team creativity

🔐 Why It’s Better
✅ Decentralized & Transparent: All interactions are logged on-chain
✅ Merit-Based Rewards: Tokens go to the most upvoted prompts
✅ No More Junk Prompts: Community-powered curation filters out fluff
✅ Own Your Intelligence: Your ideas don’t just vanish into the void—they earn

🛠️ Built With
Vite
React
Solidity
MongoDB
Ganache
Framer Motion
Node.js

🧩 PromptHub is where AI meets Web3, and your next big idea earns you more than just likes.

Challenges we ran into

⚠️ Challenges We Faced
Building PromptHub was a thrilling ride — but not without its share of speed bumps:

🔗 Frontend + Backend + Blockchain Integration
One of our biggest challenges was bringing together three powerful yet independently developed modules — the frontend (React + Vite), the backend (Node.js + MongoDB), and the PoB Token smart contract (Solidity on Ganache). Ensuring smooth interaction across different tech stacks and asynchronous environments required careful coordination and refactoring.

🧠 State Management Across Domains
Since different members worked on different layers, syncing the user session data (login, wallet addresses, votes) across frontend, smart contracts, and the database was extremely tricky. We had to write multiple bridge utilities and use consistent schemas to enable seamless data flow.

🚧 Local Blockchain Conflicts
While developing on Ganache, we faced version mismatches and syncing delays between deployed smart contracts and frontend instances. The MetaMask-Ganache connection often lost sync during state changes, causing unexpected UI behavior.

🚀 Unified Deployment
Merging everything into a single deployable build proved complex. Vite needed its own build logic, the smart contracts needed compiling and migration, and the backend had to stay accessible to both. Coordinating these processes in a production-ready manner was one of our steepest learning curves.

🧪 Preview Errors & CI/CD Hiccups
Vite's preview sometimes showed a blank screen due to animation/state load mismatches. We had to debug async React rendering issues and optimize Framer Motion transitions to ensure the app loaded cleanly.

👥 Team Merge and Git Conflicts
As our team members worked on parallel modules, we occasionally ran into merge conflicts and version inconsistencies — especially with shared configs like .env, contract ABIs, and proxy URLs

Discussion

Builders also viewed

See more projects on Devfolio