Preview
Flow
1
Depositor creates an agreement
A freelancer and client define deliverable criteria, deadline, and USDC
amount through the agreement dashboard.
2
Refund Protocol contract deploys
The Smart Contract Platform deploys an EIP-712 Refund Protocol contract that
governs release and refund conditions.
3
Escrow funded with USDC
The depositor transfers USDC into the deployed contract using a
developer-controlled wallet.
4
Beneficiary submits deliverable
The freelancer uploads proof of work, which is stored and linked to the
active agreement.
5
AI validates against criteria
An OpenAI vision model evaluates the submission against the agreed-upon
acceptance criteria.
6
Release or refund settles
Based on the validation result, the contract releases USDC to the
beneficiary or refunds the depositor. A webhook confirms settlement.
Tech stack
- Next.js and Supabase for the agreement dashboard and accounts
- Circle developer-controlled wallets for the escrow agent wallet and webhook notifications
- Circle Smart Contract Platform for deploying EIP-712 Refund Protocol contracts
- OpenAI vision models for AI-powered deliverable validation
- Supabase Realtime for live agreement status updates
- Auto-provisioned agent wallet using the
generate-walletscript