AIRTIGHT: a Solana network that deploys only proven bytes
AIRTIGHT is a network running the Solana validator with one change to its program loader. A program is deployed only when the exact bytes being deployed carry a machine-checked proof that has been sealed on chain by the validators' stake. Everything else is stock Solana: the same transaction format, the same command line tool, the same wallets.
What runs today
Four validators run the patched Agave v4.3.2 on one machine and vote on every slot; the registry program sits in genesis with no upgrade authority, so nobody can change the rules it enforces. A deploy through the upgradeable loader without a sealed record for its code hash is refused on chain with custom error 2583 (0xa17) and the log line AIRTIGHT refused: no sealed proof for code hash <hex>; the refusal is an ordinary failed transaction that anyone can look up by its signature while the node still holds it (about 80 minutes; see the last section).
The path in is four kinds of transaction: register (code hash, claim hash, proof hash, source hash, sizes and where the proof lives), write the claim text, one attest per validator, and the deploy itself with the seal record appended as one extra read-only account. Each validator runs a checker beside it. The checker fetches the proof, runs three independent kernels over it (Lean's own checker, nanoda and con-ron), all of which must accept, checks that the theorem is about the registered bytes and about the pinned frame, and only then signs an attest with the validator's identity key. A record is sealed when attesting stake passes two thirds of the epoch's total stake. At deploy the loader re-derives the seal account, checks its owner, its status, that the SHA-256 of the bytes being deployed equals the sealed code hash, and that the bytes after the sealed length are zero.
On a single-validator test network the same loader refused the certified counter program without a seal and accepted it, as program B1mqn7n9oM21EomZf79TL8E1NgiYGRvtwc4BtqsiR795, once its record was sealed.
The first program sealed on the network is a counter compiled from Lean with lean-svm's certify mode; it was sealed at slot 34,453 and deployed through the gate as program 9D3JLvvarzBFiCZp63iEepHyUrQZcLXAyZ7HgzDSWTNG. Its proof states that when the 1,160 bytes of its file are loaded as an sBPF v3 program, every run that ends returns the same code as its Lean entrypoint and leaves the same memory outside the stack frames, under the pinned semantics of the frame bytes-eq-lean-v1. Four claims ride beside it: three about the Lean entrypoint (on success the value never decreases and nothing else changes; increment adds exactly one; increment at the maximum is refused and changes nothing) and one about the shipped bytes (every run that ends either changes nothing outside the stack or only raises the value).
The second program sealed on the network is a vault, a Lean program compiled to 2,048 bytes; it was sealed at slot 277,654 and deployed through the gate as program 7eJNcQf5ck51uef1qcoJ2vBXrXbcLBMw88BuxUeXGAJh. Its proof states, in the same frame, that these bytes behave exactly like its Lean entrypoint on every run that ends, and six claims ride beside it about the Lean program: on every validly serialized input, a run that lowers the vault's lamports had the stored owner's signature; anyone else's deposit or withdrawal fails and changes nothing; withdrawals and deposits move the ledger by exactly the amount; on every validly serialized input the owner's balance never goes down; init only records the owner.
Measured
| figure | value | conditions |
|---|---|---|
time-to-rejection | 213 ms p50 (p99 220 ms) | a 624-byte program with no proof, sent through the upgradeable loader to the four-validator network until the refused transaction is confirmed; 10 runs, 2026-12-05 |
proof-counter-size | 153,211,601 bytes | the counter's proof export (Lean 4.36.0, export format 3.1.0, closure of the target theorem and claims 1-4); 1 run, 2026-12-05 |
proof-counter-nanoda-ms | 148,530 ms p50 | checking that export with nanoda 0.4.33 on 4 threads (AMD Ryzen 9 9950X); 3 runs, 2026-12-05 |
proof-counter-leanchecker-ms | 192,720 ms p50 (p99 310,740 ms) | checking the counter's proof export with Lean 4.36.0's leanchecker --from-export; 3 runs, 2026-12-05, one run overlapped a checker run on the same machine |
proof-counter-leanchecker-rss | 24,378 MB peak | peak memory of that check; 1 run, 2026-12-05 |
proof-counter-nanoda-rss | 8,751 MB peak | peak memory of the nanoda 0.4.33 check (4 threads); 1 run, 2026-12-05 |
proof-counter-conron-ms | 55,520 ms p50 (p99 56,310 ms) | checking the counter's proof export with con-ron 88739d4 (--verified --jobs=4); 3 runs, 2026-12-06 |
proof-counter-conron-rss | 5,951 MB peak | peak memory of that check; 1 run, 2026-12-06 |
proof-vault-size | 106,520,537 bytes | the vault's proof export (Lean 4.36.0, export format 3.1.0, closure of the target theorem and claims 1-6); 1 run, 2026-12-05 |
proof-vault-nanoda-ms | 27,650 ms p50 (p99 27,800 ms) | checking that export with nanoda 0.4.33 on 4 threads; 3 runs, 2026-12-05 |
proof-vault-nanoda-rss | 2,399 MB peak | peak memory of that nanoda check; 1 run, 2026-12-05 |
proof-vault-leanchecker-ms | 134,830 ms p50 (p99 135,260 ms) | checking that export with leanchecker --from-export; 3 runs, 2026-12-05 |
proof-vault-leanchecker-rss | 3,748 MB peak | peak memory of that check; 1 run, 2026-12-05 |
proof-vault-conron-ms | 15,530 ms p50 (p99 18,300 ms) | checking that export with con-ron 88739d4 (--verified --jobs=4); 3 runs, 2026-12-06 |
proof-vault-conron-rss | 2,255 MB peak | peak memory of that check; 1 run, 2026-12-06 |
How to reproduce
Build the validator from the Agave tag v4.3.2 with the two patches in chain/patches applied (proof-gate, and a lower ledger floor for small disks), then build the registry with cargo build-sbf --tools-version v1.57 in program/registry and put it in genesis as an upgradeable program with no authority. Start the validators, then send a deploy of any program through the upgradeable loader with program/registry/client/bin/deploy.ts: it is refused, and the transaction's logs carry the refusal line. Each figure above names the command that produced it in its rig record; rerun that command with the same inputs to get the same distribution.
To check a seal yourself, read the seal account at the program-derived address ["seal", code_hash] of the registry AirtfvWHietXMTds4THjxEzdqFT4ywqiqQhwx2m5NNFB, hash the program file with SHA-256, fetch the proof file named in the record, compare its SHA-256 with the record's proof hash, and run leanchecker --from-export <file> from Lean 4.36.0, nanoda 0.4.33 or con-ron over it (exact commands on /verify).
Sources
The upstream Agave validator at tag v4.3.2 (github.com/anza-xyz/agave) and its upgradeable loader; the Solana sBPF v3 program format; Lean 4.36.0 with its built-in exporter and checker (github.com/leanprover/lean4); nanoda_lib 0.4.33 (github.com/ammkrn/nanoda_lib); lean-svm by aeyakovenko (github.com/aeyakovenko/lean-svm, commit 03d9f4f, Apache-2.0) for compiling Lean to Solana programs; lean-svm by asymmetric-research (github.com/asymmetric-research/lean-svm, revision 61170a6) for the machine semantics the frame is stated over (AGPL-3.0); con-ron (github.com/leanprover/con-ron, commit 88739d4, Apache-2.0).
What does not work yet
Every validator is ours. The four validators and their four checkers are run by one operator, so a seal today is our own check, made by three kernels, not the word of independent parties.
Checking happens off the block path. Checkers run beside the validators and attest by transaction; block production never waits for a check, and at deploy the loader trusts the seal record rather than checking a proof itself.
There is one accepted frame. bytes-eq-lean-v1 is the only statement a seal can carry; any other kind of claim about a program needs a new frame.
Few programs are proven. Two programs are sealed on the network today, the counter and the vault.
The registry program itself is not proven. It is ordinary Rust with 40 unit tests, and the loader patch is ordinary Rust with 21 gate tests.
The machine model and the compiler are research code. The semantics a seal is stated over and the compiler that produced the counter are not proven against Solana's own execution engine, so a seal says the bytes behave like the Lean program under that model.
The token is not gas. Fees on the network are paid in the network's own SOL, not in the project's token.
The node keeps about 80 minutes of transaction history (84 minutes measured on 2026-12-06 at 02:04 UTC). After that a lookup by signature returns nothing, while the accounts it wrote (seal records, attestations, programs) stay readable.
The four validators share one machine, so the network does not yet survive the loss of that machine. Only the upgradeable loader is gated; loader v4 is not a builtin in this release, and a future release that enables it needs the same gate before it is turned on. The loader patch carries 21 unit tests (each of the deploy, upgrade and extend paths refused without a seal, with a wrong owner, a wrong address, a pending record, a hash mismatch or non-zero bytes after the sealed length, and accepted with a valid seal); they run against the loader alone, not a running network. The time from registration to seal has been observed twice, not yet measured as a repeated figure: the four checkers share one machine and run one kernel at a time; the counter's seal came about 30 minutes after they started checking, the vault's about 18 minutes after its registration. The public RPC endpoint is https://rpc.airtight.fun; it serves reads and sends, not airdrops.
The frame speaks about runs that end: it says nothing about a run that faults or runs out of compute; for the counter a separate upstream theorem shows its one-account runs never fault, but that theorem is not part of the seal. The vault records deposits from lamports already sent to it in the same transaction; it does not pull coins itself. Its claims 1 and 5 are stated for every validly serialized input (lean-svm's own model of the runtime's input layout); claims 2-4 and 6 are about the vault's instruction handler on the accounts it is given. Three of the counter's four claims are about its Lean entrypoint, which the frame ties to the bytes. The proof file is 153 MB, far above the 10 MiB an account can hold, so it lives off chain and only its hash is on chain.