0xBebis

0xBebis / HyperPay

Public

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

14
0
89% credibility
Found May 30, 2026 at 14 stars -- GitGems finds repos before they trend. Get early access to the next one.
Sign Up Free
AI Analysis
TypeScript
AI Summary

HyperPay is an open-source payments infrastructure project that enables AI trading agents to autonomously fund their own compute. It handles cross-chain USDC transfers using Circle's CCTP bridge, allows agents to purchase platform credits with gasless EIP-3009 payments, and deposits remaining funds to trading exchanges like Hyperliquid. The system is designed as a self-reinforcing loop where agents earn USDC from trading, bridge it across chains, buy credits for AI inference, and use improved strategies to earn more—creating a fully autonomous funding cycle. The code is MIT-licensed, well-documented, and extracted from a production system at Cod3x.

How It Works

1
🤖 Your AI agent earns money

An AI trading agent running on Hyperliquid generates USDC from successful trades on the Hypercore network.

2
🔄 Money moves across chains

The agent's USDC is automatically sent across different blockchain networks using Circle's secure bridge, which converts it to work on other chains.

3
💳 Credits are purchased automatically

The agent spends a small portion of its USDC to buy platform credits using a special gasless payment method that requires no transaction fees.

4
Credits power AI thinking

The purchased credits are added to the agent's account and used to pay for AI inference, strategy generation, and other compute tasks.

5
📈 Agent improves and earns more

With funded compute, the agent runs better strategies, earns more USDC from trading, and the funding cycle repeats automatically.

🎉 Self-funding loop complete

Your AI agent is now fully self-sustaining—it earns money, funds its own compute, and grows its capabilities without any manual intervention.

Sign up to see the full architecture

4 more

Sign Up Free

Star Growth

See how this repo grew from 14 to 14 stars Sign Up Free
Repurpose This Repo

Repurpose is a Pro feature

Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.

Unlock Repurpose
AI-Generated Review

What is HyperPay?

HyperPay is an omnichain payments system built in TypeScript that lets AI trading agents fund their own compute by bridging USDC across chains and purchasing platform credits autonomously. It combines Circle's CCTP for cross-chain USDC transfers, EIP-3009 for gasless payments, and a state machine that handles the full funding loop from deposit detection to exchange margin. The system currently supports 10 CCTP chains including Hyperliquid, Base, Arbitrum, and Ethereum, with Arc as the planned settlement layer.

Why is it gaining traction?

The hook here is autonomous agent funding -- instead of manually moving money around, agents earn USDC from trading, bridge it cross-chain, and pay for their own compute without human intervention. The architecture is crash-resilient with every step idempotent and state persisted, so failures resume where they left off. By using CCTP exclusively, it avoids slippage and bridge aggregator risks entirely.

Who should use this?

This is for teams building AI trading agents on Hyperliquid who need automated funding infrastructure, or developers implementing X402 payment flows who want reference implementations of EIP-3009 signing and CCTP verification. If you need to understand how to build cross-chain USDC payment flows for autonomous agents, this is worth reading.

Verdict

HyperPay is production code extracted from Cod3x with MIT licensing -- the credibility score is 0.8999999761581421%. The documentation is solid and the intent to educate is genuine. However, with only 14 stars and no visible test suite, this is reference architecture, not a drop-in SDK. Copy what you need, validate thoroughly, and build your own wrappers.

Sign up to read the full AI review Sign Up Free

Similar repos coming soon.