Skip to content

🏅 Overview & Introduction

What MyPit Does

MyPit is a comprehensive Digital Badge & Data Management Platform that enables secure, decentralized management of digital credentials, data exchange, and privacy-preserving data usage through sandboxed environments. The platform serves multiple user roles (Issuers, Holders, Verifiers, Data Consumers) with role-based dashboards and secure data monetization capabilities.

High-Level Purpose & Scope

🎯 Core Mission

Transform how digital credentials and personal data are managed,

Integration Benefits:

  • ☸️ Kubernetes Orchestration: Kubernetes cluster manages sandbox algorithm execution as isolated pod jobs with resource limits
  • 🔐 Zero-Knowledge Proofs: Google Cloud Run hosts ZKP engine for privacy-preserving badge verification and authentication
  • 🔑 Secure Key Management: Google Key Management Service handles Shamir secret storage and retrieval with enterprise-grade encryption
  • ⛓️ Blockchain Security: Ethereum network ensures immutable credential verification and audit trails
  • 🤖 AI Enhancement: OpenAI GPT powers intelligent security analysis and real-time threat detection
  • 💳 Flexible Payments: TOSS enable automated billing, revenue sharing, and secure transactions
  • 📧 Reliable Communication: Resend handles transactional emails, OTP delivery, and system notifications
  • 🔄 Unified Experience: All services integrate seamlessly through the MyPit core platform with proper data flow managementd monetized while maintaining user privacy and control.

🌟 Key Capabilities

Digital Badge Management

  • Issue, verify, and share W3C-compliant verifiable credentials
  • Support for multiple domains: Mobility, Achievement, Healthcare, Finance
  • Role-based access control for different stakeholders
  • Automated credential lifecycle management

Decentralized Identity (DID)

  • Self-sovereign identity using JWT
  • DIDs with verifiable credentials
  • Cross-platform identity verification
  • Privacy-preserving credential sharing

Blockchain Integration (Not connected yet)

  • Immutable audit logging via Ethereum smart contracts
  • Credential lifecycle tracking on-chain
  • Gas-optimized transaction batching
  • Multi-network support (testnet/mainnet)

AI-Powered Security

  • Real-time code analysis and threat detection
  • Pattern recognition for malicious activities

Data Privacy & Encryption

  • Shamir's Secret Sharing encryption (3-of-5 threshold)
  • Zero-knowledge data access patterns
  • Sandbox-only decryption ensuring data never leaves holder control
  • Cryptographic proof verification

Zero-Knowledge Proof (ZKP) Module

  • Privacy-preserving badge verification without exposing sensitive data
  • Selective disclosure for credential attributes
  • ZKP-based authentication for secure user verification
  • Google Cloud Run deployment for scalable ZKP computations
  • Protect sensitive badge data (healthcare, financial, personal identifiers)
  • Prove eligibility without revealing underlying personal information

Education Module

  • Class management with team collaboration
  • Real-time document NOTION-like editor with presence awareness
  • Team management

Monetization Framework (Partially done: buy data only)

  • TOSS integration for secure payments
  • Revenue distribution tracking

Sandbox Environment

  • Secure containerized execution environments
  • Privacy-preserving data analysis
  • Resource monitoring and limits
  • Complete audit trail of computations

Platform Architecture Overview

The MyPit platform follows a modern, microservices-inspired architecture with clear separation of concerns. Below are focused architectural views:


🎯 User Interface Layer

Purpose: Role-based dashboards providing tailored experiences for different user types.

Key Features:

  • Role-specific navigation and features
  • Responsive design for mobile and desktop
  • Real-time updates and notifications
  • Accessible and intuitive user experience

⚙️ Core Platform Infrastructure

Purpose: The backbone services that power all platform functionality.

Key Components:

  • Serverless Architecture: Auto-scaling Convex backend
  • Type Safety: End-to-end TypeScript validation
  • Real-time Sync: Live data updates across all clients
  • Optimized Storage: Efficient file and data management

🔐 Security & Privacy Layer

Purpose: Multi-layered security ensuring data protection and privacy compliance.

🤖 AI Security
🔐 Identity Management
🛡️ Data Protection
🔒 ZKP Module
📋 Audit & Compliance

