← Back to home

0rbit

0rbit is a Web3 platform that combines AI image editing with blockchain tokenization.

Problem Statement

0rbit is a decentralized image editing and AI token generation platform that combines Web3 technology with AI-powered creative tools. Users can upload images, enhance them with AI processing, generate meme token metadata, and mint intelligent NFTs while maintaining full provenance and creator ownership. Key Features: AI-powered image editing and enhancement Automatic meme token generation with AI-created metadata NFT minting with on-chain provenance Decentralized storage via IPFS/Lighthouse Web3 wallet integration Creator XP tracking system Tech Stack: Next.js 14 with TypeScript Smart contracts on Ethereum Fluence integration for secure AI processing 0G Labs infrastructure for compute and storage IPFS for decentralized file storage The platform serves as a bridge between traditional image editing and Web3, allowing creators to monetize their work through tokenization while maintaining the security and decentralization benefits of blockchain technology.

Solution

How It's MadeArchitecture Overview0rbitis built as a full-stack Web3 application that integrates decentralized infrastructure with traditional web technologies. The platform uses Next.js for the frontend, smart contracts for blockchain logic, and multiple decentralized services for processing and storage.Core Technology StackFrontend & BackendNext.js 14with App Router for server-side rendering and API routesTypeScriptfor type safety across the entire applicationTailwind CSS+shadcn/uifor modern, responsive designReactwith custom hooks for state managementWeb3 IntegrationWagmi+Viemfor Ethereum interactionsWalletConnectfor multi-wallet supportCustom smart contractsfor NFT minting and token generationDecentralized InfrastructureFluencefor secure AI processing (VM ID:01998e2a-a8a5-7643-af46-1fdf20afd01c)Lighthousefor IPFS storage and file management0G Labsfor compute and storage primitivesThe Complete Pipeline1. Image Upload & ProcessingImage Normalization: Custom algorithm that standardizes images across different formats (RAW, JPEG, PNG)EXIF Extraction: Usesexifreaderlibrary to extract camera metadata, GPS data, and editing historyXMP Sidecar Generation: Creates XML metadata files that track every edit operation for audit trails2. AI Processing via FluenceWhy Fluence?Security: API keys never exposed to frontend clientsDecentralization: Distributed AI processing across multiple nodesReliability: Fault-tolerant network with automatic failoverPrivacy: User data processed through decentralized network3. AI Token Generation PipelineAI Processing Steps:Image Analysis: AI examines the uploaded image for visual elements, style, and contentMetadata Generation: Creates creative token name, symbol, descriptionSocial Links: Generates relevant Twitter, Telegram, and website suggestionsJSON Parsing: Extracts structured data from AI response4. Decentralized Storage with LighthouseStorage Strategy:Original Images: Stored on IPFS with permanent linksEdited Versions: Each edit creates new IPFS entryXMP Sidecars: Metadata files linked to original assetsAudit Trails: Complete history of all operations5. Smart Contract IntegrationBlockchain Logic:NFT Minting: Each creation becomes a unique NFTProvenance Tracking: On-chain record of creator and timestampMetadata Storage: IPFS hashes stored on-chainRoyalty System: Built-in creator royalties6. 0G Labs Integration0G Labs Benefits:Verifiable Compute: AI operations with cryptographic proofsDecentralized Storage: Permanent, censorship-resistant storageINFT Support: Intelligent NFTs with dynamic behaviorsAudit Trails: Immutable records of all operationsManual Editing FeaturesEditing Capabilities:Real-time Preview: Live editing with instant feedbackEdit History: Complete undo/redo functionalityXMP Tracking: Every edit recorded in metadataBatch Operations: Multiple edits in sequenceHacky Solutions & Notable Implementations1. Base64 Image ProcessingEfficient base64 handling for large images with compression for API calls2. XMP Sidecar GenerationCustom XMP metadata tracking that records every edit operation with timestamps and parameters3. Fluence Integration HackDirect endpoint routing through Fluence network, bypassing OpenAI's servers entirely for better security and performancePartner Technology BenefitsFluence NetworkDecentralized AI: No single point of failurePrivacy: User data never leaves decentralized networkCost: Lower processing costs than centralized providersReliability: Distributed processing with automatic failoverLighthouse IPFSPermanent Storage: Files stored permanently on IPFSFast Retrieval: Optimized for web applicationsMetadata Support: Rich metadata and search capabilitiesCost Effective: Affordable decentralized storage0G LabsVerifiable Compute: Cryptographic proofs of AI operationsDecentralized Storage: Censorship-resistant asset storageINFT Support: Intelligent NFTs with dynamic behaviorsAudit Trails: Immutable records of all operationsPerformance Optimizations1. Image CompressionSmart image compression for API calls while maintaining quality2. Lazy LoadingLazy load images and components for better performance3. Caching StrategyCache AI responses and IPFS data for faster retrievalSecurity Measures1. API Key ProtectionServer-side Only: API keys never exposed to frontendFluence Routing: All AI requests go through decentralized networkEnvironment Variables: Secure key management2. Data PrivacyLocal Processing: Images processed locally before uploadEncrypted Storage: All data encrypted before IPFS storageAudit Trails: Complete transparency of all operationsNotable Technical Achievements1. Seamless Web3 IntegrationThe platform successfully bridges traditional web development with Web3 technologies, making blockchain interactions feel native to users.2. Decentralized AI ProcessingBy routing AI requests through Fluence, we've created a truly decentralized AI processing pipeline that maintains privacy and security.3. Comprehensive Metadata TrackingThe XMP sidecar system creates a complete audit trail of every edit operation, ensuring full provenance and transparency.4. Cost-Effective StorageBy combining IPFS with 0G Labs storage, we've created a cost-effective, permanent storage solution that scales with the platform.This architecture creates a robust, decentralized platform that maintains the user experience of traditional web applications while providing the security, transparency, and ownership benefits of Web3 technology.

Hackathon

ETHGlobal New Delhi

2025

Contributors