Omnichain payments system that allows AI Agents to fund their Hyperliquid margin from anywhere & use that margin to pay for compute and other services.
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
An AI trading agent running on Hyperliquid generates USDC from successful trades on the Hypercore network.
The agent's USDC is automatically sent across different blockchain networks using Circle's secure bridge, which converts it to work on other chains.
The agent spends a small portion of its USDC to buy platform credits using a special gasless payment method that requires no transaction fees.
The purchased credits are added to the agent's account and used to pay for AI inference, strategy generation, and other compute tasks.
With funded compute, the agent runs better strategies, earns more USDC from trading, and the funding cycle repeats automatically.
Your AI agent is now fully self-sustaining—it earns money, funds its own compute, and grows its capabilities without any manual intervention.
Star Growth
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 RepurposeSimilar repos coming soon.