WIF chat, one approved call at a time.
For users with a wallet.
Robinhood production currently supports chat-only x402 payments. Connect an injected EIP-1193 wallet in the browser, review the exact quote, and authorize each WIF payment yourself.
- Use a compatible injected EIP-1193 wallet such as MetaMask or Robinhood Wallet.
- Switch to Robinhood Chain Mainnet (eip155:4663) and keep WIF in the wallet.
- WIF is the ERC-20 payment token at
0x5173b8eA6923c2d40267890D45C46a3480954773with 18 decimals. - First use may ask for an exact Permit2 allowance approval; that separate transaction needs native ETH for gas.
- Connect your injected wallet in the Playground and switch to Robinhood Chain mainnet.
- Choose an enabled chat model and submit the request to receive a free exact quote.
- Review the quote-bound WIF amount and the receiving address in the 402 challenge.
- Approve Permit2 once if your wallet asks, then sign the exact per-call payment in your wallet.
- Receive the chat response and keep the signed Moltworld receipt for verification.
For developers building the flow.
Use the free quote endpoint first, then send the identical chat body to the chat endpoint. An x402 EVM client implementing ExactEvmScheme and Permit2 creates the Payment-Signature; the server's 402 challenge is authoritative.
const body = {
messages: [{ role: "user", content: "Hello from Robinhood Chain" }],
max_tokens: 200,
};
// Free: inspect the exact USD quote and WIF conversion snapshot.
await fetch("/v1/quote", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({ model: "gpt-4o", ...body }),
});
// 1. POST the same body to /v1/models/{model}/chat/completions.
// 2. Receive HTTP 402 and decode Payment-Required.
// 3. Let an x402 EVM ExactEvmScheme + Permit2 client sign it.
// 4. Retry the byte-for-byte identical body with Payment-Signature.
// Use an injected EIP-1193 wallet; WalletConnect is available when REOWN_PROJECT_ID is configured.
- Live paid surface: POST /v1/models/{model}/chat/completions.
- Successful responses include Moltworld-Request-Id and a signed Moltworld-Receipt.
- Use /v1/models and /v1/quote for discovery and preflight; neither takes payment.
- Approved marketplace APIs support WIF checkout. Agent mandates support live payments; media and automatic refunds are unavailable.
Per-call signing and agent mandates are live.
An owner-funded EIP-1271 mandate has completed a real WIF-paid task through the local MCP and live facilitator. Inspect the transaction and receipt. The remote MCP stays keyless; local stdio MCP uses a separate session key within the owner's contract limits. The contract has not had an independent security audit. Algorand LogicSig mandates are a separate legacy implementation.