hackquest logo

VeriCred

VeriCred+ leverages MetaMask Delegation, Monad blockchain, and Envio indexer to create AI-powered, fraud-resistant credential management with seamless Web3 UX.

Videos

Description

VeriCred+ ๐ŸŽ“

Delegated, Tamper-Proof Credential Management with AI Oversight


The Problem

Credential fraud is a $16 billion annual crisis:

  • 60% of employers encounter fake credentials

  • Traditional verification takes weeks and costs $50-200 per check

  • Web3 complexity prevents mainstream adoption

  • No standardized infrastructure for verifiable credentials


    Our Solution

    VeriCred+ combines AI-powered fraud detection, MetaMask Smart Account Delegation, and Monad blockchain to create instant, trustless credential verification. By leveraging Envio's real-time indexing, we transform credential management into a seamless, consumer-friendly experience.


ARCHITECTURE

How It Works

Set Up Delegation

Credential Issuance Flow

  1. Issuer enters credential details - Recipient address, credential type, and metadata

  2. AI Agent analyzes fraud risk - Queries Envio for recipient's on-chain history

  3. GPT-4o generates risk score - Low/Medium/High risk assessment with recommendations

  4. Delegation signature - Issuer grants permission to backend wallet (one-time setup)

  5. Backend wallet mints credential - Executes transaction on Monad with ISSUER_ROLE

  6. Real-time dashboard update - Envio indexes event and updates all dashboards

Key Innovation: Issuers never pay gas fees and never sign minting transactions - the backend wallet executes on their behalf using MetaMask Delegation.


Credential Verification

Instant verification in 3 steps:

  1. Enter credential token ID

  2. Query MongoDB + Envio for dual verification

  3. See complete credential details with expandable history

Results: Sub-second verification with full audit trail of who verified when.


Holder Experience