Security Features:

  • AI-Powered Monitoring: Real-time sandbox codes analysis
  • Decentralized Identity: Self-sovereign identity management
  • Cryptographic Privacy: Shamir's Secret Sharing (3-of-5 threshold)
  • Zero-Knowledge Proofs: Badge verification without revealing sensitive data (Google Cloud Run)
  • Selective Disclosure: Prove claims without exposing underlying personal information
  • Immutable Audit: Blockchain-based activity logging

🌐 External Integrations

Purpose: Third-party services that extend platform capabilities, all connected to the MyPit ecosystem.


🏅 Platform Core Integration Hub

MyPit Platform Core:

External Integration Points:


☁️ Cloud Infrastructure Integration

MyPit Core Components:

Google Cloud Run (ZKP Only):

Kubernetes Cluster (Sandbox Jobs):

Google Key Management Service:

Core to Cloud Connections:

⛓️ Blockchain Network Integration

🤖 AI Services Integration

💳 Payment Systems Integration

📧 Communication Services Integration

Integration Benefits:

  • ☁️ Scalable Computing: Google Cloud Run provides on-demand, auto-scaling sandbox environments
  • � Zero-Knowledge Proofs: Google Cloud Run hosts ZKP engine for privacy-preserving badge verification and authentication
  • �🔑 Secure Key Management: Google Key Management Service handles Shamir secret storage and retrieval with enterprise-grade encryption
  • ⛓️ Blockchain Security: Ethereum network ensures immutable credential verification and audit trails
  • 🤖 AI Enhancement: OpenAI GPT powers intelligent security analysis and real-time threat detection
  • 💳 Flexible Payments: TOSS enable automated billing, revenue sharing, and secure transactions
  • 📧 Reliable Communication: Resend handles transactional emails, OTP delivery, and system notifications
  • 🔄 Unified Experience: All services integrate seamlessly through the MyPit core platform with proper data flow management

Technology Stack

🎨 Frontend Technologies

  • Framework: Next.js 15 with App Router
  • Styling: ShadCN/UI and Tailwind CSS with custom themes
  • Code Editor: Monaco Editor for sandbox development
  • Real-time: WebSocket client for live collaboration
  • Icons: Lucide React icon library

⚙️ Backend Technologies

  • Runtime: Convex with TypeScript
  • Database:
    • Convex NoSQL with schema validation
    • PostgreSQL for relational data
  • Authentication:
    • Google OAuth
    • Email OTP
  • File Storage: Convex Storage with signed URLs
  • Real-time: Convex subscriptions and live queries
  • Validation: Convex validators (Zod-like)
  • Scheduled Jobs: Convex crons for automated tasks

🔐 Security & Privacy

  • Decentralized Identity (DID): JWT-based web tokens
  • Secret Management: Google Secret Manager for Shamir's Secret Sharing
  • Zero-Knowledge Proofs: ZKP engine on Google Cloud Run for sensitive badge data
  • AI Security: OpenAI GPT for sandbox code analysis
  • Blockchain: Ethereum Sepolia testnet for audit logging
  • Encryption: Shamir's Secret Sharing (3-of-5 threshold)
  • Privacy-Preserving Authentication: ZKP-based credential verification
  • Selective Disclosure: Prove badge attributes without exposing sensitive data

☸️ Sandbox Infrastructure

  • Production: Kubernetes pod jobs for sandbox algorithm execution
  • Local Development: Podman for sandbox job deployment and management
  • Orchestration: Kubernetes cluster with auto-scaling
  • Resource Isolation: Container-based execution with resource limits
  • Monitoring: Real-time resource tracking and usage metrics

🌐 External Integrations

  • Email Service: Resend for transactional emails and OTP delivery
  • Payment Gateway: TOSS for data consumer billing and revenue sharing
  • Blockchain RPC: Infura for Ethereum connectivity
  • AI Services: OpenAI GPT API for code analysis
  • Cloud Services:
    • Google Cloud Run (ZKP engine)
    • Google Secret Manager (key storage)

📊 Development Tools

  • Language: TypeScript for type safety
  • Package Manager: npm with workspace support
  • Build Tool: Next.js built-in bundling
  • Code Quality: ESLint with custom rules
  • Version Control: Git with GitHub Actions
  • Deployment:
    • Vercel for frontend
    • Convex for backend
    • Kubernetes for sandbox jobs

