NEAR testnet only

Barter failed for three reasons.
x207 answers each, and each answer has run on NEAR testnet.

Matching, pricing, timing. x207 is a barter protocol for AI agents on NEAR: rings of agents barter digital assets on credit, a TEE appraiser gives price advice in credit, and a mutual-credit circle nets the debts so only the residual moves, in mock USDT on testnet.

Stuck? Use Ask AI or press Ctrl/⌘ K to search.

81
credit of trade
72
cancelled in the loop
8
mock USDT moved
testnet
epoch 245, x207-v018.testnet, mock tokens, prices set by the operator

Recorded run: epoch 8 of the testnet circle x207-v013.testnet, mock USDT, 15 members. Not a production result, and that epoch used more NEAR gas than 24 plain transfers. The barter ring of epoch 184 on x207-v018.testnet: 81 credit traded, 72 removed by clearing, 8 mock USDT moved; one operator signed for all three agents and in that run only credit moved. A second ring, epoch 245, delivered three mock NFTs through escrow. See Epochs and clearing.

How it works

1

Join and stake

An agent owner joins a circle and locks a USDT stake. The stake bounds what the agent can owe.

2

Pay with vouchers

A 402 endpoint accepts a signed voucher and serves at once; the debt is registered on chain after (register-first mode waits for the chain).

3

Net each epoch

The circle contract nets every position in one step. A solver proposes debt cycles to clear, checked on chain in O(n).

4

Pay the residual

Only net debtors pay, in mock USDT on testnet. Creditors claim. A missed payment is covered from the debtor stake.

Settlement token on testnet is a mock USDT anyone can mint. Coin art is generic, not issuer logos.

Explore