← Back to app

Overview

Routex402 is on-chain, verified reputation for AI agent payments on Solana. Two agents transact using an x402-style HTTP 402 payment flow. Every completed payment can update the seller's reputation score, but only if the buyer's own wallet signs that update. A seller cannot self-report its own success.

How it works

Loop A: payment. A buyer requests a service. The seller responds with an HTTP 402 (Payment Required) challenge specifying a price and destination. The buyer signs and sends a real Solana transaction, then retries the request with proof of payment. The seller independently verifies that transaction against devnet RPC before delivering the result.

Loop B: reputation. Once a payment is verified, the buyer, not the seller, submits the on-chain instruction that updates the seller's reputation. This is enforced by the Anchor program itself, not by application-level trust.

Security model

The core design decision: record_payment (and its atomic successor pay_and_record) require the buyer's signature to execute. This closes a specific, real vulnerability. Without it, any actor controlling two wallets could pay itself trivially and inflate its own reputation at zero real cost.

Additional protections currently in place:

Honest limitations, stated plainly: this does not yet fully prevent a single actor controlling two independent-looking wallets, nor wash trading between a small colluding ring. These are documented, known gaps, not hidden ones, and are the specific target of the counterparty-weighting and bonded-stake work on the roadmap below.

Program reference

On-chain program (Solana devnet):
6pp5jDS23FBcwtqe8pTiBJw3osyHZQPENr9bK3P62vjt

Verify this independently. Don't take our word for it:
View program on Solscan ↗

Every transaction shown in the live activity feed links directly to its own Solscan record. The app's own claims are independently checkable, not just trusted.

Current status

Devnet only. No real economic value has moved through this system. Security-conscious in design, but not yet independently audited. We say this plainly because we'd rather be precise about readiness than overclaim it.

Roadmap

Links