Tap-to-pay contactless crypto POS & AI agent payments with instant USDC settlement.
PaidX is a non-custodial cryptocurrency point-of-sale (POS) protocol and agentic commerce network bridging physical retail counters, contactless NFC cards, and autonomous AI agents.
In physical retail, PaidX allows customers to buy real-world goods—like a cup of chai—as easily as tapping a debit card. Customers tap a physical NFC card at an ESP32-powered countertop terminal or scan a dynamic QR code. Transactions settle in sub-second speed directly into native USDC on Base L2 and Ethereum Sepolia with zero gas headaches for the payer. Private keys never leave the customer's self-custodial wallet. Physical cards store zero keys and reference only salted cryptographic hashes, while ERC-4337 smart accounts and ERC-7715 session permissions enforce strict user-defined daily spending limits.
Beyond physical retail, PaidX powers autonomous agentic commerce through a dedicated Model Context Protocol (MCP) server. External AI agents (Claude, Cursor, ChatGPT) can execute conversational payments on Hedera Testnet using the Hedera x402 exact payment scheme. Agent payments are governed by 2-of-3 MPC threshold signing, PostgreSQL row-level locked budget reservations, and immutable transaction audit logs published directly to the Hedera Consensus Service (HCS).
The complete ecosystem includes a Next.js 15 customer and merchant console, virtual terminal keypad, hardware provisioning portal, on-chain merchant registry, and standalone ESP32 firmware.
PaidX is built as an end-to-end decentralized point-of-sale protocol connecting physical retail, smart accounts, and AI agent commerce. On the hardware side, we created custom C++ firmware on an ESP32 microcontroller paired with a PN532 NFC reader and an ST7789 TFT display. The terminal reads contactless card UIDs, authenticates through a pre-shared hardware token, and sends a payment request to our Next.js 15 backend.
To ensure non-custodial security without requiring customers to carry private keys, we implemented a cryptographic salting technique: the physical card UID is hashed using keccak256 with a secret salt before being recorded on our Solidity CardRegistry contract on Base L2 and Ethereum Sepolia. Using ERC-4337 smart accounts and ERC-7715 session permissions, our backend Session Relayer executes USDC settlements directly into verified merchant payout addresses up to the user's daily rolling allowance—enabling sub-second, zero-gas card taps at retail counters.
For AI commerce, we built a standalone Model Context Protocol (MCP) server using Hono and Node.js. AI agents connect via Anthropic Streamable HTTP transport and execute payments on Hedera Testnet following the Hedera x402 exact payment scheme in HTS USDC. To solve concurrency and key management, we implemented PostgreSQL row-level locks (FOR UPDATE) for atomic budget reservations and a 2-of-3 MPC threshold signing architecture, logging every transaction immutably to the Hedera Consensus Service.

