hackquest logo

Campus p2p Marketplace

Campus P2P Marketplace lets students safely buy and sell textbooks and gadgets with Solana Pay microtransactions, with AI ensuring fair pricing for fast, secure campus trade.

视频

描述

MVP: Campus P2P Marketplace with Solana Pay

A simple peer-to-peer marketplace where students buy and sell textbooks or gadgets using Solana Pay microtransactions.

Core MVP Feature

1. User Login → Students connect a Solana wallet (e.g., Phantom).

2. Listing Items → A seller can add item name, price in USDC/SOL, category and description.

3. Browse/Buy → Buyers see listed items and click “Buy” → triggers Solana Pay checkout.

4. Payment Flow → Buyer pays → seller is notified → transaction recorded.

5. Basic Dashboard → Show “My Listings” and “My Purchases.”

Additional feature: Image upload for listings, simple chat between buyer/seller.

Tech Stack

Frontend: React + Tailwind (fast prototyping).

Payments: Solana Pay SDK (handles QR/code checkout).

Wallet Integration: Solana Wallet Adapter (Phantom/Solana Mobile Wallet).

AI Add-on (small but visible): AI-powered “Price Suggestion” → Suggests fair price for listings.

Pitch Deck Link

https://drive.google.com/file/d/1aTnVWjBCabNBxTCvC_snScz9UKuIjk38/view?usp=drivesdk

Deployed Link

https://campus-p2p-marketplace.vercel.app/

本次黑客松进展

2-Week Plan Week 1 → Core Marketplace Day 1–2: Set up React frontend + Solana wallet connection (Phantom integration). Basic UI for login and navigation. Day 3–4: Create item listing form (title, description, price). Day 5–6: Build item feed → display all active listings. Add "Buy Now" button → trigger Solana Pay payment link. Day 7: Test end-to-end flow: create item → purchase → confirm payment. Week 2 → AI Add-on + Polish Day 8–9: AI module: When adding item, AI suggests a price based on description (using OpenAI or simple rule-based logic). Store seller/buyer transaction history. Day 10–11: Add “My Listings” + “My Purchases” dashboard. Notifications (simple: “You sold X item for Y USDC”). Day 12–13: Polish UI/UX (cards for items, QR for payments, responsive layout). Add a few dummy student accounts for demo. Day 14 (Final Day): Record a short demo video showing: 1. Student lists a textbook. 2. Another student buys it via Solana Pay. 3. Payment confirmed + transaction visible.

技术栈

React
Next
Web3
Solana Pay SDK
Solana Wallet Adapter
队长
NNursca Ajah
赛道
OtherAI