Whitepaper

Ring402: private payments for agents.

How Ring402 brings sealed settlement to x402 on Solana.

Why

Agents pay for data, models, search and compute one call at a time. On a public chain, every one of those payments shows what an agent buys, how much it spends and how much it has left. For agents running strategies or businesses, that is the whole playbook.

How

Ring402 settles x402 payments inside Helius Privacy Rings, the shielded pool on Solana mainnet. Balances and transfer amounts are encrypted on chain, and every private transfer is verified by a zero knowledge proof in a single Solana transaction.

Each agent gets its own vault. Funds sent to the vault move into a private balance. When an agent pays, it signs an authorization with its own key. Ring402 checks it and moves the payment from the agent's private balance to the API's private balance in one sealed transfer.

Rules

RuleHow it works
Agent consentEvery payment needs a signature from the agent's own Ed25519 key. Ring402 never holds that key.
One use onlyEach authorization carries a nonce. A used nonce is rejected forever.
Time boundEach authorization has a start and end time. Expired payments are rejected.
Exact matchThe signed recipient, resource, asset and value must match what the route asked for.
Funds firstA payment settles only when the agent's private balance covers it.
Sealed amountsPayments settle as Privacy Rings transfers. Asset and amount are encrypted on chain.
AssetsSOL and USDC.
WithdrawalsAPIs withdraw their private balance to any Solana address with their secret.
GasA Ring402 sponsor wallet pays network fees for every private transfer.