Documentation Keys
Keys
The inspector's identity is an inspector id and a key id. This page says what they are, where they are published, and what happens when a key is rotated, revoked, lost or stolen.
No inspector key is published. The owner has not chosen an inspector id, has not made an inspector key, and has not signed any record. The only keys in use anywhere in this project are test keys: the runner's throwaway test wallet and the built-in test accounts of local development chains. Do not treat any record you find as issued by Innovation Blockchain.
The published key#
| Item | Value today |
|---|---|
| Inspector id | Not chosen |
| Key id (signing address) | Not created |
| Records signed with it | None |
This row will change only when the owner has made a key himself and named it in an engagement letter. State of signing in the project's facts file: implemented in the kit; no record signed by the owner's key yet.
What the two ids are#
- Inspector id. A short text, for example
DEMO-not-a-real-inspectorin the samples. It is in the report and in the record, and its SHA-256 is one of the 15 words of the record digest. It is self-declared: anyone can sign a record that carries any name. - Key id. The address of the signing key:
0xand 40 hex characters. A signature is checked against it. On chain a record is filed under it.
A signature shows who issued the record and that it was not changed. It does not show that the facts are true.
Because the inspector id is self-declared, the key id is the control. A lender pins a key id in its vault, and its vault reads only records signed by that key.
Where they are published#
The design names three places, and a lender compares them:
- The engagement letter.
- The signature block of every report.
- A keys page on the inspector's site. This page is meant to be that place. It lists no key today.
Take the key id from the engagement letter. A key id seen only on a site or on a chain is not enough.
Keys in use today, all of them test keys#
| Key | Used for | Inspector id on its records |
|---|---|---|
The runner's test wallet, 0xB174FBe2eF323F80BD20218A6FA9182C6b18A885 | Sends the runner's transactions on Coston2. In the signed-record runner it also signs the runner's invented records. That runner has run on a local chain only; the container that is running was built before it and posts unsigned records to the runner's v1 pair | TEST-RUNNER-not-an-inspector |
| Built-in test accounts of a local development chain (anvil) | Sign records in the tests and in the runner's local mode. Their keys are public knowledge | TEST-... and DEMO-... ids |
The owner's Coston2 test wallet, 0x3D218116dd55894C8961fE1502652260541F3CE7 | Deployed and ran the v1 demo. It has signed no proof record | None |
None of these is an inspector's key. The runner's wallet is a bounded exception to the project's rule that no key is stored; see Runner.
How a record is signed#
The kit never creates, opens, reads or stores a key, and never asks for a password. inspect build prints the record digest and this line:
cast wallet sign --account <your inspector account> <record digest>
The inspector runs it in his own terminal. cast asks for the keystore password and prints a signature of 65 bytes. He hands that to inspect sign, which checks it and files it. See Inspector kit.
The inspector signs only a digest that the kit computed from the files in the job folder. No tool asks him to sign bytes that came from a network endpoint.
Rotation#
- The owner creates a new keystore account himself.
- He announces the new key id: an amendment to the engagement letter, this page, and optionally a plain text statement signed by the old key with
cast wallet sign. - Each lender pins the new key in its vault:
setInspector(<new key id>). - Only then is the old key revoked.
After a lender repins, its vault reads NO_RECORD until the new key has signed a record for that facility. Records signed by the old key are not read under the new one. Each record still in force is signed again.
The lender's call, by hand, with the lender's own account:
cast send --rpc-url https://coston2-api.flare.network/ext/C/rpc --account <lender account> <vault> 'setInspector(address)' <new key id>
The contract tests cover this call, and it was run by hand on a local test chain on 23 November 2026 with an unlocked test account in place of a keystore. It has not been sent on Coston2.
Revocation#
A key is revoked by a statement signed with that same key. The registry then refuses every new record from it, reads its records as FAIL, and a vault pinned to it refuses a draw with INSPECTOR_REVOKED. A revocation is permanent.
1. Compute the revocation digest, offline.
node src/inspect.mjs revocation-digest <key id>
It prints the digest and the line to sign, and sends nothing. The digest is SHA-256 over two words of 32 bytes: first the SHA-256 of the text ibc-key-revocation/1, then the address padded on the left with zeros. ./coston2-v2.sh --revocation-digest [address] prints the same.
You can check it without the kit:
TAG=0x$(printf %s 'ibc-key-revocation/1' | shasum -a 256 | cut -d' ' -f1)
cast abi-encode 'f(bytes32,address)' $TAG <key id> | cut -c3- | xxd -r -p | shasum -a 256
2. The holder signs it with the key being revoked.
cast wallet sign --account <the account of that key> <revocation digest>
3. Anyone relays it.
cast send --rpc-url https://coston2-api.flare.network/ext/C/rpc --account <any funded account> <registry> 'revoke(address,bytes)' <key id> <signature>
The registry refuses a revocation whose signature does not recover to the key (SignerMismatch), a malformed one (BadSignatureLength, BadSignature), and a second one for the same key (AlreadyRevoked).
The registry also offers revocationDigest(address) as a read. Use it to compare, never as the source of what you sign.
Manual today. The kit computes the digest and nothing more. Steps 2 and 3 are cast commands typed by hand. The three steps were run on a local test chain on 23 November 2026, with an unlocked test account in place of a keystore: the registry then read the key as revoked and a vault pinned to it answered INSPECTOR_REVOKED. They have not been run on Coston2. The statement names no chain or contract, so it can be relayed to every copy of the registry.
A lost key#
A lost key cannot be revoked, because revoking needs a signature from it.
- The inspector tells each lender and names a new key by an amendment to the engagement letter.
- Each lender repins to the new key.
- Records signed by the lost key lapse within the validity cap: 104 days in the kit, 105 on chain. A lender can cut that short with its own maximum record age, or with its pause.
A stolen key#
Whoever holds the key can sign a PASS that the registry stores and a pinned vault reads, until the lender repins or the key is revoked. This is a stated limit of the design.
- The inspector tells each lender at once and revokes the key if he still holds it.
- Each lender pauses its vault or repins.
- A signature cannot tell the inspector's record from the thief's. The lender's own records of when it was told decide which records it relies on.
What is not here#
- No directory contract, recovery address, rotation delay or co-signing. A record carries one signature.
- No on-chain binding of a name to a key. The registry does not say who is an inspector.
- No tool that makes a key. The owner makes and holds his own.