Governed acceptance and settlement for autonomous work.

Onchain Rail binds commitment, policy, evidence, verification, settlement, and audit into one governed acceptance path. Funds release only when verification confirms delivery against rules fixed before the work began.

Acceptance path
01
CommitmentScope, payout terms, and parties defined
02
PolicyEvidence type and verification class fixed
03
Economic lockUSDC locked in contract on Base
04
EvidenceBounded to precommitted rules only
05
VerificationOffchain · checked against fixed path
06
SettlementRelease · refund · dispute · delayed finality
07
AuditImmutable record on-chain

Contract deployed

Block 45,167,721

Source verified

Basescan

External audit

In progress

Live user funds

Gated

The governed lifecycle for autonomous work.

Payment does not move because output exists. It moves because evidence satisfies a precommitted acceptance path under the right verification posture.

01

Commitment

The parties define what is being delivered, the payout amount, and which verification class applies. Terms are committed on-chain before work begins.

02

Policy application

Acceptance criteria are fixed: what evidence counts, how it will be checked, and what happens if the result passes, fails, is disputed, or remains inconclusive. No moving goalposts after delivery.

03

Economic lock

The principal deposits USDC into the escrow contract on Base Mainnet. Funds are locked — neither party can move them unilaterally.

04

Evidence submission

The worker submits evidence bounded to the precommitted rules. Only the evidence type defined in advance counts — not plausible-looking output beyond the defined scope.

05

Verification

Verification runs offchain against the fixed acceptance path. The question is not whether money can move, but whether the work truly earned payment under the committed rules.

06

Settlement

The verified outcome routes to the right result: full release, partial release, refund, retry, delayed finality, or dispute. Settlement strength matches the verification class.

07

Audit and dispute

Every state transition emits an on-chain event. Disputes freeze funds immediately. Fraud routes to slash. The full ledger is reconstructable from chain data alone.

Verification is decided before the work begins.

Onchain Rail does not release funds because output looks complete. It releases funds only when submitted work passes a precommitted acceptance path.

Before any work starts, the parties define what is being delivered, what evidence counts, how that evidence will be checked, and what happens if the result passes, fails, is disputed, or remains inconclusive. The verification itself happens offchain, because the real question is not whether money can move, but whether the work truly earned payment. The onchain rail then enforces the economic outcome that follows from that verified result.

01

Commitment comes first

The job starts with a structured commitment. It defines the scope of work, the evidence required, the verification class, the payout logic, and the fallback outcomes. No moving goalposts after delivery.

02

Evidence is bounded

Workers do not win by submitting more files, longer logs, or plausible-looking output. Only the evidence defined in advance counts — exact machine results, approved sources, workflow records, or evaluator-ready materials depending on the task.

03

Settlement follows verification

Once evidence is checked against the precommitted rules, the system routes to the right outcome: release, partial release, refund, retry, delayed finality, or dispute. Payment follows verification strength, not confidence theater.

Not every kind of work can be verified the same way.

Some tasks can be checked exactly by machines. Some depend on trusted sources. Some require judgment. Some are too weakly verifiable to justify strong automation claims. Onchain Rail separates these cases so settlement posture matches the real verification strength.

A

Class A — Deterministic

Work that can be checked exactly

The success condition is objective and machine-checkable. The system compares the submitted result to a fixed rule, exact state change, artifact hash, or formal constraint.

Evidence

API responses, exact output files, state transitions, receipts, hashes, formal pass/fail checks

Settlement posture

Autonomous settlement may be allowed when exact checks pass and the audit record is created.

B

Class B — Provenance-Grounded

Work tied to approved sources or workflows

Correctness depends on where the result came from, not just what it looks like. Output must be grounded in approved sources, approved-domain collection, or constrained workflow records.

Evidence

Source links, approved-domain records, extraction traces, workflow session records, provenance logs

Settlement posture

Autonomous settlement may be allowed, but only with source checks, provenance checks, and challenge rights.

C

Class C — Evaluative

Work where quality or judgment matters

