← all projects

HyperPay

@0xBebis·Bebis·37 followers
15
stars
11k
lines
64
files
0
forks
37
followers
languages
TypeScript 100%

The payments infrastructure behind Cod3x's Hyperliquid trading agents, extracted and MIT-open-sourced as three dependency-light (viem-only) TypeScript packages that let AI agents fund their own compute. @hyperpay/x402 handles gasless USDC payments over HTTP 402 + EIP-3009: the payer signs an off-chain transfer authorization (signTransferAuthorization) and the backend settles it via createX402Middleware / X402PaymentLibrary / DefaultFacilitatorClient, with a wagmi-based React hook included. @hyperpay/cctp-verify polls source and destination chains until a Circle CCTP transfer settles (dualPollVerify with pluggable HyperliquidSourceVerifier / AcrossDestinationVerifier). @hyperpay/funding-pipeline is an idempotent, crash-resumable state machine that detects USDC across 10 CCTP domains, bridges burn/attest/mint, buys platform credits, and deposits to Hyperliquid — every provider a bring-your-own interface. It settles on Base today and is wired to switch to Arc mainnet via a config change once Arc launches.

tags
builder bio

UV

team · solo

1 (Solo) — Justin Bebis

on xx/0xBebis_
repo description

Omnichain payments system that allows AI Agents to fund their Hyperliquid margin from anywhere & use that margin to pay for compute and other services.

last pushed 2026-05-27