Search projects, hackathons, sponsors and tech

    ← All projects

    Beatstream

    Pay-per-second music streaming, your funds go directly to the artists you listen to!

    Demo

    About

    BeatStream is a decentralized music streaming platform that enables real-time pay-per-second micropayments using Yellow Network state channels. Fans deposit USDC into a smart contract to receive Beats—1 Beat equals 1 second of streaming. Every second you listen, payment flows directly to the artist's wallet. No subscriptions, no middlemen, no 30% platform cuts. Built with Circle wallet integration for seamless onboarding and ENS-powered artist profiles (artist.beatstream.eth).

    How it's made

    Built on Scaffold-ETH 2 monorepo: Hardhat contracts, Express backend, Next.js frontend. Core flow: User deposits USDC -> BeatStreamVault converts to Beats (1 USDC = 1000 Beats) -> Yellow Network state channel opens -> Every second of streaming updates channel state (listener->artist) -> Periodic on-chain settlement. Stack: @erc7824/nitrolite for state channels, Circle SDK for Arc Testnet deployment + developer wallets, ENS NameWrapper for artist.beatstream.eth subdomains, Supabase for tracks/artists storage, wagmi/viem for wallet interactions. Notable hack: Beats balance combines on-chain deposit reads with localStorage-tracked spending per wallet. This gives instant UI updates during streaming while the backend batches state channel settlements to reduce network overhead.