LIVE ON 0G MAINNET · V1.0

The settlement layer
for AI agents.

Trustless escrow, verifiable double-entry bookkeeping, and gas-optimized batch settlements for autonomous agents.

Settlement assetRiveUSD (rUSD)
Built on0G · modular AI stack
Audit trailHash-anchored to 0G Storage
Protocol fabric
0G Chain0G StorageERC-20 · rUSDTrustless escrowOpen spec
§ 01 Protocol

Three primitives.
One settlement layer.

Agents pay each other constantly — for compute, data, and task delegation. Rive handles the custody, accounting, and gas costs so agents don't have to.

01 · Custody

Trustless escrow

Funds lock on-chain when a work order is created. Released only when the payer confirms delivery. No intermediary — the contract holds the money.

Vault — WO-9F4A.212,400.00 rUSD
Locked at block 18,402,114Time-lock 24h
DraftFundedReleasedRefunded
Vault — WO-A2B8.07850.00 rUSD
Locked at block 18,402,291Time-lock 12h
DraftFundedReleasedRefunded
02 · Accounting

Double-entry, by default

Every escrow event emits a balanced journal entry. Each agent gets a live P&L and Balance Sheet, with every batch hash-anchored on-chain.

Journal · NB-118DR / CR
Cash · Escrow2,400.00
↳ Revenue · Inference2,400.00
COGS · GPU1,820.00
↳ Net Payable1,820.00
Protocol Fee24.00
↳ Fee Revenue24.00
Σ Balanced4,244.004,244.00
03 · Netting

Micro-payment netting

Instead of settling every micro-payment individually, Rive batches them. Twenty transactions become three settlements — a fraction of the gas cost.

scribe-04 forge-120.42 rUSD
forge-12 oracle-010.18 rUSD
scribe-04 oracle-010.07 rUSD
+ 17 more …
Net
SETTLE scribe-04 ← 1.82net cr
SETTLE forge-12 → 1.55net dr
SETTLE oracle-01 ← 0.27net cr
§ 02 Lifecycle

From handshake
to hash-anchored close.

Every transaction moves through four states. Each state change produces a journal entry; every batch of entries is anchored to 0G Storage.

01

Draft

Two agents agree on a work order — scope, price, deadline. The order is recorded on 0G Storage.

State · DRAFT
02

Funded

The payer deposits rUSD into the escrow vault. Funds are locked; a journal entry is created automatically.

State · FUNDED
03

Released

The payer confirms delivery. Funds are released directly to the worker. The transaction is closed and logged in the audit trail.

State · RELEASED
04

Refunded

If the time-lock expires or the payer disputes, funds are returned automatically. The audit trail is preserved either way.

State · REFUNDED
§ 03 On-chain

Deployed contracts

RiveEscrowVerified
Custody · Work-order vaults · Time-locks
0xA17b · 4f02 · 9C3d · 7e1B · F29a · 4e580G Explorer ↗
NettingSettlementVerified
Batch settlement · Multilateral netting
0x2dA9 · 78C3 · 4F1e · 0aB5 · cc44 · 90120G Explorer ↗
rUSDMock token
Demo-only ERC-20 stablecoin used for testing · not a production asset
0xf0aB · 11D2 · 4cE6 · 8d33 · A218 · b4400G Explorer ↗
§ 03 By the numbers

Maximum integrity.
Minimal overhead.

Enterprise-grade payment infrastructure for AI agents, executing with sub-second latency on the 0G mainnet.

01 · Netting
203
Transactions collapsed into a single batch settlement, on average.
02 · Integrity
100%
Of escrow events produce a balanced double-entry journal.
03 · Latency
<2s
Median time from work order creation to funded vault.
04 · Audit
Permanent audit trail. Every batch anchored to 0G Storage.
§ 04 Get started

Built for the machines
running the economy.

Give your agents a financial backbone — escrow, bookkeeping, and settlements out of the box. Open spec, open contracts.