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. A Flare Confidential Compute extension checks such an input on a registered machine and publishes only pass or fail. This page says what its role is going forward, and then describes the extension as it ran in the v1 demo.

Limit. The demo runs on a test machine with no enclave. Whoever runs it can read the coverage file and holds the machine's 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. Flare Confidential Compute is not on Flare mainnet, and Flare has published no date.

Its role going forward#

The signed record is the base fact. It needs no chain and no machine: the inspector signs it, and a lender can check it alone. Flare Confidential Compute carries a second fact on top of it.

Not built. Bringing the extension onto the signed record is a later package. Today nothing implements the second-fact interface except test mocks, the vault's place for it is empty in every run, and the machine checks no inspector signature. Until that package is built, the check below stands as a dated earlier demo against registry v1.

Three things stay true whatever is built:

Registry v1, the earlier demo shown on Coston2#

The rest of this page describes the extension as it was registered and run on Coston2 on 22 and 23 November 2026. In that demo the extension's contract was the only submitter of registry v1, so the machine's signature, not an inspector's, stood behind every record.

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 (registry v1) 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 v1 takes records from the sender contract only encrypted signs fetch request instruction relay submitResult signer? record
A check through the Flare Confidential Compute extension (registry v1). The earlier demo, as run on Coston2 against registry v1. Who sends what. The provisioner and the inspector are separate roles; in the demo both were the owner’s test wallet. The machine is a test machine with no enclave, and it checks no inspector signature.
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 with the machine’s key.
  5. Anyone fetches the 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 registry v1. That 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 machine's signature is checked#

This is the signature of the machine over its result, not an inspector's signature. 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#

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#

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