← all projects

Paylabs

✨ standalone
@riyannode·riyan·35 followers·added 2026-07-19
4
stars
15k
lines
96
files
0
forks
35
followers
languages
TypeScript 100%JavaScript 0%

PayLabs is a Next.js 15 AI-search and RSSHub discovery platform (lib/paylabs/rsshub) where every query is gated by an x402 entry payment and priced by a deterministic quote engine (lib/paylabs/delegated-runtime/quote-engine.ts). A LangGraph brain planner and three macro-node graphs orchestrate 12 registered agent services (lib/paylabs/langgraph, lib/paylabs/agent-services/registry.ts) that pay each other over Circle Gateway x402 edges. The payment_decider service is hard-locked to deterministic execution (lib/paylabs/agent-services/execution-mode.ts). Reusable x402 primitives ship in-repo: Arc submitBatch calldata decoding for on-chain payment proof, seller HTTP 402 PAYMENT-REQUIRED challenges via Circle's BatchFacilitatorClient, buyer transport, and Circle DCW/UCW wallet signing (lib/paylabs/x402/). Creator payouts settle automatically in USDC on Arc testnet through a deterministic claim resolver, an atomic 85/10/5 split policy, and an idempotent claim-before-transfer payout ledger (lib/paylabs/creator-distribution/). Supabase migrations and jose-JWT/WebAuthn auth back the stack.

✨ Standalone repo — reusable primitives extracted into a dedicated, forkable repository.
events
tags
circle components
builder bio

Agentic economy

team · solo

1 (Solo) — Riyan

on xx/tedsrekt
repo description

AI search/Rsshub discovery + creator monetization platform. Every search is budgeted, every verfied source is paid, every verified creator gets their share.

last pushed 2026-07-25