Monero Monero Adoption & Ecosystem Started Jul 15, 2026 7:09 PM

x402 and monero, a facilitator and some questions

6 replies - 311 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 - 6 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?

1 thanks - grimm - 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

2 thanks - chillin, grimm - 0 tippers
Jul 16, 2026 4:44 PM
#4

@chillin yea that's basically it, I do also remember cloudflare mentioning pay per crawl where site owners could be paid by openai/anthropic/etc for crawling, but 1. I think it's still in private beta, and 2. if it's content that's also public facing like docs or something there isn't really anything stopping them from attempting to scrape it for free, but yea I don't think most people would have an immediate use for it

1 thanks - chillin - 0 tippers
Jul 16, 2026 4:55 PM
#5

@eravsar appreciate it, and the burn address idea is interesting, and for output splitting that's not implemented but was something that came up when discussing with ai's about making it, but I forgot to double back to it, mostly because this was more of a PoC where the thought process that lead to it was:

I want to mess around with x402 after seeing fireship's video on it -> I'll make something like sporestack since it's api driven -> if it's gonna be a "privacy layer" on buying hetzner vps' then obviously monero needs to be used here too -> there's nothing in regards to monero for x402 so let's see if I can hack together something

1 thanks - eravsar - 0 tippers
Jul 16, 2026 5:01 PM
#6

@grimm
seems cool yea and i like the idea
but arent most people that let their website just get scrapped freely is because of SEO reasons or somethin?
like, if they trying to grow their audience and numbers i feel like is what alot are doing, maybe i wrong on that tho, idk

but also for XMR itself, that would quite expensive would think, cause minimum fee for a single output is like around $0.01 already while other blockchain tech type things would be able to do cheaper transactions on that
like idk, $0.01 per API request seems expensive but maybe it's not? idk no idea on the pricing for these lol
or if there would also be a workaround, like after a payment, allow 10 API requests for example, idk, maybe it could be a thing, no clue lol

1 thanks - grimm - 0 tippers
Jul 16, 2026 7:44 PM
#7

@chillin no i think you're right, I've seen talk on SEO for ai to try to get sites better ranked when people talk to chatgpt about __. And yea I think just because people can compare it to other coins where they can have like $0.001 tx, it probably is more on the expensive side, so the batching of request per tx could be a good way to solve it or have maybe have it be paid time to access or something, like $0.05 to access for the full day

1 thanks - chillin - 0 tippers

Post A Reply

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