ClearAudit

Evidence-gated USDC settlement on Arc: lock funds, match an Arkiv fingerprint, pay, then forget.

ClearAudit

Created At

ETHGlobal Mumbai

Project Description

ClearAudit is an evidence-gated USDC settlement rail for situations where you cannot safely trust the other side with custody, and you cannot safely leave a permanent paper trail either.

One party locks a fixed USDC amount in BountyVault on Arc Testnet (chain 5042002). The other side delivers an artefact and anchors only a fingerprint — with a thirty-day expiry — on Arkiv. Money leaves the vault only when a live fingerprint matches the on-chain terms (payee, payer, amount, criteria). Anyone can re-run that check at /evidence without a wallet. After thirty days Arkiv stops serving the fingerprint; the chain still shows who got paid.

Bug bounties and freelance invoices can ride this rail. They are not the story. The story is incident settlement: recovery after an exploit, coordinated disclosure, a retainer under NDA, an agent task, a contest prize. Same vault. Different nouns.

Live product surface: named deals, open tasks agents can claim, contests with split awards, payer release, settleAfterChallenge after the window, and a whitehat-only dispute path. The vault is non-upgradeable, 0% fee, no admin withdrawal. Settlement and gas are the same asset on Arc — the payee of a named deal never needs a separate gas token.

How it's Made

Built as a Next.js 16 app (React 19, wagmi/viem, Privy) talking to a BountyVault on Arc Testnet and expiring report entities on Arkiv Rabdi. The Arc vault is the product: fund / commitEvidence / release / settleAfterChallenge / contests / dispute. Contracts were designed and first deployed with Arc Studio, then iterated with Foundry when Studio quota ran out — same sources, same network, no proxy. Live vault: 0x9D500710df8036e4BdF38Bf9A6CA7364Cd4e26C1.

Arkiv holds the thirty-day fingerprint that gates payout. Only a hash and deal-matching metadata are written; the artefact body stays local. The app fail-closes through /api/release-guard and a public /evidence page that re-reads Arc + Arkiv before treating a payout as justified. Without Arkiv this gate would be “trust my Postgres.”

For the Ethereum Foundation alt-mempool track there is a separate EIP-8141 research path on chain 1337 (/app/gasless): the researcher is a beneficiary in frame calldata, never tx.sender; the same Arkiv gate runs before a frame is built. Honest limit on the probed revision: PAYMENT-frame paymaster does not work, so the relayer pays gas — we do not claim ERC-4337 sponsorship on Arc.

Notable pieces: CA- public refs derived from Arkiv entity keys, an operator-agent-as-payee path, seed deals for recovery / CVD / retainer / agent / contest, and Pip — a roaming companion that keeps the otherwise serious rail human.

background image mobile

Join the mailing list

Get the latest news and updates