Protocol Pillars
- Transport Agnostic: From IETF HTTP 402 Headers to persistent JSON WebSocket relays. Dumb pipes, smart cryptographic edges.
- Payload Binding: Intent matters. Every payment is cryptographically HMAC-bound to the request payload to kill instruction-spoofing.
- Zero Friction: No accounts, no email, no personal information needed. Just a Monero wallet and a challenge.
- Absolute Speed: Money moves at internet speed. 0-conf verification ensures 200ms resource access.
- Stateless Purity: No databases. No polling. No wallet tracking bloat. XMR402 relies purely on mathematics and node RPCs.
- Zero Protocol Fees: 100% free and open source. Only standard network transaction fees apply.
Tactical Implementation
Server challenge header (HTTP 402):
WWW-Authenticate: XMR402 address="8...", amount="1000", message="nonce_123", timestamp="1772937600"
Client authorization header (HTTP retry):
Authorization: XMR402 txid="<hash>", proof="<signature>"
Developer Sandbox & Live API
Test the protocol live against our public sandbox:
- Endpoint:
https://demo-api.xmr402.org/intel - WebSocket Relay:
wss://demo-api.xmr402.org/relay - NPM Middleware:
@kyc-rip/ripley-guard-ts
Frequently Asked Questions
What is XMR402 used for?
XMR402 is designed for high-frequency, low-friction micro-payments: pay-per-request API access, dynamic content gating, autonomous AI agent interactions, and decentralized service monetization without KYC.
Is XMR402 production ready?
The XMR402 v2.0 specification is finalized. Stable reference implementations are available in TypeScript, Go, and Rust. It is deployed across the Ripley AI ecosystem.
How do I integrate XMR402?
Deploy Ripley Guard middleware on the server side to issue challenges and verify proofs statelessly. Configure clients to handle HTTP 402 responses with a compatible Monero wallet.
What blockchains does XMR402 support?
XMR402 prioritizes Monero (XMR) due to superior privacy primitives (stealth addresses, RingCT, FCMP++) and native transaction proof capabilities.
Does it require a special wallet?
XMR402 is compatible with any wallet supporting Monero Transaction Proofs (get_tx_proof). We recommend Ripley Terminal for desktop users and Ripley Gateway for autonomous agents.