← Back to home

Eclipse

private data marketplace where AI verifies encrypted content so you can buy with confidence

Problem Statement

With Eclipse, you canverify content before you buy and protect content until you sell.Eclipse is a private data marketplace where an AI agent analyzes encrypted content to answer buyer questions—creators don't leak their work until they get paid.The ProblemBuyers can't verify.You want to know if a dataset has the right format, if a meal plan works for vegetarians, if a tutorial matches your skill level—but you can't see the content until after you pay.Creators can't scale.Every buyer has different questions. You answer DMs endlessly, try to predict FAQs, and still miss edge cases. Sleep through a notification? Lose the sale. Give away too much detail? Also lose the sale.The SolutionEclipse runsan AI Agent inside Nillion's Trusted Execution Environment (nilCC)to access encrypted content and answer buyer questions in real-time.For Buyers:Ask the AI anything. Get real answers before you commit. "Is this vegetarian?" "Does this include coordinates?" "What skill level?"For Creators:Upload once. The AI handles unlimited buyer questions automatically. Zero customer support.For Trust:Content stays encrypted everywhere except in the TEE's memory during analysis. Payment verified on-chain via Envio before download access.No previews. No leaks. No blind purchases.

Solution

How It WorksCreator uploads→ Content encrypted and stored in Nillion Private Storage (nilDB)Buyer asks questions→ The agent uses decrypted content within the TEE to give real-time, neutral answers within privacy guardrailsBuyer pays in PYUSD→ Creator receives an atomic tx via the smart contract payment, which gets indexed by EnvioBuyer gets instant access→ TEE verifies payment, grants download for buyerTech StackP- Stablecoin payments for predictable pricingH- Smart contract development + comprehensive testingP- Core payment contractT- End-to-end integrationS- Unit testingE- Real-time event indexing withGN- Private storage for encrypted metadataN- TEE running the agent for private multimodal analysis over the private contentProject Structure📦oSmart contract infrastructure for marketplace payments using PYUSD.P- Core marketplace contract with direct creator paymentsComprehensive testing- Solidity unit tests + TypeScript integration testsDeployment scripts- Deploy and interact with contracts on Sepolia testnetLive on Sepolia-0🔍eEvent indexing service for real-time marketplace data.Live GraphQL API- https://indexer.dev.hyperindex.xyz/0ae1800/v1/graphqlDual Entity System- Tracks both historical events and current product stateHyperSync enabled- Fast historical data synchronizationReal-time indexing- Live event tracking fromP🌐mEclipse marketplace frontend built with Next.js 15.Live Demo- https://eclipse-pm.vercel.appProduct Discovery- Browse with search, filtering, and sortingCreator Profiles- View statistics and product portfoliosTransaction Tracking- Complete price history and Etherscan linksReal-time Data- Apollo Client synced with Envio GraphQL API🔐tTEE-based storage and AI agent service running in Nillion's nilCC infrastructure.Live nilCC Service- https://2e08d150-6083-49aa-99e3-2b786e51fb2f.workloads.nilcc.sandbox.nillion.network/healthAES-256-GCM encryption- Secure content encryption with master key protectionNillion nilDB integration- Encrypted metadata and key storageGoogle Gemini 2.0 Flash- Multimodal content analysis (text + images)Privacy guardrails- Prevents content leakage during AI interactionsPayment verification- Blockchain integration via Envio before granting accessnilCC compliant- Runs in Nillion's trusted execution environment

Hackathon

ETHOnline 2025

2025

Contributors