← Back to home

Yap2Win

Telegram bot leveraging ROFL to store keys, judge, and distribute rewards

Problem Statement

Yap2Win: First AI-Powered Blockchain Telegram Bot What It Is Yap2Win is the first AI-powered Telegram engagement platform that uses blockchain technology to fairly reward quality community contributions. It combines GPT-4 content evaluation, Oasis ROFL security, and smart contract automation to create trustless community rewards. Core Technology Stack 🤖 AI Content Scoring (DeepEval + GPT-4)Real-time evaluation: Every message scored 0-10 by AI Quality-first: Only meaningful content earns points ("gm", "ok" get 0 points) Spam prevention: AI naturally filters low-effort contributions On-chain storage: All scores permanently recorded on blockchain🔐 Oasis ROFL (TEE) SecurityHardware-secured keys: Private keys stored in secure enclave No rug pulls: Zero possibility of fund manipulation Cryptographic attestation: All operations verified on-chain Trustless execution: No single entity controls the system⛓️ Oasis Sapphire BlockchainSmart contract pools: Automated reward distribution Privacy-preserving: Confidential computation with public verification EVM compatible: Works with existing Ethereum wallets Cross-chain support: Multi-blockchain reward distribution🆔 Identity VerificationSelf.xyz integration: Age/country verification NFT holder verification: On-chain ownership proofs Cross-chain identities: Support for multiple blockchainsHow It WorksSetup: Admin initializes bot and creates reward events Participation: Users join, verify identity, provide wallet addresses AI Evaluation: GPT-4 scores every message in real-time Blockchain Recording: Scores stored immutably on-chain Automated Payouts: Smart contracts distribute rewards to winnersEvent Types Pool EventsEqual distribution among all qualifying participants Community building focused Example: 100 ROSE split among 50 participants = 2 ROSE eachRank EventsCompetitive leaderboards with tiered rewards Merit-based distribution Example: 1st place 50 ROSE, 2nd place 30 ROSE, 3rd place 20 ROSEKey Innovation: Blockchain-First Architecture Smart Contract SecurityImmutable pools: Funds held by unmodifiable smart contracts Automated distribution: No human intervention in payouts Transparent history: All rewards publicly auditable Multi-sig protection: Enhanced security for large treasuriesROFL IntegrationHardware attestation: All transactions cryptographically verified Secure key management: Private keys never leave secure enclave Trustless operations: No centralized authority can manipulate systemCross-Chain CapabilitiesMulti-blockchain support: Ethereum, Polygon, BSC, and more Unified identity: Single identity across all supported chains DeFi integration: Compatible with existing DeFi protocolsWhy It Matters For CommunitiesFair rewards: AI ensures quality contributions are recognized No gaming: Impossible to manipulate through spam or bot activity Transparent: All decisions and payouts publicly verifiable Trustless: No reliance on centralized authoritiesFor the Blockchain EcosystemFirst-mover advantage: Pioneer in AI-powered blockchain social engagement Telegram integration: Brings blockchain to 700+ million Telegram users Quality metrics: Creates new standard for measuring community value Institutional security: Military-grade security for community managementTechnical Specifications PerformanceSub-second AI evaluation of messages Unlimited concurrent groups support ~5 second blockchain confirmation times 99.9% uptime targetSecurityHardware-level protection via ROFL Immutable smart contracts for fund management Cryptographic verification of all operations Public auditability of complete historyCommands User Commands/verify - Complete identity verification /status - View personal points and rankings /leaderboard - Check current event standings /help - Get bot information and statusAdmin Commands/init - Start bot in current group /set - Configure reward events /new_bot - Create new ROFL walletMarket Position Yap2Win is the first platform to bring institutional-grade blockchain security to Telegram community management. It creates an entirely new category: trustless, AI-powered social engagement with hardware-secured key management and immutable on-chain verification.

Solution

Yap2Win: Technical Architecture & Innovation Summary 🏗️ Core Technology Stack Oasis Protocol IntegrationSapphire Paratime: Privacy-preserving smart contract execution for sensitive user data ROFL Attestation: Secure wallet operations with cryptographic guarantees Privacy-First: Confidential computation while maintaining public verifiabilityDeepEval Framework (AI Engine)LLM-as-a-Judge: GPT-4 evaluates content quality with human-like judgment Structured Evaluation: Custom prompts ensure consistent 0-10 scoring Fallback Mechanisms: Dual scoring system (AI + rule-based) for 99.9% reliabilityTelegram Bot APIReal-time Messaging: Webhook/polling for instant message processing Rich Media Support: Enhanced notifications and leaderboard displays Group Management: Multi-group support with isolated event management🚀 Notable Technical AchievementsZero-Point Innovation Revolutionary Content Quality ControlFirst-of-its-kind: AI automatically assigns 0 points to spam content Quality-First Philosophy: Only meaningful contributions earn rewards Spam Elimination: Natural filtering without manual moderationROFL Security Implementation Cutting-Edge Attested ExecutionEnterprise-Grade Security: Hardware-level protection for DeFi operations Cryptographic Guarantees: Every blockchain operation cryptographically verified Zero Trust Model: No entity can manipulate the system, including developersReal-Time Processing Architecture Sub-Second PerformanceInstant AI Evaluation: Messages scored in under 1 second Concurrent Group Management: Unlimited simultaneous groups with isolated events Live Leaderboards: Real-time ranking updates during active eventsMulti-Modal Verification System Comprehensive Identity VerificationSelf.xyz Integration: Age and country verification for compliance NFT Holder Verification: On-chain proof of exclusive community membership Flexible Rules: Customizable verification requirements per group

Hackathon

ETHGlobal Cannes

2025

Contributors