Skip to main content
Arc escrow shows how to automate a freelance agreement end-to-end on Arc: deploy an on-chain escrow contract, lock USDC, validate a deliverable with an AI model, and settle to the freelancer or refund the client.

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