SwagMe revolutionizes event lead collection by combining Web3 technology with streamlined UX to create a fast, secure, and verifiable lead collection system.
Event organizers and conferences face a fundamental challenge: inefficient lead collection in exchange for swag. The current process is slow and frustrating:
- ❌ Attendees must scan Google Forms at every booth
- ❌ Manual data entry leads to errors and delays
- ❌ No pre-populated data or verification of authenticity
- ❌ Long queues and poor user experience
- ❌ Difficulty in verifying genuine engagement (e.g., social media interaction)
Key Features
✅ World Chain Mini App: Pre-populated forms with MiniKit SDK integration
✅ Smart Contract Verification: Immutable lead storage on World Chain
✅ Social Media Proof: Twitter verification via Flare Data Connector
✅ Cross-Chain Sync: LayerZero V2 for seamless data flow
✅ Real-Time Dashboard: Event organizers can manage forms and view submissions
✅ QR Code Integration: Instant form access via QR scanning
📱 Components
1. World Chain - Core Infrastructure
- Smart Contract:
SwagForm.sol
deployed on World Chain Sepolia
- Address:
0xDD0a13b48dd11985Ca8d7562B9564232AB8719B8
- Functionality: Form creation, submission storage, proof requirements
- World MiniApp: QR code scanning and form completion with MiniKit SDK
2. Flare - Web2 Data Verification
- Smart Contract:
SwagFormProofManager.sol
on Flare Coston2
- FDC Integration: Verifies Twitter/X posts using Flare Data Connector
- Web2Json: Converts social media data to on-chain proofs
- API: FastAPI backend for web scraping and data validation
3. LayerZero - Cross-Chain Communication
- V2 Integration: Synchronizes verification status between chains
- Proof Bridging: Transfers verified social media proofs from Flare to World Chain
- Real-Time Updates: Ensures consistent state across all chains
4. Dashboard - Management Interface
- React Frontend: Form creation and management dashboard
- TypeScript: Type-safe development with Web3 integration
- UI/UX: Modern interface built with shadcn/ui components
🛠️ Technology Stack
Blockchain & Smart Contracts
- World Chain: Primary deployment for forms and submissions
- Flare Network: FDC integration for Web2 data verification
- LayerZero V2: Cross-chain message passing
- Solidity: Smart contract development
Frontend & Backend
- React: Dashboard application
- TypeScript: Type-safe development
- FastAPI: Web scraping and API backend
- MiniKit SDK: World app integration
Development Tools
- Hardhat: Smart contract development and testing
- Foundry: Advanced smart contract tooling
- Bun: Fast JavaScript runtime and package manager
🔄 Data Flow
- Form Creation: Event organizers create forms via dashboard
- QR Generation: Unique QR codes generated for each form
- User Interaction: Attendees scan QR codes with World app
- Form Completion: Pre-populated data from World ID
- Social Proof: Optional Twitter verification via Flare FDC
- Cross-Chain Sync: LayerZero bridges verification status
- Submission Storage: Final submission stored on World Chain