Skip to content

Reimagining Groupon with tradable NFT coupons on Solana | Secondary market for local deals | Coupons as liquid assets

License

Notifications You must be signed in to change notification settings

RECTOR-LABS/web3-deal-discovery-nft-coupons

Repository files navigation

🎟️ Web3 Deal Discovery

Reimagining Groupon with tradable NFT coupons on Solana

πŸ† 1ST PLACE WINNER - MonkeDAO Cypherpunk Track

$5,000 USDC + Gen3 Monke NFT (12-month locked)

1st Place Stars Solana TypeScript

πŸ₯‡ Superteam Earn Winner | 🌏 Built in Indonesia | πŸ•Œ Built with Ihsan

πŸ“¦ Demo β€’ πŸ“– Docs β€’ πŸ›οΈ RECTOR LABS


🎯 The Problem

Traditional coupon platforms waste value.

Groupon pioneered local dealsβ€”but the model is broken:

  • πŸ—“οΈ Expiration Waste - Unused coupons lose 100% value after expiry
  • πŸ”’ Non-Transferable - Can't sell/gift coupons you won't use
  • πŸ“‰ Fixed Pricing - No market dynamics, merchants can't adjust
  • πŸ’Έ Lost Money - Consumers can't recoup value from unused deals
  • πŸͺ Inflexible - Merchants locked into rigid discount campaigns

Result: $billions in unrealized value, frustrated users, limited merchant control.


✨ The Solution: Tradable NFT Coupons

Turn coupons into liquid assets.

Web3 Deal Discovery transforms local deals into Solana NFTs with:

  • 🎟️ NFT Coupons - Every deal is a unique, ownable NFT
  • πŸ’° Secondary Market - Trade coupons on-chain, recover value
  • πŸ”„ Dynamic Pricing - Coupon value adjusts based on demand
  • πŸͺ Merchant Control - Real-time campaign management dashboard
  • ⛓️ On-Chain Verification - Tamper-proof redemption tracking
  • 🌍 Global Liquidity - Anyone can buy/sell local deals

Tagline: "Your unused coupon is someone else's bargain."


πŸ› οΈ Tech Stack

Blockchain:

  • Solana (mainnet-beta)
  • SPL Token Program
  • Metaplex Token Metadata
  • Metaplex Auction House

Smart Contracts:

  • Rust + Anchor 0.29+
  • NFT minting contracts
  • Marketplace contracts
  • Redemption verification

Frontend:

  • TypeScript + React
  • Next.js 14
  • TailwindCSS
  • Solana Wallet Adapter
  • Phantom/Solflare integration

Backend:

  • Node.js + Express
  • PostgreSQL (merchant data)
  • Redis (caching)
  • Real-time WebSocket updates

Services:

  • Vercel (frontend)
  • AWS S3 (NFT metadata)
  • Dedicated Solana RPC

πŸš€ Quick Start

Prerequisites

- Node.js 18+ or Bun
- Solana CLI 1.18+
- Anchor 0.29+
- Phantom wallet

Installation

# Clone
git clone https://github.com/RECTOR-LABS/web3-deal-discovery-nft-coupons.git
cd web3-deal-discovery-nft-coupons

# Install
npm install

# Environment
cp .env.example .env
# Add your Solana RPC URL

# Build contracts
cd programs/deals
anchor build
anchor deploy --provider.cluster devnet

# Run frontend
cd ../../app
npm run dev

πŸ“– How It Works

For Consumers

  1. Browse Deals β†’ Local restaurants, services, activities
  2. Mint Coupon NFT β†’ Pay discounted price, receive NFT
  3. Use or Trade β†’ Redeem at merchant OR list on marketplace
  4. Recover Value β†’ Sell unused coupons to others

For Merchants

  1. Create Campaign β†’ Set discount, supply, expiration
  2. Mint Coupons β†’ Platform creates NFT collection
  3. Dashboard β†’ Monitor sales, redemptions, analytics
  4. Flexible Control β†’ Adjust pricing, extend expiry

Technical Flow

Merchant Creates Deal β†’ Smart Contract Mints NFTs β†’ User Purchases NFT
                                ↓
                    Listed on Marketplace (optional)
                                ↓
                    User Redeems at Merchant β†’ NFT Burned

🎨 Key Features

NFT Marketplace

  • πŸ’° Buy/Sell Coupons - Secondary market with liquidity
  • πŸ“Š Price Discovery - Market-driven coupon values
  • πŸ” Filter & Search - Location, category, expiry date
  • ⭐ Ratings - Merchant reviews and trust scores

