Innovation Blockchain

Documentation · Coston2 testnet prototype · invented data

Documentation Coston2 demo

Coston2 demo

The owner's demo on Flare's Coston2 testnet: the registry, the vault and the extension, wired together, with a passing proof that opens the vault and a failing one that shuts it.

For what the contracts hold right now, see Network status.

How the gate is wired#

Two calls make it so. InstructionSender.setRegistry(registry) makes the extension's contract pass checked records on. ProofRegistry.setSubmitter(sender) makes that contract the only address that can post. After them, the owner's own wallet can no longer post a record by hand.

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 stages#

The owner runs each stage himself, with his own test wallet. Each driver asks for the keystore password once, never sees a private key, and refuses any chain but Coston2.

StageDriverWhat it does
Acoston2-run.shDeploys and registers the extension, starts the test machine, wires the gate
Bcoston2-demo.shThe passing path and the failing path
Ccoston2-finish.shThe stale path, then a normal 90-day pass so the demo is left open. Run twice, about a day apart
Jobcoston2-job.shPosts the record of a job folder made with the inspector kit

What the demo showed#

On 22 November 2026, each step checked by reading the chain afterwards:

PathInput (invented)What happened
PassingCoverage 850 of 1,000 units, threshold 80 %The machine signed PASS. The registry read PASS and fresh, and a draw of 250,000 went through
FailingCoverage 700 of 1,000 unitsThe machine signed FAIL with reason 4. The registry read FAIL and the next draw was refused with ProofFailed

The stale path was started on 23 November 2026 with a record valid only until the end of that day.

Posting an inspection job#

coston2-job.sh <job-folder> takes a job built with the inspector kit. Before it asks for the password it checks, by reading only:

Then it sends the coverage file, asks for the check, fetches the signed result and submits it. It writes what the chain read afterwards into the job folder. A job whose result is FAIL is posted too, and shuts the vault.

What it costs#

Test funds only, from the Coston2 faucet. The first day cost about 7 C2FLR, most of it Flare's registration and availability fees. A new test machine costs about 1 C2FLR.

Limits of the demo#