← all projects

Lepta

@MarvyNwaokobia·Marvy·4 followers·added 2026-07-19
0
stars
3.2k
lines
36
files
0
forks
4
followers
languages
TypeScript 95%Shell 5%JavaScript 1%

Lepta meters livestream payments by the second. Its proof-of-flow scheme hashes and timestamps each HLS segment from an Owncast server in src/lib/attestor.ts, matches server attestations against viewer heartbeats every second in src/lib/meter.ts, and accrues USDC only while delivery is verified — stalls pause the meter. A budget agent in src/lib/agent.ts (Claude Haiku via LangChain, with a rule-based fallback) reviews spend, engagement, and watch time to continue, pause, or request top-ups, with its reasoning shown live in the viewer UI. Accrued amounts batch on-chain through Circle Gateway via src/lib/settlement.ts and src/lib/circle. The Next.js app pairs a custom server.ts with Socket.io for real-time meter ticks and a creator dashboard.

events
tags
circle components
builder bio

Full-stack & protocol engineer. I build secure systems end-to-end, smart contracts, cryptography, backends, and the apps on top of them.

team · solo

1 (Solo) — Marvellous Nwaokobia

on xx/Marvysmind
repo description

Pay-per-second livestream payments. Provably delivered. Settled in USDC on Arc.

last pushed 2026-07-06