Connecting · NEAR testnet

Live from testnet.

The Clear to Pay contract, read directly from your browser. No server, no database, no keys. Every number on this page is what the contract holds right now.

one square per receipt
–USDC in the pool
–Reserved for payments on their way
–Verdicts issued
–Held or seized before money moved
Receipts

Every invoice the agent submitted.

Newest first. Each receipt is the contract's own record: the verdict, every reason, the address the invoice asked to pay, and the document's fingerprint.

The address lock

Money goes to one address. Nowhere else.

Qingmar Steel Co.fictional

–
–
Supplier ID
qingmar-steel
Paid in
–
Signing key
–
Pending change
–
  • An invoice that names any other address is seized.
  • Changing it needs the supplier's signature, the buyer's approval and 72 hours.
  • The AI never chooses where money goes.

Verify a document

Drop an invoice. Your browser computes its SHA-256 fingerprint (the file never leaves your device) and looks for the receipt that carries it.

No invoice handy? Try the demo documents, byte for byte the files submitted on 30 October:
Or download one and drop it yourself: INV-2210 · INV-2209
How it reads

Seven calls. All read-only.

Each section of this page is one view method on the contract, called over NEAR's public JSON-RPC at final finality.

  1. receipt_count · get_receiptEach verdict with its reasons, newest first (the latest 200).
  2. get_paymentFor cleared invoices: the payment state and the attempt number.
  3. get_fundsUSDC available and reserved in the pool.
  4. get_in_flightTransfers sent and not yet confirmed. Their money stays reserved.
  5. get_limitsThe caps the agent cannot exceed.
  6. get_supplierThe one address money may go to, and when it became payable.

Reading from –

Every verdict is public. Read it yourself.

Contract on NearBlocks · Source on GitHub · @cleartopay