Loops HousePenstock

NEAR HACKATHON
Links
Team
1 member- ACOwner
ace
Overview
Agents can now call thousands of paid APIs and MCP tools, but sellers can only accept one chain and one token, and an agent without the right balance on the right chain can't pay. Penstock fixes that: a drop-in x402 (HTTP 402) paywall for any API or MCP tool. The seller sets a price in USDC on NEAR. The agent gets a standard 402 response and pays from whatever it holds, such as SOL or USDC on Solana. NEAR Intents (1Click) swaps and bridges the payment, and the seller receives USDC on NEAR. The proxy verifies the delivery and then releases the response.
Sellers also get Ed25519-signed receipts (verified in the browser), refunds, CSV export, prepaid sessions, discovery, agent-to-agent resale, a probe-to-purchase funnel and a self-test agent. An optional shielded-payer mode is built in, but it needs Confidential Intents access, so it shows "not enabled" for now.
Real proof on NEAR mainnet: a payment from Solana was delivered as USDC on NEAR, and a real refund went back to Solana. The hashes are in docs/PROOF.md. The hosted demo is simulated, plus a Real view that reads NEAR mainnet live.
Built with React, Node.js and TypeScript. Open source, MIT.