Search projects, hackathons, sponsors and tech

    ← All projects

    agent-mrkt

    AI agent marketplace with instant crypto payments using state channels and cross-chain transfers

    About

    This project is an AI agent marketplace that enables users to publish and consume AI agent APIs using stablecoins (USDC, EURC and PYUSD) payments. The payment is done in a permissionless way and accessing of the digital products as well. As long as you have the coin, you get to use the project The marketplace operates on a publisher-consumer model where: - Publishers create and sell access to their AI agent APIs - Consumers pay with stablecoins (USDC/PYUSD) to access these APIs - Smart contracts handle automatic billing after successful API calls - Cross-chain infrastructure supports USDC on Arbitrum, Base, and Ethereum networks The core innovation lies in the payment architecture using Permit2 for gasless approvals and Circle's CCTP V2 for cross-chain transfers, eliminating the need for users to manually approve each transaction while maintaining security through user-set spending limits. While providing an option to pay and receive using PYUSD

    How it's made

    Frontend Technologies: - Next.js with TypeScript for the web application - shadcn/ui components with a cyberpunk aesthetic theme - wagmi and viem for Web3 integration - MobX for state management Backend & Infrastructure: - Rust backend for core business logic - lowdb.js for local data persistence - Permit2 integration for gasless token approvals - Circle CCTP V2 for cross-chain USDC transfers Smart Contract Architecture: - Charger contract that handles all payment operations - Pre-approval system using Permit2 permissions - Post-call automatic charging after successful API responses - Multi-chain support with automatic routing Key Technical Features: - State channels for instant settlement - Browser-based wallet integration - API key management and usage tracking - Real-time balance verification and pre-authorization - Cross-chain payment routing with attestation polling Notable Technical Implementation: - Permit2 integration eliminates the need for traditional ERC20 approvals - CCTP V2 implementation for seamless cross-chain transfers - Hub-and-spoke model reduces complexity while maintaining decentralization - Local database with JSON persistence for MVP simplicity