Holders can:

  • View all their credentials in one dashboard

  • Share credentials on Farcaster with verifiable frames

  • Access IPFS metadata and blockchain transaction links

  • See credential status (Active/Revoked) in real-time


    Blockchain Integration

    Monad Testnet Transactions

    All credentials are minted as Soulbound NFTs on Monad Testnet:

    • Chain ID: 10143

    • Performance: 10,000 TPS, 400ms blocks, 800ms finality

    • Transaction Type: Legacy (EVM-compatible)

    • Gas Model: Backend wallet pays, issuer doesn't


      IPFS Metadata Storage

      Every credential's metadata is stored on IPFS for permanent, decentralized access:

      • Credential type and details

      • Issuance and expiration dates

      • Issuer and recipient information

      • Cryptographic proof of authenticity

        Envio Integration

        Real-Time Event Indexing

        Envio HyperIndex powers VeriCred+ with GraphQL queries for:

        • AI fraud analysis (queries recipient on-chain history)

        • Dashboard statistics (real-time credential counts)

        • Verification lookups (instant credential status)

        • Farcaster Frames (social media verification)


          Running Locally

          Envio indexer successfully running locally for development and demo. Configured to index CredentialMinted, CredentialRevoked, and Transfer events from VeriCred SBT contract on Monad Testnet.


          Deployed Links:



          FRONTEND: https://vericred.vercel.app/
          VERICRED_SBT_ADDRESS: 0x875b5b800d86314905C2850520F9ab07b46c0B4c

          CREDENTIAL_REGISTERY_ADDRESS: 0xBc0E4fAdcfD447D084C2EC66D5265d7F714eDdCE.


          Track Qualifications

          ๐Ÿค– Track 1: Best AI Agent

          How we qualify:

          โœ… AI agent leverages delegations - Our fraud detection AI works with MetaMask delegation to automate credential issuance

          โœ… Acts on behalf of users on Monad - Backend wallet executes minting transactions using delegated permissions

          โœ… Deployed on Monad testnet - All contracts and transactions on Chain ID 10143

          โœ… MetaMask Smart Accounts integration shown - Full delegation flow in demo

          โœ… Envio usage demonstrated - AI queries Envio for on-chain history analysis

          The Innovation:

          Our AI Fraud Analysis Agent:

          1. Queries Envio for recipient's complete on-chain history

          2. Analyzes with GPT-4o to detect suspicious patterns

          3. Generates risk scores (0-100) with actionable recommendations

          4. Triggers delegation only after AI approval

          5. Autonomous execution - Backend wallet mints without manual intervention

          Why we win: Real-world fraud prevention combined with seamless automation. The AI doesn't just analyzeโ€”it actively prevents fraudulent credential issuance while using delegation to execute on behalf of issuers.


          โš™๏ธ Track 2: Best On-Chain Automation

          How we qualify:

          โœ… Ultimate chain automation - Fully automated credential issuance pipeline

          โœ… Uses MetaMask Smart Accounts & Delegation - Backend wallet with ISSUER_ROLE executes on behalf of issuers

          โœ… Deployed on Monad testnet - All automation runs on Monad

          โœ… MetaMask integration in demo - Delegation signature flow shown

          โœ… Envio usage shown - Real-time event indexing powers dashboards

          Three Levels of Automation:

          1. Delegated Issuance - Backend wallet automatically mints credentials after AI approval

          2. Verification Logging - Every verification is automatically recorded for audit trails

          3. Event-Driven Updates - Envio captures blockchain events and updates dashboards in real-time

          Why we win: Zero manual intervention from fraud analysis to minting to indexing. Issuers set up delegation once and credentials are issued automatically with AI oversight. This represents the ultimate automation experience on Monad.


          ๐Ÿ‘ฅ Track 3: Best Consumer Application

          How we qualify:

          โœ… Focus on usability, design, mass adoption - Web2-like UX for Web3 credentials

          โœ… Uses MetaMask Smart Accounts - Seamless wallet authentication with signature caching

          โœ… Deployed on Monad testnet - Live production-quality application

          โœ… MetaMask integration in demo - Full user journey shown

          โœ… Envio usage shown - Powers fast, responsive dashboards

          Consumer-First Features:

          • Zero-friction onboarding - No seed phrases, 30-min signature caching prevents popup fatigue

          • Intuitive interfaces - Clean dashboards for issuers, holders, and verifiers

          • Social integration - Farcaster Frames for viral credential sharing

          • Anonymous verification - Verifiers don't need wallets to validate credentials

          • Mobile-responsive - Works on all devices with smooth animations

          Why we win: Built for non-technical users solving real-world problems. A graduate's grandmother could verify their degree in seconds. This is Web3 that feels like Web2.


          ๐Ÿ† Bounty Qualifications

          Most Innovative Use of Delegations ($500)

          Our Delegation Model:

          Traditional Approach: Issuer โ†’ Signs every transaction โ†’ Pays gas โ†’ Slow UX

          VeriCred+ Approach: Issuer โ†’ Creates delegation โ†’ Backend executes โ†’ Zero gas

          Innovation:

          • Hybrid delegation - Off-chain tracking (MongoDB) + on-chain execution (Monad)

          • Usage metering - Tracks delegation calls to prevent abuse

          • Automatic expiration - Time-bounded permissions with auto-revocation

          • Gas abstraction - Issuers never see transaction complexity

          • Multi-issuer support - Thousands of issuers share one backend wallet

          Impact: Enterprise-scale credential issuance without gas budget management. Universities can issue thousands of diplomas without ever buying MON tokens.


          Best Farcaster Mini App ($500)

          The "VeriCred Verify Frame"

          Instant, trustless credential verification within Farcaster:

          1. Graduate shares credential - "Share on Farcaster" button creates verifiable frame

          2. Employer sees in feed - Credential post with "Verify" button

          3. One-click verification - Frame queries Envio and displays result instantly

          4. No wallet needed - Verification happens without leaving Farcaster

          Why we win:

          • Zero-friction verification in social media

          • Viral growth loop - every share is an ad + verification tool

          • Envio-powered speed - sub-second GraphQL queries

          • Replaces weeks of background checks with one click


          Best Use of Envio ($2,000)

          How VeriCred+ Uses Envio:

          1. AI Fraud Analysis - Queries recipient's on-chain history for risk assessment

          2. Real-Time Dashboards - Powers issuer, holder, and verifier statistics

          3. Instant Verification - Sub-second credential lookups via GraphQL

          4. Farcaster Frames - Enables social media verification without wallets

          5. Dual Architecture - MongoDB (fast writes) + Envio (trustless verification)

          Evidence:

          • โœ… Working HyperIndex with event handlers

          • โœ… GraphQL queries powering all major features

          • โœ… Demo shows Envio running locally with live queries

          • โœ… Complete documentation and configuration

          Why we win: Envio is not an add-onโ€”it's core infrastructure powering AI analysis, real-time dashboards, instant verification, and social features.


          Envio Bonus ($3,000)

          VeriCred+ qualifies for all three track bonuses ($1,000 each):

          โœ… Working indexer using Envio - Fully configured HyperIndex with custom event handlers

          โœ… Queries consumed in project - GraphQL endpoints power AI, dashboards, frames

          โœ… Documentation - Complete config, handlers, and query examples

          โœ… Demo shows Envio usage - Live GraphQL playground and real-time event indexing

          โœ… Qualifies for all three tracks - AI Agent, On-Chain Automation, Consumer Application


          ๐Ÿ’ฐ Consumer Impact

          Educational Institutions Save Millions

          Before VeriCred+:

          • $50-200 per verification

          • Manual processing = weeks of delay

          • No fraud prevention

          With VeriCred+:

          • $0 per verification (on-chain, automated)

          • Instant verification (sub-second)

          • 90%+ fraud reduction via AI

          ROI: A university issuing 10,000 diplomas/year saves $500K-2M annually


          Graduates Get Instant Verification

          Before VeriCred+:

          • Request official transcripts = 3-6 weeks

          • Pay $10-25 per transcript

          • Paper documents get lost

          With VeriCred+:

          • Instant access 24/7

          • Free to share unlimited times

          • Permanent storage on IPFS + blockchain

          Impact: Faster job placement with portable, verifiable reputation


          Employers Verify in Seconds

          Before VeriCred+:

          • Background checks = 3-6 weeks

          • 60% encounter fake credentials

          • No standardized verification

          With VeriCred+:

          • Verification in < 1 second

          • 100% trustless (blockchain-verified)

          • Works in Farcaster (no wallet needed)

          Impact: Hiring cycle reduced from 6 weeks to 6 seconds for credential verification


          ๐Ÿ“ˆ Performance Metrics

          Metric

          Target

          Achieved

          Credential Issuance

          < 10s

          โœ… 5-8s

          Verification Time

          < 2s

          โœ… 0.8s

          AI Analysis

          < 5s

          โœ… 3-4s

          Dashboard Load

          < 1s

          โœ… 0.6s

          Envio Query

          < 500ms

          โœ… 200-300ms


          ๐Ÿ” Security Features

          • Soulbound Tokens - Non-transferable prevents credential trading

          • Role-Based Access Control - Only authorized wallets can mint

          • Signature Authentication - Cached signatures with timestamp validation

          • Delegation Limits - Time-bounded, usage-metered permissions

          • On-Chain Verification - Immutable blockchain record

          • IPFS Pinning - Permanent, censorship-resistant metadata


          ๐Ÿš€ Tech Stack

          • Frontend: Next.js 14, TypeScript, TailwindCSS, Framer Motion

          • Authentication: MetaMask Smart Accounts

          • Smart Contracts: Solidity, OpenZeppelin (ERC721 SBT)

          • Blockchain: Monad Testnet (10,000 TPS, 400ms blocks)

          • Indexing: Envio HyperIndex

          • Database: MongoDB

          • Storage: IPFS via Pinata

          • AI: OpenAI GPT-4o

          • Social: Farcaster Frames


          ๐Ÿ… Why VeriCred+ Wins

          vs. Traditional Systems

          โœ… Free verification (vs. $50+) โœ… Instant results (vs. weeks) โœ… Tamper-proof (vs. forgery-prone) โœ… Always accessible (vs. business hours)

          vs. Other Web3 Solutions

          โœ… AI fraud prevention (unique) โœ… Delegation model (zero gas for issuers) โœ… Farcaster integration (viral social proof) โœ… Envio-powered speed (sub-second queries) โœ… Production UX (no Web3 jargon)


          ๐ŸŒ Real-World Impact

          VeriCred+ solves a critical problem affecting:

          • 1.5 billion students globally who need verifiable credentials

          • Millions of employers wasting resources on manual verification

          • Educational institutions losing credibility to diploma mills

          By making credential verification instant, trustless, and free, we enable:

          • Streamlined education verification

          • Faster, more reliable hiring

          • Portable professional reputation

          • Mainstream Web3 adoption through consumer UX


          โœจ Conclusion

          VeriCred+ demonstrates the convergence of AI, delegation, and real-time blockchain indexing to solve a multi-billion dollar problem. Our implementation showcases:

          โœ… MetaMask Smart Accounts - Delegation-based automation with seamless UX โœ… Monad Blockchain - High-performance credential minting and verification โœ… Envio HyperIndex - Core infrastructure powering AI, dashboards, and social features โœ… AI Integration - Fraud prevention that stops fake credentials before they're issued โœ… Consumer UX - Production-quality interfaces hiding blockchain complexity

          VeriCred+ is not just a hackathon projectโ€”it's the future of verifiable credentials.


          Built with โค๏ธ for MetaMask x Monad x Envio Hackathon 2025

