himess.dev
All projects
Live2026

PrivAgent

Privacy-preserving x402 on Base mainnet

Stack

  • Solidity
  • x402
  • Base
  • TypeScript
  • Next.js

Highlights

  • ·v4.4.2 live on Base mainnet (chain 8453)
  • ·282 tests, end-to-end verified
  • ·ERC-8021 builder-code attribution
  • ·MIT licensed

Problem

x402 payments work, but every agent paying on-chain leaves a public audit trail. A treasury routing thousands of microtransactions through x402 ends up publishing its full vendor list.

Approach

PrivAgent adds a privacy pool in front of an x402 facilitator. Payments settle through the pool instead of the agent's hot wallet, and ERC-8021 provides clean builder-code attribution so the original app still gets credit for the flow.

Outcome

Pool live at 0x02Ee3eCDb9791dad9a169A5C4F52Fc53318bEf2D on Base. 282 passing tests, docs at privagent.vercel.app.