Innovation Blockchain

Documentation · Coston2 testnet prototype · invented data

Documentation Addresses and reference

Addresses and reference

Every address, name and number in one place. The addresses, the dated state and the test counts are read from the project's facts file when these pages are built. All of it is on Flare's Coston2 testnet.

State as at 23 November 2026. Every facility, loan, host and serial number is invented.

Network#

SettingValue
NetworkFlare Coston2, a testnet
Chain ID114
RPChttps://coston2-api.flare.network/ext/C/rpc
CurrencyC2FLR, 18 decimals, no value
Explorercoston2-explorer.flare.network
Faucetfaucet.flare.network/coston2

The signed record: registry v2 and the lender's vault#

A signature shows who issued the record and that it was not changed. It does not show that the facts are true.

ContractAddress
ProofRegistryV2, the owner'sNot deployed by the owner yet
LoanVaultV2, the owner'sNot deployed by the owner yet
ItemValue
The owner's inspector idNot chosen
The owner's key idNot created. No inspector key is published
State of signingimplemented in the kit; no record signed by the owner's key yet

The owner's v1 demo contracts#

Registry v1, the earlier demo, deployed on 22 November 2026. Registry v1 has an owner and one submitter, and its records carry no inspector signature.

ContractAddress
ProofRegistry (v1)0x04118f37F386Ee7436D6503b2132E42223Ba956C
MockLoanVault (v1)0x1708F9a20fAC214ceac24E5701C9fd824a5596ac
InstructionSender0x6E99BdF2f9eA4b50B70c8d3e591a77dB4DB86B4B
RepaymentLedger0xC171E46be2A1930c6bFAcbFebC0fb2454Dc15C8E
RepaymentAwareVault0x667bf6b3784F0C485a6D0c8450dE2aFc7b297201
The owner's test wallet: deployer, owner and borrower of the demo0x3D218116dd55894C8961fE1502652260541F3CE7
Test machine of 22 November 2026, no enclave0xeEd81Cc857F932dE27d3c5Ac72aF0A71E49A7ebD
Test machine of 23 November 2026, no enclave0xDe417e02be71150CaFcD5F680D481C9dAf37d423
ItemValue
Facility (invented)fac-demo-0001
Facility key0x016ad7d6d87f00c734cbc1b963f642352111c610a1cd9ebf3437682042bb2cfb
Extension id67452
Credit limit1,000,000, a plain number
Draw on a pass with exceptionsRefused

The runner's contracts#

Deployed by the runner's own throwaway test wallet, for the invented facility fac-runner-0001. The wallet is not an inspector. Its records carry the inspector id TEST-RUNNER-not-an-inspector.

ContractAddress
Runner's ProofRegistryV2Not deployed by the runner yet
Runner's LoanVaultV2Not deployed by the runner yet
Runner's ProofRegistry (v1)0xf7c9b4c639e435554de7548115d7f9ae4a49b36b
Runner's MockLoanVault (v1)0x792383adaf75335a969c0d023c5f1b21e3e97078
Runner's test wallet0xB174FBe2eF323F80BD20218A6FA9182C6b18A885

The v1 pair was deployed on 23 November 2026 and its records were not signed. The container that is running was built before the signed record and still uses it. The signed-record runner has run on a local chain only.

Flare's own contracts#

Flare may redeploy these. The prototype resolves them through Flare's contract registry at run time; see Flare's developer pages.

ContractAddress on Coston2
FlareTeeManager, as used by the v1 demo0x1a9C4A0f9D76c0b1D91d22E24E573a9b377618aE

Constants of the signed record#

NameValue
Record schemaibc-proof-record/1
Revocation tag textibc-key-revocation/1
Signature schemeeip191-secp256k1
Digest input15 words of 32 bytes: 480 bytes, SHA-256
Longest validity on chain105 days from the inspection date
Longest validity the kit builds104 days: 90 days plus 14 days' grace
Issue time ahead of the block timeAt most 15 minutes
Inspection date ahead of the issue timeAt most 1 day
Procedures maskBit 0 = 6.1 up to bit 7 = 6.8. Today's kit writes 2

Results and types#

