← all projects

PERSTREAM

@Donyemiight·added 2026-07-19
0
stars
19k
lines
72
files
0
forks
0
followers
languages
JavaScript 96%Shell 3%Solidity 1%

PERSTREAM is a per-second USDC streaming paywall for podcasts and long-form audio. Press play and payment ticks every second; pause and it stops. The settlement engine in backend/src/meter.js runs a one-second tick loop per listening session, recording totals in SQLite via backend/src/db.js. backend/src/arc.js implements two payment modes: an in-memory demo ledger, and a live path using the GatewayClient from @circle-fin/x402-batching to sign EIP-3009 TransferWithAuthorization ticks for batched USDC settlement on Arc testnet, with contracts/PerStreamPaymaster.sol on the chain side. The frontend ships listener and creator surfaces (frontend/listen.html, frontend/creator.html) with email-based embedded wallets, and backend/src/agent-listener.js demonstrates an autonomous agent streaming on a user's behalf.

events
tags
circle components
team · solo

1 (Solo) — DONYEMIIGHT

on xx/donyemiight
repo description

Per-second USDC streaming paywall for podcasts, built on Circle Nanopayments + Arc. Every second, paid.

last pushed 2026-07-04