Progress During Hackathon

โœ… Completed Features 1. Smart Contract Development (Monad Testnet) Deployed VeriCredSBT contract (Soulbound NFT) at 0x875b5b800d86314905C2850520F9ab07b46c0B4c Deployed CredentialRegistry contract at 0xBc0E4fAdcfD447D084C2EC66D5265d7F714eDdCE Implemented role-based access control (ISSUER_ROLE, VERIFIER_ROLE) Added credential revocation and metadata update functionality 2. MetaMask Delegation Integration Implemented MetaMask Smart Account creation (Hybrid implementation) Built delegation flow with caveats (allowed methods, call limits, time windows) Users delegate credential issuance rights once - no repeated signatures needed Backend wallet executes transactions on behalf of issuers using delegations 3. AI-Powered Fraud Detection Integrated OpenAI GPT-5-nano for analyzing recipient on-chain activity AI checks transaction patterns, account age, and fraud signals before issuance Real-time risk assessment with confidence scores 4. Full-Stack Application Issuer Dashboard: Setup delegation, issue credentials with AI verification Verifier Dashboard: Verify credentials by token ID, view credential details Recipient Dashboard: View owned credentials, share via QR codes MongoDB database for fast credential storage and queries IPFS/Pinata integration for decentralized metadata storage 5. Envio HyperIndex Integration Created indexer configuration for VeriCredSBT and CredentialRegistry contracts Real-time GraphQL API for querying credentials, issuers, and events Run locally (hosted deployment unavailable during hackathon) Provides trustless verification of on-chain credential data 6. Farcaster Frames Integration Built Frame endpoints for social media credential sharing Verify credentials directly in Farcaster feeds ๐Ÿ”ง Technical Achievements Next.js 15 with TypeScript Viem for blockchain interactions Rate limiting and authentication middleware Responsive UI with Framer Motion animations

Tech Stack

React
Next
Web3
Ethers
Solidity
Node
monad
envio

Fundraising Status

No fund raised Yet

Team Leader
TTheophilus Uchechukwu
Sector
AIRWAInfra