Eclipse

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

Eclipse

Created At

ETHOnline 2025

Project Description

With Eclipse, you can verify 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 Problem

Buyers 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 Solution

Eclipse runs an 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.

How it's Made

How It Works

  1. Creator uploads → Content encrypted and stored in Nillion Private Storage (nilDB)
  2. Buyer asks questions → The agent uses decrypted content within the TEE to give real-time, neutral answers within privacy guardrails
  3. Buyer pays in PYUSD → Creator receives an atomic tx via the smart contract payment, which gets indexed by Envio
  4. Buyer gets instant access → TEE verifies payment, grants download for buyer

Tech Stack

Project Structure

📦 onchain-payments/

Smart contract infrastructure for marketplace payments using PYUSD.

🔍 envio-indexer/

Event indexing service for real-time marketplace data.

  • Live GraphQL API - https://indexer.dev.hyperindex.xyz/0ae1800/v1/graphql
  • Dual Entity System - Tracks both historical events and current product state
  • HyperSync enabled - Fast historical data synchronization
  • Real-time indexing - Live event tracking from ProductPaymentService.sol

🌐 marketplace-nextjs/

Eclipse marketplace frontend built with Next.js 15.

  • Live Demo - https://eclipse-pm.vercel.app
  • Product Discovery - Browse with search, filtering, and sorting
  • Creator Profiles - View statistics and product portfolios
  • Transaction Tracking - Complete price history and Etherscan links
  • Real-time Data - Apollo Client synced with Envio GraphQL API

🔐 tee-storage-and-agent/

TEE-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/health
  • AES-256-GCM encryption - Secure content encryption with master key protection
  • Nillion nilDB integration - Encrypted metadata and key storage
  • Google Gemini 2.0 Flash - Multimodal content analysis (text + images)
  • Privacy guardrails - Prevents content leakage during AI interactions
  • Payment verification - Blockchain integration via Envio before granting access
  • nilCC compliant - Runs in Nillion's trusted execution environment
background image mobile

Join the mailing list

Get the latest news and updates