PolyAgents
our project is a framework build on x402 protocol on polygon network.
Problem Statement
The x402 Protocol is a revolutionary HTTP-native payment standard that enables seamless digital payments on the internet using the existing 402 Payment Required status code. This framework demonstrates Agent-to-Agent (A2A) cooperation with blockchain-based payments settled on Polygon Amoy testnet.
Solution
š Service Architecture Orchestrator Service Purpose: Central coordinator for multi-service requests Capabilities: Natural language processing (Gemini AI) Service discovery & routing Dynamic pricing with bundling discounts Payment requirement generation Service execution coordination Facilitator Service Purpose: Payment verification & blockchain settlement Capabilities: EIP-712 signature validation EIP-3009 transferWithAuthorization Transaction broadcasting Payment confirmation tracking Multi-chain support (Polygon Amoy) Service Agents Purpose: Specialized service providers Capabilities: Domain-specific data processing Payment-gated premium features Real-time data aggregation AI-powered analysis (sentiment, rarity, etc.) š” Key Features š Security EIP-712 Typed Data: Cryptographically secure payment signatures Nonce Management: Prevents replay attacks Timeout Protection: Configurable request timeouts Signature Validation: Multi-layer verification ā” Performance Parallel Execution: Services run concurrently Caching: Optimized data retrieval Bundling Discounts: Cost optimization for multi-service requests Fast Settlement: 2-second payment confirmation š Interoperability HTTP Native: Works with existing web infrastructure Chain Agnostic: Supports multiple blockchains Token Agnostic: Any ERC-20 compatible token RESTful APIs: Standard HTTP endpoints šÆ User Experience One-Line Integration: Minimal code required Automatic Retry: Smart payment retry logic Error Handling: Comprehensive error responses Real-time Feedback: Live payment status updates
Hackathon
ETHGlobal New Delhi
2025
Contributors
- CarsonRoscoe
83 contributions
- erikreppel-cb
40 contributions
- AkshatGada
28 contributions
- apmcdermott-cb
17 contributions
- apmcdermott
10 contributions
- John-peterson-coinbase
8 contributions
- Shashwat-Nautiyal
6 contributions
- murrlincoln
5 contributions
- Quazia
5 contributions
- rexdotsh
4 contributions
- notorious-d-e-v
3 contributions
- ya7ya
2 contributions
- stefanoamorelli
2 contributions
- ukstv
2 contributions
- stat
2 contributions
- anushkasomani
2 contributions
- xinbenlv
1 contributions
- omahs
1 contributions
- Jnix2007
1 contributions
- xavierlepretre
1 contributions
- TtheBC01
1 contributions
- iCell
1 contributions
- xR0am
1 contributions
- owenwahlgren
1 contributions
- nicky-ru
1 contributions
- nicarq
1 contributions
- dssei
1 contributions
- dennj
1 contributions
- CarneyChu
1 contributions
- imthatcarlos
1 contributions