ZeroRouter is a high-performance, decentralized API gateway built for the Solana Blitz Hackathon. It enables True Per-Token Micropayments for AI inference using MagicBlock Ephemeral Rollups.
Autonomous agents should not be throttled by credit card limits or monthly subscriptions. ZeroRouter allows agents to stream tokens and pay for them in real-time, exactly like a utility bill—settling every single token chunk on-chain with zero gas fees and sub-millisecond latency.
- Traditional (OpenRouter/ChatGPT): Requires centralized credit systems, monthly subscriptions, and trust in a middleman to account for usage.
- ZeroRouter: 100% Decentralized. You pay exactly what you burn, settled in real-time on-chain. No deposits held by a centralized entity.
- Ephemeral Rollups (ER): We utilize ER for the most demanding use case—token streaming. Every single token is settled 1:1 gaslessly, providing the throughput of a centralized server with the security of a blockchain.
- Zero-Friction UX: A true "Pay-as-you-Inference" experience where the user (or agent) never has to sign 1000 transactions manually. The ER handles the delegation, providing sub-millisecond accounting.
- Sovereign Rust Core 🦀: Built 100% in Rust (using Axum and Tokio) for <10ms response times and maximum memory safety—aligning with the ZeroClaw philosophy.
- Minimal Footprint: Gateway runs in a SCRATCH-based Docker image for a near-zero attack surface.
graph TD
User([Agent/User]) --> Dashboard[Next.js Dashboard]
Dashboard --> Delegation[MagicBlock ER Delegation]
Delegation --> SOL_Rent[0.5 SOL Rent Lock]
Dashboard --> Inference[Cloud Gateway: Rust]
Inference --> Ollama[Inference Node: GCE]
Inference --> Ticks[ER Per-Token Ticks]
Ticks --> Settlement[L1 Devnet Settlement]
Settlement --> SOL_Reclaim[SOL Rent Reclaimed]
The system is live and pre-configured for a Zero-Friction Demo.
- Main Site: https://zerorouter.xyz
- API Endpoint: https://api.zerorouter.xyz
- Status: Managed via Cloudflare with full SSL/TLS encryption.
- Public Key:
2gzjbVH1DN71s5Csf1fkxDpjJJLesB174Yr2xRkyGSgm - Setup: fund this address on devnet to activate the live state-settlement visualization.
Agents can discover and use this protocol via the AI Skill Specification.
Built with 🦀 and ⚡ for the Sovereign Agent Economy. © 2026 ZeroRouter Protocol.