Artists get their pay instantly in any percentage on any blockchain.
LeStream is a decentralized music streaming platform that revolutionizes how artists get paid. Using Yellow Network's state channel technology (Nitrolite protocol), listeners can stream music with instant, gasless micropayments — paying per-second for exactly what they listen to.
The Innovation: When a listener switches songs, an off-chain microtransaction records their listening time and calculates payment owed. The listener only signs ONE on-chain transaction when they end their session, settling all accumulated micropayments at once. This reduces thousands of potential transactions to just two: deposit and withdrawal.
Cross-Chain Payouts with Circle Gateway: Artists can choose their preferred blockchain (Arc, Ethereum, Base, or Avalanche) for receiving royalties. When sessions settle, Circle Gateway routes USDC from Arc to the artist's chosen chain — no bridging, no wrapped tokens, just native USDC minted directly to their wallet.
ENS Integration: Artists store their payout preferences in ENS text records (lestream.payout-chain), creating a decentralized profile system. Collaborators can set their own preferred chains and royalty percentages, enabling automatic, transparent splits on every stream.
Result: Web2 speed with Web3 security — artists get paid instantly on their preferred chain, listeners enjoy gasless streaming, and everyone benefits from transparent, on-chain settlement.
Frontend: Built with Next.js 16 using the App Router, React 19, and Tailwind CSS. We used Wagmi and Viem for Ethereum interactions, and HeroUI components for the interface. Framer Motion and GSAP power the animations.
Yellow Network Integration: We built an Express.js backend server that maintains persistent WebSocket connections to Yellow Network's Clearnode (Nitrolite protocol). The server manages user sessions, tracks listening history, and handles off-chain state updates. Each song switch triggers an off-chain transfer that updates the ledger — no blockchain interaction until session end.
Circle Gateway Integration: We implemented the full CCTP v2 flow using Viem. When a session ends, we create EIP-712 typed burn intents specifying the artist's preferred destination chain, sign them, submit to Circle's Gateway API for attestation, and call gatewayMint() on the destination chain. This enables seamless USDC transfers from Arc to Ethereum, Base, or Avalanche.
ENS Integration: We use Viem's ENS utilities to resolve artist names and read custom text records. Artists store their payout chain preference in lestream.payout-chain text records — when settling payments, we query this record to determine where to route their funds via Circle Gateway.
Hacky Notable Detail: The entire micropayment flow happens off-chain through Yellow Network state channels. Listeners can switch between dozens of songs, each triggering a micropayment calculation, but only TWO on-chain transactions ever occur: the initial deposit and the final settlement. This makes per-second payments economically viable for the first time.
Tech Stack: Next.js 16, React 19, TypeScript, Tailwind CSS, Express.js, Wagmi, Viem, Yellow Network SDK (Nitrolite), Circle Gateway (CCTP v2), ENS.

