Promotion & Adoption Started Jul 15, 2026 7:09 PM

x402 and monero, a facilitator and some questions

2 replies - 33 views - 3 thanks - 0 tippers - 3 watchers

Jul 15, 2026 7:09 PM
#1

Been meaning to post this here instead of just reddit. Earlier this year I got into x402 after seeing it around, messed with it for a bit. It's just a set of HTTP headers, chain agnostic on paper, but every facilitator that actually exists is pretty much just USDC on EVM or Solana. Nothing for XMR, and I don't think any "official" implementation is going to bother prioritizing it.

The other issue is how most people would even wire XMR into it, which is giving your view key to whatever service is doing the verifying for you. Didn't like that either.

So I built a facilitator sidecar in Rust that does the Monero stuff, subaddress per invoice, USD to piconero conversion with Kraken/CryptoCompare failover, and the verify/settle endpoints x402 expects. It talks to your own monero-wallet-rpc so the view key never leaves your box. Confirmations required is configurable (I've only actually tested 0-conf tho so I'm not fully sure how higher conf levels will behave.) Repo's here if anyone wants to look: https://github.com/x402-Systems/xmr-x402-facilitator

Reason I even got into x402 in the first place, I wanted something real to test it against, and figured an API-driven reseller like sporestack would be a decent fit for that kind of use case, so I set one up on Hetzner boxes as an experiment. Never really got users, and looking back the pricing I set were insane

The thing I actually want opinions on: x402 pushes really hard on the agent to agent angle, AI agents with their own wallets paying for stuff autonomously. I don't fully buy that as a real use case yet vs a narrative. But the base idea, pay per request over HTTP, seems kinda useful regardless of who's on the paying end. Does XMR actually have a shot at getting adopted into that kind of infra, or is it always going to be one off sidecars like this? And more broadly, does x402 itself seem like something people here would actually have use for or see value in, separate from whether XMR ever gets proper support in it?

3 thanks - 0 tippers - 3 watchers

Replies

Page 1 of 1 - 2 total
Jul 15, 2026 8:01 PM
#2

so i didnt understand much about it but i guess is like, instead of rate limiting API requests, having them behind a paywall like $0.001 per request or something like that, right?
and since alot of the AI agents things using those API requests things, then having a way for them to pay in cryptocoins/monero?
i mean, i really dont know about none of that, or if it's an actual usecase but i guess it could be?
like, i dont think i would have a use for something like that but i guess some people could have a use for it probably?

0 thanks - 0 tippers
Jul 15, 2026 8:21 PM
#3

nice job. the ai stuff is obviously hype, but a standard like x402 is still cool as a specification. i didn't look into your code yet but one idea i have is implementing monero proof-of-burns to your sidecar program. so services can actually use it for anti-spam without abusing it through a paywall, the sidecar program would generate the same burn address itself to confirm it is actually a burn address etc.

also if you haven't done already, you can make the program allocate/divide outputs to smaller outputs beforehand so your balance in wallet won't be locked just for a microtransaction.

Signature

1 thanks - chillin - 0 tippers

Post A Reply

You must be logged in to reply. Login or register.