Devnet active . Mainnet pending . Solana

Receipt settlement for inference.

Devnet v3 activeDevnet epoch: 5 minutesTarget epoch: 1 hour
DevnetDevnet v3 activeDevnet v3 point-in-time snapshot read on 2026-07-06

ClawFarm records wallet-paid inference payments, routes base Test USDC to provider pending revenue, and turns finalized epoch roots into CLAF reward claims.

Settlement

Settlement, live.

TimestampProvider walletConsumer walletModelTokens meteredUSDC settledBase chargeProtocol tax
Loading settled calls.

Current technical implementation records payments through masterpool v3 and settles ended epochs through aggregate roots and Merkle claims.

Mining

Mining.

Payment records do not pay direct per-call rewards. Finalized epoch roots carry buyer and provider allocations, and Merkle claims transfer CLAF directly from the reward vault. Devnet v3 uses 300-second epochs for testing cadence; the mainnet target keeps 1-hour epochs without changing the total scheduled CLAF emission.

Provider epoch pool

70%

Buyer epoch pool

30%

Reward claims

Direct

Devnet challenge window

60 sec

The devnet challenge window is intentionally short for testing. Mainnet target timing is 1 hour per epoch and remains pending until mainnet config is deployed.

WalletRoleCLAF amountTimestamp
Loading mining events.

State

The protocol, in four numbers.

1B

CLAF total supply

3%

Payment tax cap

70%

Provider reward pool

5 minutes

Devnet epoch duration

Values are rendered from the selected network profile. Devnet is the default first-visit network.

Directory

Model labels for payment records.

Any wallet can choose a provider. Directory data remains off-chain.

ModelProvidersPrice30d volume
model-l-001
model-l-002
model-l-003
model-i-001
model-i-002
model-v-001
model-v-002

Full model directory →

Supply

Identity-blind supply.

WalletProvider account

Registration is address-based. ProviderAccountV3 records provider wallet, pending provider USDC, status, and timestamps. Current v3 registration has no upfront USDC collateral transfer.

DirectoryOff-chain metadata

Endpoint, model, price, quality, and limits belong to app, gateway, or operator-directory metadata.

ProofSettlement proofs

Payment recording uses delegated payer USDC authority; finalized settlement roots verify provider and buyer Merkle proofs.

Explorer

Protocol state.

Network

Masterpool v3 program
263W...rVGF
CLAF mint
BstF...ASYb
Test USDC
Pn9L...TZQo
Masterpool v3 config
6CAC...WX1m

Snapshot

Devnet epoch duration
5 minutes
Target epoch duration
1 hour
Treasury vault
19.768488 Test USDC
Provider pending vault
2.53232 Test USDC

Full state view →

Treasury

Treasury and pending revenue.

In devnet v3, every payment uses a bounded payment tax rate. The tax moves to the treasury vault, while the base charge moves to provider pending revenue. The whitepaper target adds treasury split, buyback, burn, and protocol-owned-liquidity policy for mainnet. The live masterpool settlement program exposes payment, settlement-root, and claim instructions only.

Payment tax cap

3%

Treasury vault

19.768488 Test USDC

Provider pending vault

2.53232 Test USDC

Target treasury policy

Whitepaper

Snapshot scope
Treasury and pending provider vault balances are exposed through the selected network profile.
Event stream
No automated swap-and-retirement event stream is exposed by the current contract.

Treasury and pending provider balances come from a refreshed point-in-time devnet v3 snapshot. Mainnet target policy remains pending until deployment records exist.

Full state view →

Interface

The interface.

One SDK. Identical surface across off-chain provider choices and wallet-settled calls.

import { ClawFarm } from '@clawfarm/sdk'

const cf = new ClawFarm({ cluster: 'devnet' })

const payment = await cf.payments.record({
  providerWallet,
  payer: connectedWallet.publicKey,
  payerUsdcToken,
  paymentDelegate,
  paymentIndex: 42n,
  paymentNonceHash,
  baseChargeUsdc: '0.025000',
  taxRateBps: 300,
  taxSweepThresholdAmount: 0n,
})

const settlement = await cf.epochs.commitSettlement({
  epochId: payment.epochId,
  usageRoot,
  providerRoot,
  buyerRoot,
  artifactHash,
  artifactUriHash,
  totals: payment.epochTotals,
  providerPoolClaf,
  buyerPoolClaf,
})

await cf.epochs.finalizeSettlement({ epochId: settlement.epochId })

await cf.epochs.claimBuyerReward({
  epochId: settlement.epochId,
  leafIndex,
  buyerWeight,
  buyerClafReward,
  proof,
})

await cf.epochs.claimProviderEpoch({
  epochId: settlement.epochId,
  leafIndex,
  providerBaseUsdc,
  providerClafReward,
  proof,
})

SDK in TypeScript, Python, Rust. → SDK reference

Economics

Emission follows usage.

Emission

CLAF emission inventory is minted at Genesis. Epoch rewards are allocated by finalized buyer and provider usage weight.

Settlement

USDC settlement is epoch-root based. The configured tax rate routes tax to treasury, records base charge as pending provider revenue, and releases provider USDC through finalized root claims.

Distribution

Reward claims transfer CLAF directly from the reward vault to provider or buyer token accounts.

For developers.

Add settlement to your AI app or agent. Same compatible interface, three lines to switch in. Settlement is metered per request — no minimums, no setup fees, and portable SDK wrappers.

Start with the SDK →

For providers.

Register a provider account. The protocol does not ask where capacity comes from. Provider USDC releases after epoch settlement finalizes and the provider claim verifies against the finalized root. CLAF rewards accrue through finalized epoch weight.

Register a provider account →