Open a tab
The agent locks a budget with one seller. A tab is a chain of N hash values, so it can make N payments and no more. Only the end of the chain goes on chain.
Pay-per-call payments for AI agents.
AI agents pay per call with a hash, not a signature. A thousand payments settle in one transaction on Robinhood Chain.
Deployed on Robinhood Chain (chain id 4663). Reviewed independently in eight rounds. Not audited. $PREIMA has not launched. The panel runs a real hash chain in your browser and moves no money.
How it works
A tab is a chain of hash values locked on chain. Each payment reveals the next one. Nothing is signed.
The agent locks a budget with one seller. A tab is a chain of N hash values, so it can make N payments and no more. Only the end of the chain goes on chain.
Each call carries the next value. The seller hashes it back to the last one it accepted. No signature, no transaction and no gas per call.
The seller keeps the latest value. One transaction proves all of them at once and pays out. Whatever is left returns to the agent.
The demo
Pick a size and a price, then pay. Every value below is hashed and checked in this page, by the same rules a seller runs.
Paid 0 of 0 USDG. The agent holds the secret end of the chain.
Settlement, if the seller claimed now: no payments yet.
The fields hold the next real ticket. Change a character, jump ahead or replay an old one, then send it. The seller answers with the SDK's own refusal reason.
The parent gives a child one chain value and a range. From that value the child can compute exactly m payments and nothing later.
This demo runs locally in your browser and moves no money. The tab, the chain and the seller are all in this page. USDG amounts are labels, not balances.
Measured
The paying side has no elliptic-curve key. Tabs take no signature, and the agent wallet is owned by a hash-based key. Whatever breaks elliptic curves, a quantum computer or a faster algorithm on an ordinary one, finds nothing to forge here.
Source: the tabs contract has no signature argument; the wallet has no elliptic-curve path. Chain and issuer keys are out of scope.
A chain of N values makes N payments and no more. A value past the end cannot be computed from the ones already revealed, so a tab size is a hard limit.
Source: the chain definition (SPEC section 2.1), the tabs contract tests and the independent reviews.
Settling 1,000 payments in one claim took 257,263 gas. Each extra payment adds about 140 gas, so the cost per payment falls as a tab fills.
Source: a fork of Robinhood Chain against real USDG, independent review round 1 (2026-12-04). Execution gas only, measured before the $PREIMA stamp: a claim that pays the stamp costs about 59,000 gas more (local run, one payment). The chain's data fee was not measured.
Exposure check
Paste a Robinhood Chain address. We read its transaction count and whether it holds code, and explain what that means.
This is information, not a safety verdict. It reads one chain only, and it cannot tell you whether an address is safe or whether funds are at risk.
Sending a transaction publishes the account's public key on chain. That key is what a signature-forging attack needs.
It has not published a public key on this chain. A key can still have been published elsewhere if the same key is used on other chains.
A contract has no key of its own. What can move its funds is set by its code and the accounts it answers to.
The Cube
A pot on Robinhood Chain that anyone can take by revealing an input that hashes to a published target. That means breaking the hash function the whole rail stands on. Nobody, including the team, knows the answer. It holds USDG and, after $PREIMA launches, $PREIMA too. Cracking it pays both.
0x0a4e3f360f06c2d72ed8a70a8c6f2597e0d203f5 Explorer$PREIMA
After launch, a seller cannot settle a tab without $PREIMA. $PREIMA has not launched. There is no token address. Each job below is built into the contracts and tested, not live. Until it launches, settlement costs 0.5 percent of the value settled, in USDG, pinned when a tab opens, and those fees go to the Cube.
A live ranking of agents and sellers by payments settled. Every settled payment adds a bead to a strand.
After launch, every settlement burns $PREIMA, and the key that settles pays it: for a seller, its own settling key. The amount comes from a rate the owner sets by hand, aimed at about 0.5 percent of the value settled. By default 80 percent is burned and 20 percent goes into the Cube. The USDG fee is gone. Nobody can spend anyone else's coin, and agents never need it.
Built into the contracts and tested, not live.
A seller with $PREIMA locked settles with nothing burned, on tabs that end within 30 days. Unlocking takes 30 days' notice.
Lock contract: 0x17a958431a2257ad70bdae6a610b5e63e46368e8 Explorer
$PREIMA is burned to claim a name and a colour on the Board, a live ranking of agents and sellers by payments settled. There are no payouts of any kind.
Board contract: 0xe015c86a1169fbbec4b6e913fa72fcf36a251f51 Explorer
Build with it
Both sides use the same package. It adds the scheme preima-tab to x402.
Wrap a handler. The seller checks every ticket offline and settles in bulk from a gas key it owns.
npm install https://preima.xyz/sdk/preima-sdk-0.3.0.tgz
import { createSeller } from '@preima/sdk/seller'; const seller = createSeller({ payTo: SELLER_ADDRESS, asset: TOKEN, contract: TABS, unit: '0.001', rpcUrl: process.env.RPC_URL, gasKey: process.env.SELLER_GAS_KEY, }); seller.start(); export default { fetch: seller.protect('0.001', async () => Response.json({ ok: true })), };
A drop-in fetch. On a 402 it opens or finds the tab, saves the position, sends the next ticket and retries.
npm install https://preima.xyz/sdk/preima-sdk-0.3.0.tgz
claude mcp add preima --env PREIMA_CONFIG=/path/to/preima.json -- node node_modules/@preima/sdk/src/mcp/bin.js
import { createAgent, EoaPayer, FileAgentStore } from '@preima/sdk/agent'; const agent = createAgent({ payer: new EoaPayer({ privateKey: PAYER_KEY, rpcUrl: process.env.RPC_URL, chainId: 4663, }), tabKey: TAB_KEY, contracts: [TABS], budgets: { perCall: '0.10', perTab: '5.00', perDay: '20.00', }, store: new FileAgentStore('./agent-state.json'), }); const res = await agent.fetch('https://api.example.com/data'); // upkeep: refunds finished tabs, closes idle ones setInterval(() => agent.maintain(), 60 * 60 * 1000);
Paid endpoints
Six endpoints at api.preima.xyz sell Robinhood Chain data per call, in USDG, through the same package.
| GET /v1/ping | 0.001 USDG Server time, a block number read at most 10 seconds ago and where this ticket left your tab. |
|---|---|
| GET /v1/gas | 0.001 USDG Gas price, base fee and block read at most 10 seconds ago, and the execution gas cost in ETH of a transfer, a tab open and a 1,000 payment claim. |
| GET /v1/exposure/{address} | 0.002 USDG Key exposure report for an account: transaction count, code size, EIP-7702 delegation, ETH and USDG balance, and a plain verdict. |
| GET /v1/token/{address} | 0.002 USDG ERC-20 facts in one read: name, symbol, decimals, total supply, code size and owner, each null if the token does not answer. |
| GET /v1/balances/{address}?tokens=a,b,c | 0.002 USDG ETH balance plus up to 20 token balances with decimals and symbol, in one read (USDG if no tokens are named). |
| POST /v1/simulate | 0.005 USDG Runs a call at the latest block without sending it: return data or revert data with the decoded reason, and a gas estimate. |
A bad input costs nothing. A ticket is taken before the chain is read, so a read that fails after that is paid and says so. How to call them
import { createAgent, EoaPayer, FileAgentStore } from '@preima/sdk/agent';
const agent = createAgent({
payer: new EoaPayer({ privateKey: PAYER_KEY, rpcUrl: process.env.RPC_URL, chainId: 4663 }),
tabKey: TAB_KEY,
contracts: ['0xda5c1c78c34a26ee5f2a0ce683fc0f41f41aa5df'],
budgets: { perCall: '0.01', perTab: '0.50', perDay: '2.00', allowlist: ['api.preima.xyz'] },
store: new FileAgentStore('./agent-state.json'),
});
const res = await agent.fetch('https://api.preima.xyz/v1/ping');
console.log(await res.json());
Status
The contracts are deployed on Robinhood Chain.
| Chain | Robinhood Chain, id 4663 |
|---|---|
| Tabs contract | deployed0xda5c1c78c34a26ee5f2a0ce683fc0f41f41aa5df Explorer |
| Wallet factory | deployed0xd84b25b28198d18aa1cf62f0335d4e35653d738c Explorer |
| Deployed at block | 130207488 |
| Contract owner | 0x8df185F5880853887A87948091aB0bdB47BB0a1b ExplorerSets the coin address once, names the Cube once, sets the burn rate by hand (a raise needs a 7-day public notice), sets the Cube share, and can change the pre-launch fee for new tabs, up to 1 percent. It cannot touch an open tab's money. |
| Fee before $PREIMA | 0.5 percent of the value settled, in USDG, pinned when a tab opens. Those fees go to the Cube. |
| After $PREIMA launches | A seller cannot settle without it: settling burns $PREIMA, paid by the key that settles (for a seller, its settling key), or the seller has it locked and settles free on tabs up to 30 days. The USDG fee is gone. built and tested, not live |
| Review | Reviewed independently in eight rounds. Not audited. What each round found |
| $PREIMA | not launched There is no token address. |
| Lock, Cube, Board | Deployed. Addresses are in the sections above and in deployment.json. |
| SDK | Built and tested. Not on npm. |
No. The risk is to elliptic-curve signatures, whatever breaks them. On 4 December 2026 an unconfirmed report said a lab had told US officials that ordinary computers can solve what quantum computers can (P = BQP). No proof has been published. Preima does not depend on whether it is true: the paying side has no signature either way.
No. Its operator keys and USDG's issuer keys are ordinary keys. Preima removes the agent's key, not theirs.
Six endpoints at api.preima.xyz: a ping, gas costs, a key exposure report, token facts, balances and a call simulation, from 0.001 to 0.005 USDG a call. See the list.
Yes. A plain x402 client cannot pay a preima-tab seller, and a plain seller cannot take these tickets. Another implementation of the same scheme would also work.
Today, 0.5 percent of the value settled, in USDG, pinned when a tab opens. After $PREIMA launches, each settlement burns $PREIMA instead, paid by the key that settles (for a seller, its settling key), at a rate the owner sets by hand and aims at about 0.5 percent of the value settled, or settles free with $PREIMA locked on tabs up to 30 days. The USDG fee is gone then, and payers pay nothing extra.
Not today. After $PREIMA launches, yes: a seller cannot settle a tab without it. There are two ways: its settling key burns $PREIMA on each settlement, or the seller has $PREIMA locked and settles free on tabs up to 30 days. A seller that cannot settle is not paid, and the tab refunds the payer.
No. Agents pay in USDG and never need $PREIMA.
The rest returns to the payer at expiry or a day after a close request. After $PREIMA launches, a seller that has none cannot settle, and the tab refunds the payer the same way.
The agent refuses a seller after one proven lie, and starts unknown sellers on a small tab. It refunds its own finished tabs when upkeep runs on a timer, which the MCP server does by itself.
A seller accepts each ticket in one atomic step, so a ticket cannot be served twice. A ticket too far ahead is refused before any work is done.
No. Reviewed independently in eight rounds. Not audited. Read what each round found.
$PREIMA has not launched. There is no token address.
Both sides use the same package. It adds the scheme preima-tab to x402.