NameNumberMeaning
NONE0No record. Never stored
PASS1Verified with no open Red or Amber finding
PASS_WITH_EXCEPTIONS2Open Amber findings only
FAIL3Any open Red finding. A record past its valid-until, and a record of a revoked key, read the same way
Engagement typeNumberMeaning
F0Funding inspection
Q1Periodic re-verification
E2Event inspection

Procedures of the standard#

ProcedureBitSubjectRecorded by the tools
6.10Document reconciliationNo
6.21System-read identityYes
6.32Physical inspectionNo
6.43Location and custodyNo
6.54Power and coolingNo
6.65Competing claimsNo
6.76Operating evidenceNo
6.87InsuranceNo

Ratings#

RatingMeaning
RedThe collateral is not as represented, or cannot be verified
AmberVerified, but with a gap that needs correction by a date
GreenVerified with no exception

Where the code is#

The repository is private. Its folders:

FolderWhat
docs/The inspection standard, the signed-record design, the pilot pack, notes on Flare
prototype/facts.jsonThe one file that states addresses, dated runs and test counts
prototype/spec/Shared test vectors of the record digest
prototype/collector/The collector and the inspector kit
prototype/contracts/The registries and the vaults, v1 and v2
prototype/extension/The Flare Confidential Compute extension and its contract
prototype/e2e/The local end-to-end run and the Coston2 drivers
prototype/fdc/The repayment proof
prototype/runner/The automatic container
website/This site, the sandbox and these pages

Tests#

As measured on 23 November 2026, by running each suite on the owner's computer. A count is what the tool printed. It changes when a test is added.

SuiteToolTestsPassedFailedSkipped
Collector and inspector kitnode --test15815800
Runner, unit testsnode --test test/unit.test.mjs383800
Runner, all twelve scenarios on a local chainnode --test test/local-chain.test.mjs4400
Website rulesnode --test12912900
Coston2 driver: stale path, with stand-in toolsbash tests/finish-offline-test.sh292900
Coston2 driver: inspection job, with stand-in toolsbash tests/job-offline-test.sh505000
Coston2 driver: signed path (registry v2), with stand-in tools. Run without IBC_V2_ONLY it also runs the two earlier driver tests again and prints 162 checks.IBC_V2_ONLY=1 bash tests/v2-offline-test.sh16016000
Registry and vault contracts, v1 and v2 (Hardhat)hardhat test12612600
Gate end to end, local (Foundry)bash run-local.sh222200
Multi-party testbed on a local chain, without containers. Each role is a separate program with its own account. Local chain only (anvil, chain id 31337). All eleven scenarios run twice.node --test373700
Multi-party testbed, one container per party. Checks printed by the script, run with Docker on the owner's Mac. The runner does not run this one: its image has no Docker inside../testbed.sh test12512500
Extension, Go tests (top-level tests)go test ./template/...272700
Extension contract (Foundry)forge test696900
Repayment proof contracts (Foundry). The six skipped tests read Coston2 through a fork and run only when a fork address is given.forge test686206

Glossary#

TermMeaning here
Collateral scheduleThe list of hardware that secures a loan, with a serial number for every GPU
CaptureOne host's read: the output of the capture script, hashed as it was written
FindingA reference, a description, the evidence, a proposed correction, an owner and a due date, rated Red, Amber or Green
Proof recordThe short machine-readable result of an inspection
Record digestSHA-256 over the record's 15 words. What the inspector signs
Inspector idThe inspector's self-declared name in the record
Key idThe address of the signing key. What a lender pins
PinThe lender's choice, in its vault, of the one signing address and the one schedule hash it accepts
RelaySending a signed record to the registry. Anyone may do it
SlotThe registry's place for one record: one per facility and signer
FreshInside the valid-until time, with a key that is not revoked
StalePast the valid-until time. Treated as FAIL
Second factA further fact about a record, kept by another contract and asked for by the vault. Planned for the coverage check
ExtensionCode registered with Flare Confidential Compute, with its contract and its machines
Test machineA machine with no enclave, run on the developer's own computer
Coverage fileThe borrower's private numbers on how much of the hardware is under contract
DrawThe borrower taking money from the loan facility. In the prototype it is a plain number