Inspiration

Lack of Copyright Respect: Businesses and people now frequently train AI on unlicensed data, disregarding the rights of authors (see, for example, the recent "Ghibli" scandal).

What it does

Sustainable Creator Ecosystem: With our platform, you may keep your own "inspirations" on a private drive and then access an AI assistant that only considers the context of your files and any assets you've bought.

True Ownership Transfer: You obtain full, entire ownership of another creator's work when you purchase it from the Marketplace. This means that the original author is paid in full and the piece becomes a part of your private Drive and AI environment.

Smooth Developer Experience: We remove the conventional hassles of Web3 transactions by integrating x402 for payments and the CDP Wallet for money management, providing both creators and customers with a seamless, one-click developer experience.

How we built it

Architecture & Stack:

-Frontend: Next.js 15 with React 19 and TypeScript, using the App Router for server and client components

-Design System: Tailwind CSS 4 with a Neo-Brutalism theme (electric blue/cyan and black)

-Backend: Next.js API Routes (serverless) with MongoDB and Mongoose

-Authentication: NextAuth.js with JWT sessions and credential-based auth

-Storage: Supabase Storage

-Blockchain: Coinbase CDP for wallet creation/management; x402 protocol for micropayments; USDC on Base Sepolia testnet -AI: OpenAI GPT-4o-mini for generation; text-embedding-ada-002 for RAG;

Challenges we ran into

-Complete CRUD support for Marketplace and Drive entities.

-Post-purchase logic includes managing nested folders correctly and copying stuff back into the buyer's drive.

-Tracking Transactions & Affiliate Program -Three-way payments with accurate fund divides (seller, affiliate, and platform).

-To allow proper reporting, each transaction is classified as either direct or indirect.

-Contextual Chunking & AI Studio

-Drive files must be ingested by AI Studio in order for conversation and generating features to function.

-Chunking was added to the upload process to accommodate various PDF files and huge content.

Accomplishments that we're proud of

What we learned

-Blockchain Integration Complexity: Integrating x402 and Coinbase CDP required understanding wallet management, transaction flows, and handling edge cases like missing EVM accounts

-RAG Implementation: Learned the importance of proper chunking strategies for different file types and how to optimize embedding generation for large document sets

-Storage Architecture: Discovered the benefits of client-direct uploads (faster, more efficient) versus server-side uploads, and how to handle multiple storage providers gracefully

-Payment Flow Design: Understood the complexity of multi-party transactions and the importance of atomic operations and proper error handling in financial systems

Built With

  • coinbase
  • next.js
  • open-ai
  • supabase
  • tailwind
  • x402
Share this project:

Updates