← all projects

LeptonStream

@Paulos-ui·Jayeoba Paul·4 followers·added 2026-07-19
0
stars
5.3k
lines
63
files
0
forks
4
followers
languages
TypeScript 97%Solidity 2%JavaScript 1%

LeptonStream adds per-second payments to Owncast livestreams. Creators keep their self-hosted instance and drop in public/embed.js or share a support link; viewers fund a capped session with one signature. A deterministic payment agent in core/PaymentAgent.ts meters spending against real playback health read through lib/owncast.ts, throttling on buffering and enforcing a hard ceiling, while lib/wallet.ts delegates the frequent per-second signing to a capped session key. Signed batches settle in USDC on Arc through the x402 facilitator at app/api/pay/[stream] using Circle's BatchFacilitatorClient, with EIP-712 schemas derived from the @circle-fin/x402-batching SDK. The Next.js app rounds this out with a viewer page at app/watch/[creator], a creator studio dashboard, and a contracts/LeptonBadge.sol supporter badge.

events
tags
circle components
builder bio

Love programming

team · 2 builders

2 — Jayking Web3 Supporter

on xx/__official__1
last pushed 2026-06-26