project screenshot 1
project screenshot 2
project screenshot 3
project screenshot 4

ShieldPay

Private Agentic Payments Using the x402 Payment Protocol on Aleo

ShieldPay

Created At

ETHGlobal New York 2025

Project Description

Motivation

Agentic Payments have been the consensus thesis among technology enthusiasts. Agents will transact on our behalf to make our daily lives easier - order deliveries, booking flights, pay for my AI inferences, and the list goes on. However, I can't imagine a world where all my transactions on chain and everyone who knows about a block explorer to be able to track my daily activities or, even worse, online activities based on my agent payment usage. This is why I believe privacy is going to be an absolute necessity for HTTP 402.

Overview

ShieldPay is a privacy-first decentralized payment protocol implementation that enables secure, private on-chain payments using the x402 Payment Protocol on the Aleo blockchain. ShieldPay also features a complete Model Context Protocol (MCP) server implementation for AI and external tool integration.

ShieldPay combines the power of privacy-preserving blockchain payments with traditional web APIs, allowing developers to monetize their services through private microtransactions on the Aleo network. The system enforces payment requirements before granting access to protected endpoints, creating a pay-per-use model for API services while maintaining complete transaction privacy.

Key Features

  • Blockchain-Powered Payments: Utilizes Aleo blockchain for secure, private transactions
  • Express.js Middleware: Easy integration with existing Node.js/Express applications
  • Pay-Per-Use Model: Configure different pricing for different API endpoints
  • Automatic Settlement: Handles transaction processing and verification automatically
  • MCP Integration: Model Context Protocol server for external system integration
  • TypeScript Support: Fully typed for better development experience

How it's Made

How I built it I built Private Agentic Payments, an agent that can make payments on your behalf while protecting sensitive data like health expenses, political donations, or purchase history. The design separates intent (who/why you’re paying) from settlement (how much). This ensures the payment processor never sees your personal details, and vendors never learn more than they need.

Technologies used & how they fit together

  • Next.js + Node.js for the frontend and agent orchestration
  • MCP tools to talk to vendor/KYC/payment APIs with built-in redaction policies
  • Aleo (AleoNetworkClient + zero-knowledge proofs) for private settlement
  • WASM workers to speed up proof generation on the client side
  • libsodium for encrypting sensitive payloads and redacted API responses Together, these let the agent strip or hash sensitive API data, settle privately on Aleo, and return a verifiable ZK receipt to the user or vendor.

Partner technologies & benefits

  • Aleo testnet + Explorer API let us integrate quickly without running full infra.
  • MCP gave us a clean way to wrap external APIs and enforce redaction policies.
background image mobile

Join the mailing list

Get the latest news and updates