Stream Verse

Decentralized video streaming: pay only for what you watch with X402 micropayments

Stream Verse

Created At

ETHGlobal New Delhi

Winner of

Filecoin

Filecoin - Filecoin Track 2nd place

Project Description

StreamVerse introduces a revolutionary pay-per-second model where viewers are charged $0.001 USDC per 10-second segment instead of full subscriptions, ensuring fair, consumption-based pricing. Using the X402 protocol and the 402 Payment Required HTTP status, real-time micropayments occur seamlessly as videos stream. Content is stored on Filecoin with immutable CIDs for censorship-resistant access, while Polygon Amoy Testnet ensures fast, transparent, verifiable transactions. This creates a decentralized ecosystem where users never waste money, creators earn directly from engagement, and all payments are visible on-chain.

How it's Made

The platform was built with a modern stack: Next.js 15, TypeScript, Tailwind CSS, Wagmi, and RainbowKit on the frontend; Node.js, Express, PostgreSQL, and Drizzle ORM on the backend. We integrated X402-express middleware for automatic micropayment validation, custom x402-fetch wrappers to enforce payments per video chunk, and dynamic video chunking to progressively stream content. Videos are uploaded and retrieved via Filecoin using Synapse SDK, optimized with warm storage for performance. Hacky but notable implementations include retry logic for failed payments, fallback content delivery for resilience, and a decentralized marketplace interface for fair creator monetization.

background image mobile

Join the mailing list

Get the latest news and updates

Stream Verse | ETHGlobal