Innovation Blockchain

Documentation · Coston2 testnet prototype · invented data

Documentation Who is trusted

Who is trusted for what

One table of every party in the signed-record design: what each can do, what each cannot, and what you still have to trust it for. Then every known gap, marked closed by the signed record or still open.

Read this with the status in mind. The signed record, registry v2 and the lender's vault are built and tested on a local chain. The owner has not deployed them on Coston2, and no record has been signed with the owner's key. "Closed" below means the code refuses it and a test shows that. It does not mean it has been shown on a public network. Nothing here is legal or financial advice.

The one sentence#

A signature shows who issued the record and that no field changed afterwards. It does not show that the facts are true.

The parties#

PartyCan doCannot doTrusted for
Inspector, as holder of the pinned keyWrite and sign a record. Replace his own record with a later one. Revoke his own keyChange a record after signing without the signature failing. Write into another signer's slotEvery fact in the record and the report. He is their sole author. A careless inspector or a stolen key can still produce a PASS until the lender repins or the key is revoked
LenderPin the one signing address and the one schedule hash its vault accepts. Set a maximum record age, the procedures a record must cover, whether exceptions allow a draw, an optional second fact, and a pauseExtend a record's validity. Change the registry, the facility, the borrower or the credit limit of a deployed vaultIts own pin. The key id must come from the engagement letter, not from a site or a chain alone
BorrowerRelay a signed record. Ask for a draw. Report a repayment in the mock vaultWrite or change a record. Open a draw the gate refusesNothing in the gate. It can hold back a FAIL it has been given; the inspector relays his own records
Facility operator, or whoever controls a hostDecide what the host printsChange a capture after the inspector hashed it without verify finding itThe host read itself. No manufacturer hardware evidence is collected, and no real host has been read
Relayer (anyone)Pay the gas to deliver a signed record or a signed revocationAlter a record, or post an unsigned oneNothing. A relayed record is only as good as its signature
Registry v2Store a record whose signature recovers to the address it is filed under, if every rule holds. Record a revocationBe changed. It has no owner, no submitter, no admin function and no upgradeRunning its published code. It does not say who is an inspector
Whoever deploys a vaultChoose its registry address, lender, borrower, facility, credit limit and first settingsChange the fixed ones afterwardsHaving deployed what the lender expects. The lender should read the settings back before relying on the vault
Flare validatorsSet the block timeBlock time, which decides when a record is stale. Coston2 is a testnet and can be reset
The runner's walletSign and post invented test records to the runner's own registry and vaultAct on the owner's demo contractsNothing. It is a labelled test inspector, lender and borrower of its own vault. It shows mechanics, not a separation of roles
FCC machine, provisioner, extension owner, FDCIn the v1 demo: check a record against a private coverage file and post through registry v1Open or close the v2 gate. They are outside it in this designOnly within the v1 demo, which stays as a dated record. The test machine has no enclave
Owner and submitter of registry v1In the v1 demo: the owner names the submitter, and only the submitter postsAnything in registry v2, which has neitherOnly within the v1 demo. Whoever holds the v1 owner key controls what is posted there

Gaps closed by the signed record#

Gap in registry v1StateHow
No inspector identity on chainClosed by the signed recordThe record carries the hash of the inspector id and is filed under the address that signed it
The record digest was opaqueClosed by the signed recordThe registry recomputes the digest from the fields it stores. The layout is fixed: 15 words, 480 bytes
The registry's owner or submitter could open a vaultClosed by the signed recordRegistry v2 has no owner and no submitter. A vault reads only the slot of the key its lender pinned
Validity had no capClosed by the signed recordThe registry refuses a validity above 105 days. The kit builds none above 104
A PASS could carry exceptions or unmatched unitsClosed by the signed recordThe registry refuses a PASS with exceptions, or with matched below scheduled, and any pass on an empty schedule
A future-dated PASS could block another party's FAILClosed by the signed recordEach signer has his own slot, and an issue time may be at most 15 minutes ahead of the block time
The lender had no roleClosed by the signed recordThe lender pins the key and the schedule, and sets age, scope and pause
verify did not cover the files a lender readsClosed by the signed recordinspect verify regenerates all six result files, the report page included, and compares bytes

Gaps still open#

GapStateWhat it means
The truth of the inspectionStill openThe signature does not show the facts are true. This is the inspector's work and name
The host read is controlled by the hostStill openWhoever controls a host controls what it prints. No manufacturer hardware evidence is collected. No real host has been read
Seven of eight procedures have no structured evidenceStill openThe tools record 6.2 only. The record says so: procedures is ["6.2"] and sighted is 0
A job from plain nvidia-smi files still buildsStill openSuch files carry no inspection code and no time. The report's scope names those hosts. The record and the chain do not. Whether the record should carry this is an open design point
ConfidentialityStill openThe test machine has no enclave. Flare Confidential Compute is not on Flare mainnet, and Flare has published no date
One person in several rolesStill openIn every run on Coston2 so far, and in the runner, one account played inspector, lender and borrower. The multi-party testbed runs the roles as separate programs with separate accounts, on a local chain only, where a wallet gate stands in for each party's keystore. On a public network the roles are apart only if separate keystore accounts are used
Key custodyStill openKeys sit in keystores on one computer
A lost key cannot be revokedStill openRevoking needs a signature from the key. Records lapse within the validity cap, and lenders repin
A stolen keyStill openWhoever holds it can sign a PASS until the lender repins or the key is revoked
After a key rotationStill openEvery vault reads NO_RECORD until each live record is signed again with the new key
A withheld FAILStill openThe registry stores what is relayed to it. A signed FAIL that nobody relays is not seen. The inspector relays his own records
Records can be copiedStill openA signed record names no chain or contract, so it can be relayed to any copy of the registry. Sample and demo records carry names that say what they are
The inspector's own future-dated recordStill openFor up to 15 minutes a signer's future-dated record holds back his own earlier-dated one
Manual stepsStill openReading the registry, rotating a key and relaying a revocation are manual cast calls. See Operations
No published inspector keyStill openThe owner has not chosen an inspector id or made a key. See Keys

What a lender can check alone#

With the report folder, the engagement letter, Node 22 and Foundry's cast, and no key:

  1. Every evidence file hashes to the bundle hash, the bundle hash is inside the report body, and the report hash is inside the record.
  2. Every file of the result regenerates byte for byte from the evidence.
  3. The record digest recomputes from the record's own fields.
  4. The signature over that digest belongs to the key id written in the engagement letter.
  5. Which procedures of the standard the record covers, and how many units were physically sighted.
  6. Optionally, by read-only call: the registry holds exactly those fields under that key, and the key is not revoked.

The commands are on Check a record yourself.