xByte infra; facilitates “Pay-per-Byte” x402 payments.
xByte is an early-stage TypeScript project in the AI payments / x402 ecosystem, focused on ethereum, evm, hackathon, x402. It currently has 4 GitHub stars and 0 forks, and sits alongside related tools like payflow, helixa, x402-dart.
Website | Demo | Documentation | API
Facilitates "Pay-per-Byte" x402 payments, allows content-agnostic monetization model for platforms (Netflix, Spotify, Twitch, etc.), instead of monthly subscriptions! more information
e.g. Pay 0.001 USDC per 1MB of a movie.

Requires Node and Rust to be installed.
$ git clone https://github.com/Arvmor/xbyte.git
$ cd xbyte
# For server (runs at localhost:80)
$ cd xbyte-server
$ cargo run --release
# For SDK (builds the SDK package)
$ cd xbyte-web/xbyte-sdk
$ bun i
$ bun build
# For Demo website (runs at localhost:3000)
$ cd xbyte-web/spotify-demo
$ bun i
$ bun dev
xByte is the pay-per-byte infra that enables monetization through x402 for any content that can be converted to bytes. (video, music, live streams, etc.)
The xByte TypeScript SDK lets platforms integrate directly with the xByte infrastructure, set per-byte pricing, control access to their content, and seamlessly receive payments. Think Netflix movies, Spotify songs, Twitch streams, ..., all metered by the byte!
sequenceDiagram
participant User
participant Frontend
participant Backend
User->>Frontend: Request to play song (0:00-0:05)
Frontend->>Backend: Request segment (0:00-0:05)
Backend-->>Frontend: 402 Payment Required (x402)
Frontend->>User: Prompt for payment
User->>Frontend: Authorize payment
Frontend->>Backend: Pay x402
Backend-->>Frontend: Audio bytes (0:00-0:05)
Frontend->>User: Play audio segment
Note over User,Backend: Pattern continues for subsequent segments...
Open Source AI trading agent that operates autonomously across 1000+ markets - Polymarket, Kalshi, Binance, Hyperliquid, Solana DEXs, 5 EVM chains. Scans for edge, executes instantly, manages risk while you sleep. Agent commerce protocol for machine-to-machine payments. Self-hosted. Built on Claude.
Drop-in OpenAI Python client with transparent x402 payment support.
Drop-in OpenAI Typescript client with transparent x402 payment support.
TypeScript Interface for Machine Payments Protocol
Production-ready x402 facilitator server.
Rust SDK for the x402 payment protocol.