Merchant Dashboard

  • πŸ“ˆ Real-time Analytics - Sales, redemptions, revenue
  • 🎯 Campaign Management - Create, edit, pause deals
  • πŸ’³ Instant Settlement - Funds in USDC/SOL
  • πŸ› οΈ Flexible Pricing - Dynamic discount adjustments

Consumer Experience

  • 🎟️ NFT Wallet - All coupons in one place
  • πŸ”” Expiry Alerts - Notifications before expiration
  • πŸ—ΊοΈ Location-Based - Discover deals nearby
  • πŸ’Ž Portfolio View - Track coupon value over time

Technical Excellence

  • ⚑ Fast Transactions - Sub-second Solana speed
  • πŸ” Secure Redemption - On-chain verification prevents fraud
  • πŸ“± Mobile-First - Responsive design, PWA support
  • 🌐 Low Fees - ~$0.00025 per transaction

πŸ† Hackathon Result: 1ST PLACE WINNER

Competition: MonkeDAO Cypherpunk Track (Superteam Earn) Result: πŸ₯‡ 1ST PLACE - $5,000 USDC + Gen3 Monke NFT

Rank Builder USDC NFT Prize
πŸ₯‡ 1st RECTOR SOL $5,000 Gen3 Monke (12-mo locked)
πŸ₯ˆ 2nd Andrea Chello $1,000 Gen3 Monke (12-mo locked)
πŸ₯‰ 3rd Aneesha Rama $500 Gen3 Monke (12-mo locked)

Why We Won

What made us stand out:

  1. Web3 Invisible UX - No crypto jargon, seamless wallet integration
  2. Escrow-Based Resale - Industry-first for NFT coupons
  3. Professional Demo Videos - 5 comprehensive video walkthroughs
  4. Production-Ready Code - 13 epics, 95 tasks, 34 tests
  5. Complete Feature Set - Everything from minting to redemption to resale

Real-world use case: Bought a restaurant coupon but can't make it? List it at 80% discountβ€”someone else gets a deal, you recover value. Everyone wins.


🌟 Highlights

Unique Innovations:

  • 🎟️ First tradable coupon NFTs on Solana
  • πŸ’° Secondary market creates price discovery
  • πŸ”„ Dynamic pricing based on demand
  • πŸͺ Merchant-controlled campaigns
  • ⛓️ On-chain redemption verification

Technical Achievements:

  • NFT metadata with expiry logic
  • Marketplace integration (Metaplex Auction House)
  • Real-time redemption system
  • Merchant dashboard with analytics

Lessons Learned:

  • NFT utility > NFT art (coupons are perfect utility)
  • Secondary markets need liquidity bootstrapping
  • Merchant onboarding is harder than tech
  • Mobile-first design critical for local deals

πŸ—ΊοΈ Roadmap

Phase 1: Hackathon MVP βœ…

  • NFT minting contracts
  • Basic marketplace
  • Merchant dashboard
  • Consumer frontend

Phase 2: Beta Launch 🚧 (Q1 2026)

  • Partner with 10 local merchants (Indonesia)
  • Mobile app (iOS + Android)
  • Advanced marketplace features
  • Marketing campaign

Phase 3: Scale πŸ“‹ (Q2-Q3 2026)

  • 100+ merchants across Jakarta
  • Integrate with major wallets
  • Loyalty rewards program
  • Expand to other cities

Phase 4: Platform πŸ“‹ (Q4 2026)

  • White-label solution for other platforms
  • API for third-party integrations
  • Cross-chain support (Polygon, Base)

🀝 Contributing

Contributions welcome! We're building for real-world adoption.

Priority areas:

  • πŸͺ Merchant onboarding UX
  • πŸ“± Mobile app development
  • 🌐 Localization (Indonesian + English)
  • πŸ“ˆ Analytics dashboard improvements

πŸ“„ License

MIT License


πŸ”— Links


πŸ† 1ST PLACE WINNER - MonkeDAO Cypherpunk Track

Built with Bismillah πŸ•Œ

"Waste not, for Allah loves not the wasteful." - Quran 7:31

Alhamdulillah - From Bismillah to victory.


πŸ›οΈ RECTOR LABS | Building for Eternity | 2025

1st Place Solana NFT

About

Reimagining Groupon with tradable NFT coupons on Solana | Secondary market for local deals | Coupons as liquid assets

Topics

Resources

License

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published

Contributors 2

  •  
  •