LeptonStream
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.
Love programming
2 — Jayking Web3 Supporter