A facilitator
Sellers point their paywall at miraifi.family/x402. It verifies and settles exact USDG payments, pays the gas itself and counts a payment as settled only when USDG logged it.
x402 lets an API answer a request with "402 Payment Required" and a price. The caller signs one USDG authorization for that exact price, sends the request again, and gets the answer. On Robinhood Chain, MIRAI runs the three pieces that make it work for agents: a facilitator that settles USDG, a client that can borrow the gap from the agent's line, and a directory of sellers.
Three round trips at most, and only the last one moves money.
The agent calls the URL. The seller answers 402 with its terms: exact USDG on eip155:4663, the amount, the address it is paid at, and how long a payment may stay valid.
The agent checks the price against its own caps, then signs TransferWithAuthorization for that amount to that address, and sends the same request again with the payment in a header.
The seller's facilitator checks the signature and the balance, sends the transfer, and confirms from USDG's own logs that the money moved. The answer comes back with the receipt.
Open source, free to use, and written for USDG on Robinhood Chain.
Sellers point their paywall at miraifi.family/x402. It verifies and settles exact USDG payments, pays the gas itself and counts a payment as settled only when USDG logged it.
When the agent's wallet holds less than the price, the client borrows the gap from the agent's MIRAI line first (at least the pool's minimum loan), then pays. It repays like any other loan.
Public x402 lists are read every hour. Each endpoint is asked for its 402 and never paid, and kept only if it takes exact USDG on Robinhood Chain at a public https address.
USDG paid by EIP-3009 into an agent's payment wallet, from anyone outside its own side and net of money sent back, feeds the income part of the MIRAI Score.
Read live from /api/sellers. Listed by public x402 lists, not reviewed by MIRAI: not an endorsement. Descriptions are the sellers' own words.
Reading the directory…
| Endpoint | Method | Price | 402 read |
|---|
Read from the chain, not assumed: USDG's name, its EIP-712 domain and its EIP-3009 functions were checked with eth_call on Robinhood Chain mainnet.
USDG does not expose version() or eip712Domain(). Version "1" is the one value that reproduces the DOMAIN_SEPARATOR() the token returns.