MarketNow builds autonomous AI agent payments using x402 protocol and USDC on Base
Developer platform MarketNow has implemented a system allowing AI agents to autonomously purchase and install skills without human approval for each transaction. The solution combines the HTTP 402 Payment Required standard (x402) with the Agent Payments Protocol (AP2), enabling agents to detect a payment challenge, send USDC on the Base blockchain, and retry the request with a transaction hash. Payments are verified on-chain by parsing USDC Transfer event logs via eth_getTransactionReceipt, with strict checks for exact amount and correct sender wallet. To prevent replay attacks, each transaction hash is recorded as a file in a GitHub repository and blocked from reuse. Human principals retain oversight by creating delegated mandates that set per-purchase and total spending caps, with a default "notify" mode that emails the principal after each agent transaction.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in