Innovation Blockchain

Documentation · Coston2 testnet prototype · invented data

Documentation FCC extension

FCC extension

Some inputs to a lending decision are private: leases, customer names, how much of the hardware is under contract. The extension checks such an input on a registered machine and publishes only pass or fail.

Limit. The demo runs on a test machine with no enclave. Whoever runs it can read the coverage file and holds the signing key. The demo shows the flow and the gate. It does not show confidentiality, and it must not be described as confidential until it runs on a real Trusted Execution Environment.

What it checks#

The inspector's proof record says how many units were scheduled and matched. The borrower's coverage file says how many of those units are under a rental or service contract. The machine compares the two against a threshold and answers.

SettingValue in the demo
Extension id67452
Coverage threshold80 % (8,000 basis points)
Maximum age of a result1 day
Fee per check1,000 wei of test funds
A check through the Flare Confidential Compute extension Provisioner holds the private coverage numbers Extension machine compares the record with the coverage file Machine’s proxy serves the signed result Flare data providers relay above 50 % of signing weight Anyone fetches the result and submits it Inspector holds the proof record InstructionSender requestVerification, submitResult FlareTeeManager is the signer a machine of this extension? ProofRegistry takes records from the sender contract only encrypted signs fetch request instruction relay submitResult signer? record
A check through the Flare Confidential Compute extension. Who sends what. The provisioner and the inspector are separate roles; in the demo both are the owner’s test wallet.
The same flow in words
  1. The provisioner sends the coverage file to the machine as a direct action, encrypted to the machine’s key and signed.
  2. The inspector calls requestVerification with the proof record and pays the fee.
  3. Flare’s data providers relay the instruction. It reaches the machine only above 50 % of signing weight.
  4. The machine compares the record with the coverage file against the threshold (80 % in the demo) and signs the result.
  5. Anyone fetches the signed result from the machine’s proxy and calls submitResult.
  6. The contract recovers the signer and asks FlareTeeManager whether it is a machine of this extension in production.
  7. If so, the record goes to the registry. The registry takes records from this contract and from nobody else.

The three parts of an extension#

  1. A contract on chain, InstructionSender. It is the only address allowed to send work to the extension's machines, and it decides who may ask.
  2. Code that runs on the machine and signs its result with the machine's own key. A code version is identified by the hash of a reproducible image.
  3. Registered machines. A machine registers with Flare, passes an availability check, and is then in production.

Operations#

OperationHow it is sentWhat it does
SET_PROVISIONERInstruction, by the contract's ownerTells the machine which address may send coverage files
PROVISION_COVERAGEDirect action to the machine's proxy, no transaction and no feeDelivers the coverage file, encrypted to the machine's key and signed by the provisioner
VERIFY_COVERAGEInstruction, through requestVerificationAsks for the check. The machine signs the answer

The machine's answer#

ReasonMeaning
0, OKThe record's own result stands
1, RECORD_FAILThe record itself says FAIL
2, NO_COVERAGE_FILEThe machine holds no coverage file for the facility
3, DIGEST_MISMATCHThe coverage file is for another record
4, COVERAGE_BELOW_THRESHOLDCoverage is under the threshold
5, RECORD_INVALIDThe record fails the machine's sanity check

Any reason but 0 turns the result into FAIL.

How the signature is checked#

There is no single verify call. The contract composes the check:

  1. It rebuilds the digest of the result, which includes a domain tag and the instruction id.
  2. It recovers the signer from the signature.
  3. It asks FlareTeeManager whether the extension is paused, whether the signer belongs to this extension, and whether the signer's machine is in production.
  4. The signer must be the machine the request was sent to.
  5. The result must arrive within the maximum age, and the request is deleted after use so it cannot be replayed.
Refusal of submitResultMeaning
UnknownRequestNo request with that instruction id, or it was already used
TooLateThe result came after the maximum age
RecordMismatchThe result is not an answer to the record that was sent
WrongTeeSigned by another machine than the one asked
ExpiredA PASS whose record is already past its valid-until date

What an outside developer can do on Coston2 today#

Checked on 22 November 2026: an outside developer can register an extension and a test machine on Coston2 with no approval from Flare. Flare governs an allowlist of extension owners, and on that day it was set to allow everyone. Flare can change that. A real machine in Google Cloud Confidential Space is documented for Coston2 but was not tried by this project.

Flare's own pages: FCC overview, getting started, instruction fees.