User Roles & Personas

🏢 Issuer

Who: Organizations, educational institutions, certification bodies Capabilities:

  • Create and manage badge templates
  • Issue credentials to holders
  • Monitor badge usage and verification
  • Manage holder relationships
  • Access analytics and reporting

👤 Holder

Who: Individuals who own and control their digital credentials Capabilities:

  • Receive and store digital badges
  • Create shareable badge collections
  • Control data access permissions
  • Monetize data through secure sharing
  • Track credential verification history

✅ Verifier

Who: Organizations that need to verify credentials Capabilities:

  • Verify badge authenticity
  • Access verification dashboards
  • Request specific credential types
  • Audit verification history
  • Integrate with external systems

📊 Data Consumer

Who: Researchers, analysts, organizations needing aggregate data Capabilities:

  • Request access to holder data
  • Deploy secure sandbox environments
  • Perform privacy-preserving analysis
  • Pay for data usage
  • Access aggregated insights

🎓 Educator/Student

Who: Teachers, students, academic administrators Capabilities:

  • Create and manage classes
  • Collaborate on team projects
  • Edit documents in real-time
  • Track student progress
  • Export class data

Key Value Propositions

🔒 For Privacy-Conscious Users

  • Complete Data Control: Users maintain ownership of their credentials
  • Zero-Knowledge Sharing: Data analysis without exposing raw information
  • Transparent Permissions: Clear consent management for data access
  • Audit Trail: Complete logging of all data interactions

🏆 For Credential Issuers

  • Standardized Process: W3C-compliant credential issuance
  • Reduced Fraud: Blockchain-verified credential authenticity
  • Revenue Sharing: Monetization opportunities from data usage
  • Rich Analytics: Detailed insights into credential usage

🔍 For Credential Verifiers

  • Instant Verification: Real-time credential authenticity checking
  • Fraud Prevention: AI-powered detection of suspicious activities
  • Integration Support: APIs for external system integration
  • Compliance Tracking: Audit trails for regulatory requirements

📈 For Data Consumers

  • Privacy-Preserving Analytics: Access insights without compromising privacy
  • Secure Computation: Sandboxed environments for data analysis
  • Fair Pricing: Pay only for actual data usage
  • Quality Assurance: AI-verified data quality and security

Platform Benefits

🚀 Technical Advantages

  • Scalability: Serverless architecture with automatic scaling
  • Real-time: Live updates and collaborative features
  • Type Safety: Full TypeScript implementation
  • Modern Stack: Latest versions of all technologies
  • Developer Experience: Hot reloading, excellent debugging tools

🛡️ Security Features

  • Multi-layer Security: AI analysis, encryption, blockchain verification
  • Threat Detection: Real-time monitoring of suspicious activities
  • Access Control: Granular permissions and role-based access
  • Audit Compliance: Complete logging for regulatory requirements

💰 Economic Model

  • Usage-Based Pricing: Pay for actual value received
  • Revenue Sharing: Fair distribution of monetization benefits
  • Transparent Billing: Clear breakdown of all costs
  • Flexible Payment: Multiple payment methods supported

🌍 Interoperability

  • Standards Compliance: W3C DID and Verifiable Credentials
  • Cross-Platform: Works across different systems and platforms
  • API Integration: RESTful APIs for external system integration
  • Blockchain Agnostic: Can work with multiple blockchain networks

Use Cases & Applications

🎓 Educational Credentials

  • Digital diplomas and certificates
  • Skill badges and micro-credentials
  • Academic transcripts and records
  • Professional development tracking

🏥 Healthcare Records

  • Medical certifications and licenses
  • Patient consent management
  • Research data sharing
  • Telemedicine credentials

🚗 Mobility & Transportation

  • Driver's licenses and permits
  • Vehicle registration and insurance
  • Professional driving credentials
  • Transportation access tokens

💼 Professional Certifications

  • Industry certifications and licenses
  • Employment verification
  • Skill assessments and endorsements
  • Professional memberships

🔬 Research & Analytics

  • Privacy-preserving data analysis
  • Academic research collaboration
  • Market research and surveys
  • Public health studies

Released under the Dao Solution License.