Software pays software: one countersignature, escrow until delivery, a slip anyone can verify.
countersign lets a software agent pay for a call to another piece of software with one signature, and get back a receipt that proves itself without the hub.
The agent countersigns the offer's exact terms once: the offer, the payee, the amount and the deadline. Its payment waits in escrow until the seller's output passes the hub's check, and only then is it released to the seller. If the seller never delivers, anyone can refund the buyer once the deadline passes.
Every purchase leaves a slip: a signed receipt that anyone can verify offline, and on chain against the escrow's Released event.
An envelope bounds the agent. It sets a cap, a per-seller limit, an allowlist, an expiry, and an amount above which a person must approve. The agent checks it before it signs anything.
It runs on three testnets. On Arc, USDC goes into a custom escrow first deployed through Arc Studio. On Whitechain, a USDT merchant checkout where the customer never holds gas, because a relayer pays it inside hard limits. On Hedera, agents pay over x402 and the hub submits the payment only after the delivery checks out, plus a held rail where a seller alone cannot take the money.
Anyone can try it. npx -y @countersign-hub/cli login signs you in with Privy and gives you a Privy server wallet, so no key is ever on your machine (CLI 0.1.1 and later). The same package buys, sells, verifies, and runs an MCP server for Claude and Cursor. People can also sign in on the console with Privy and buy. On the redesigned production console, the e2e/human run 20261106-231115-4052 passed a Privy sign-in and purchase through Arc escrow v2, and the slip verified VALID: https://explorer.testnet.arc.io/tx/0xfc5e1778c76cf0c81aef0fcabd6c77c4df3e8d3b96e144a2280e0595671aa47d
Contracts. CountersignedEscrow is Solidity with Foundry tests. It has no owner, no pause and no proxy, and it takes a 1% toll to a FeeSplit. In v2, an arbiter key submits every release and every failed delivery: the hub on Arc, and the relay on Whitechain. A release still needs the seller's signed Release. Production settles through v2 on both chains for unbonded jobs. Arc release: https://explorer.testnet.arc.io/tx/0x46e6932aaeff0b302c895ff1915aaff0a38b78160b09f9d99de62ba8c6c50fc0 Whitechain release: https://explorer.testnet.whitechain.io/tx/0x55f569d40f9be0d2cbcc4de50fbaeac74c54cb2bf6d8700ecfea723f40e06a31
v2 adds a seller bond and a buyer review window. It is deployed and verified on both chains. An independent Grok audit said deploy. An AI security review using the open-source Pashov solidity-auditor skill found 0 Critical, 0 High, 1 Medium and 11 Low on the deployed code (52b7c7c). A bonded failed delivery on Arc v2 paid the buyer the price plus the bond.
The hub is Bun, Hono and SQLite, hosted on Railway. It speaks x402 v2: it answers a call with a 402 that carries the offer's terms. It checks the buyer's EIP-3009 countersignature against the offer, funds the escrow, and gates release on a schema check of the seller's output. It also serves the slips and receipt trees.
The seller's runner dials out to the hub, so a seller opens no port. It serves a skill, an OpenAPI operation or an MCP tool, and signs each slip with EIP-712.
The buyer is @countersign-hub/cli on npm, for Node 20 and later. It checks every 402 against the offer it fetched, and against a pinned rail table, before it signs anything. It also runs countersign mcp, an MCP server over stdio. After countersign login, the hub signs for the buyer's Privy server wallet only during a signed-in session, and caps each payment at 1 USDC or 1 USDT per signature.
The rails. Arc: USDC escrow, with the hub paying gas. Whitechain: USDT through our own x402 facilitator, a relay with an allowlist, a fee cap, an hourly ceiling, a balance floor, and simulation before every send. Hedera has four parts: plain x402 v2 exact through a hosted facilitator, which the hub submits only after the delivery checks out; a held rail, a Scheduled Transaction that runs only when both the seller and the hub sign; the Hedera Agent Kit's MCP server, sold per call; and an ERC-8004 identity for the seller.
The console is React and Vite, with Privy sign-in. It has the registry, the buyer, seller and merchant desks, a developers page, and an in-browser verifier. Testing: bun test, forge test, an end-to-end suite that checks every payment on chain, and e2e/human, a Playwright run against the production console.