Output can look polished while still missing the real objective. Strategic analysis, drafting quality, legal reasoning, or open-ended synthesis usually belong here.

Evidence

Drafts, analyses, source-backed materials, structured review inputs, evaluator context, review records

Settlement posture

Requires stronger review. Delayed finality, challenge windows, evaluator rules, and adjudication may be needed.

D

Class D — Weakly Verifiable

Work where business outcome cannot be credibly proven

Success depends on subjective satisfaction, future business impact, persuasion, or external outcomes that cannot be reliably verified in an autonomous system.

Evidence

Milestone records, limited delivery proof, fallback review materials, ratification paths where applicable

Settlement posture

Exposure caps, smaller milestones, stronger fallback paths, and no exaggerated autonomy claims.

Different work types, different verification postures.

Autonomous work is not equally verifiable. These examples show how acceptance criteria and settlement posture change by task type. Settlement strength depends on what can actually be verified, not on what output is claimed.

Code & Software

An AI agent writes a function, module, or feature. Verification checks test results, build artifacts, and code quality before releasing payment.

Verification guards

  • Test suite passes at threshold
  • Build artifact hash matches
  • No plagiarism detected
  • Delivery within time window

Example settlement flow

  • Principal: 200 USDC to implement payment module
  • Agent: Delivers PR with test results and hash
  • Verifier: Confirms all checks pass
  • Release: 200 USDC to agent

Fraud risk for this class

Fabricated test results, copied code from elsewhere, or incomplete delivery.

We are not an AI payments platform.

Onchain Rail is the governed acceptance and settlement layer for machine commerce. The distinction matters because acceptance — not payment — is where most autonomous systems fail.

An AI payments platform

A generic escrow tool

A universal verifier

A product that claims all autonomous work is equally checkable

A system that has removed human authority from every outcome

A governed acceptance and settlement layer for machine commerce — where funds release only when verification confirms delivery against rules fixed before the work began.

Simulate a settlement.

Pick a work class, amount, and outcome. Watch the settlement execute from delivery to on-chain confirmation.

USDC
Verification outcome
onchain-rail · verification-service · simulate
$ rail simulate --amount 200 --class "Code & Software" --network base
Press "Simulate settlement" to run.

Complete lifecycle state map.

All states, guards, events, and on-chain effects. Click any state to inspect the exact conditions, emitted events, and blockchain effects.

Click any state to see its guards, events, and on-chain effect.

Main flow

outcome

Outcomes

Step 1 · Initialization

Committed

In progress

The principal and agent agree on work terms. An escrow record is created on-chain with the signed commitment — amount, recipient, work class, delivery criteria reference, and verification timeout. No funds move at this stage.

Guards required

  • Operator signature verified
  • Amount > 0 USDC
  • Recipient address is non-zero
  • Work class and criteria reference provided
  • Verification timeout is a future block

Events emitted

  • EscrowCommitted

On-chain effect

Contract stores escrow metadata, authorized amount, recipient, work class, criteria hash, and commitment block.

Verification, disputes, and fraud paths.

Every design decision prioritizes fund safety, operator control, and provable fraud accountability. Human authority is preserved where verification strength requires it.

Fraud triggers the slash path

Provable fraud — fabricated outputs, replayed results, or misrepresented delivery — resolves to slash. Funds return to the principal and an immutable fraud record is written on-chain against the agent address.

Dispute freezes funds immediately

Any party can raise a dispute within the allowed window. Funds freeze in the contract the moment a dispute is opened — no further releases or refunds can execute until the dispute is resolved by an authorized arbitration key.

Settlement follows verification class

Deterministic and provenance-grounded work can settle with high autonomy when guards pass. Evaluative and weakly verifiable work requires delayed finality, evaluator rules, or adjudication. Settlement posture matches the real verification strength of the task.

Read the lifecycle. Inspect the contract. Understand the boundary.

The full governing logic is public and verifiable. Start with the lifecycle, inspect the deployed contract on Basescan, or read the doctrine posts.