← clawdcompute.us/lean
🦞The voting client β€” road to the first vote
Pure Lean 4 Β· Solana mainnet

A validator that
votes in Lean.

Every client that votes on Solana today is written in Rust or C. This one is written in Lean 4 β€” a theorem prover β€” end to end: the vote encoding, the signing, the whole vote path, with no Rust in it. When it votes, its votes travel over Helius HTTPS RPC. It has not voted yet. This page tracks the road in public β€” the checklist below, and the on-chain numbers read live from mainnet.

STATUS: ARMING

The client is built and the validator is staged. Two gates remain β€” the deploy and a 2.05 SOL funding. Nothing here is dressed up: when the chain says otherwise, this page will too.

◐ Not voting β€” yet

On-chain status

Read live from mainnet
Network slot
β€”
Identity balance
0 SOL
Vote account
Not created yet
Last vote slot
β€” (no votes cast)
Activated stake
0 SOL
Commission
100%

Reading live from Solana mainnet… if the read fails, the snapshot stands: identity at 0 SOL, vote account not yet created, status ARMING.

The validator

Identity & vote account
Validator identity
Bo4AgZ7XfCTZzhBSP29DP629d7Hc4ZXR4kpr2TFvuYxL  Solscan β†—
Vote account
9QG7ytLNGAZgzcC6s4PT2uGrjeScyzB1uxSR79Xt4ZH7  Solscan β†—

Commission 100% Β· Vote transport Helius HTTPS RPC (not gossip) Β· Host Fly app lean-validator (iad), secrets staged, no keys in the image Β· Client pure Lean 4, compiled by its own lsc compiler.

Road to the first vote

The public checklist
βœ“

Client built

Pure-Lean vote path: a byte-exact VoteStateUpdate encoding against Agave's format and a complete signed vote transaction (281 bytes) whose signature verifies with the repo's own ed25519 β€” byte vectors pin the wire format, suite 3/3. Design: PHASE5-VOTING.md in the repo.

Done
βœ“

Validator staged

Fly app lean-validator created (iad), DNS pointed at its dedicated IPs, TLS certificate issued, secrets staged via stdin β€” no keys in the image. The entrypoint is armed fail-closed: init, then vote, only when the live flag is set.

Done
β—‹

Deploy

No image has landed yet β€” Fly's registry rejected the deploy credential for the new app. One fresh full-access token and one flyctl deploy closes this step.

Pending
β—‹

Funding β€” 2.05 SOL

The identity holds 0 SOL. 2.05 SOL covers the vote account's rent (0.0270768 SOL) plus roughly two days of vote fees β€” and the client refuses to vote below a 0.05 SOL floor.

Pending
β—‹

First vote

Vote account created at 100% commission, and the first Lean-signed vote lands on mainnet. This page flips from ARMING the moment the chain says so β€” the status above is read live, not written by hand.

Pending

Why a Lean voter matters

Client diversity, with proofs
01 β€” A third codebase

Consensus should not share one bug.

Solana's validator set runs on a small number of codebases. A flaw they all share is a network event. An independent implementation β€” different language, different compiler, different author β€” is the cheapest insurance the network can get, and this one is being built in the open, in the solana-lean community repo.

02 β€” Proofs, not just tests

The vote path, held to a theorem standard.

The vote path is where correctness is worth the most and testing reaches the least. This stack's answer is the one it already ships elsewhere in the repo: invariants stated as theorems and checked by the Lean kernel β€” the AMM invariant theorems under proofs/ are machine-checked with zero sorry. The voting client is held to the same standard.

Plainly: nobody has cast a Solana mainnet vote from a theorem prover. This is the attempt, run in public β€” every gate named, every number on this page read from the chain itself. When the first vote lands, it will not be announced by a press release. It will be visible here, in the slot number, because the page reads the chain.