Lean Client (@LeanClient) header
Lean Client (@LeanClient) profile picture

Open-source Solana client written in Lean 4

Joined November 2026
Upon integration of this concept, the official Lean Client Validator has reached 685 SOL staked.
I'm considering a somewhat uncharted path to making @LeanClient profitable as a new Solana validator. I'm extremely thankful that fees from our native token have covered our operating costs thus far, but I want to build something that generates genuine, sustainable value. The idea is simple: Introduce a liquid staking token (lSOL) backed by SOL staked with the Lean validator, and use it as the default quote token for launches on our 0% fee AMM. The AMM will remain permissionless and open to any quote token, but we'll encourage lSOL within our own launchpad to support a non-extractive trading ecosystem. At a 5% validator commission, we estimate needing roughly 60,000 SOL in active stake to break even on operations. Instead of extracting fees from every trade, we sustain operations through validator revenue. Users retain their staking yield through lSOL, which appreciates against SOL as staking rewards accumulate, while remaining freely tradable and redeemable for SOL. The more liquidity our ecosystem attracts, the more stake we can bring to our validator. A profitable validator, a sustainable 0% fee exchange, and an ecosystem that gives value back to its users. I think there's something worth exploring here.
4
7
4
54
10,807
Token launches are now supported on Lean AMM. 0% fees. Everything belongs to the traders. Paired to lSol (Lean Liquid Staked Solana). Launches begin at $5,000 market cap with 62% sold by $35k mcap. amm.leanclient.app/#launch
15
15
8
75
9,295
Lean Client, our Solana validator written in Lean, has been voting on mainnet since Dec 1. As of Dec 2, it now follows the full Alpenglow voting rules. Its voting code also comes with machine-checked proofs: it can never cast conflicting votes, it votes in every slot on time, and peers can't flood it. Lean checks the proofs on every push. github.com/MidTermDev/lean-S…
20
20
5
97
24,257
Our validator has reached voting status! Actual vote TX's should appear within a few hours as we clear our ~33k slot backlog post-update. Watch live: leanclient.app/#node
8
10
6
71
15,488
Lean Client update. Our mainnet node now produces blocks, earns leader rewards, and executes transactions in parallel. Wallets and RPCs can send transactions straight to the node over QUIC; mainnet gossip lists it as a TPU. Before a transaction goes into a block, the leader checks everything that would get the block rejected: parsing, signatures, repeats, whether the fee payer can pay, and the block's cost limits. Blocks fill highest fee first, using the same formula Agave uses, and go out over turbine in batches while the slot is still running. We rebuilt 134 mainnet blocks this way. All were valid, and every bank hash matched the footer. Footers now carry reward certificates, which is how a leader gets paid half of what voters earn. We build them from real votes our node hears, about 112 validators per slot so far. Our checker also accepts every reward certificate Agave leaders put in 134 real mainnet footers. Transactions now run on multiple cores. Each one starts as soon as the transactions it depends on finish, and the bank hash comes out identical to running them one at a time. Over 1,700 mainnet blocks on 8 workers, every bank hash matched, at 122ms a block versus about 180ms single threaded. That's 1.45x faster. The live node runs this way now. Next is building on whichever parent the votes settle on, and moving more of each block onto the workers. All Lean, compiled by our own compiler. leanclient.app
26
9
8
80
9,336
12% fewer CPU cycles per mainnet block. Lean Client now compiles Solana programs lazily: each block of a program becomes machine code the first time it runs, and code that never runs is never compiled. Live on our mainnet node, every bank hash matching the network.
15
12
3
69
14,699
Lean Verify. Our lean-amm program has been formally verified on chain utilizing lean-verify. We identified non-existent tooling for users wishing to verify lean program son-chain, so we built it/ Learn more: leanclient.app/verify Program: solscan.io/account/AMXwyCL9a…
6
6
2
39
4,398
Lean AMM is live on Solana mainnet. An open-source AMM written in Lean, with its math formally proven: a swap can't drain a pool, and LP shares can't lose value to rounding. 0% platform fee. Every swap fee goes to LPs. amm.leanclient.app
16
9
7
83
14,435
The best time to (re)write your Solana program(s) in Lean was yesterday. The second best time is today. Write it in Lean, compile it to sBPF with lean-svm, then run it with leansol run: a Solana VM written in Lean. github.com/MidTermDev/lean-S…
5
9
2
62
16,883