MidTermDev retweeted
The lean client website + docs have been updated to give a clearer picture of what’s been built so far, and where we’re headed.
leanclient.app/docs
MidTermDev retweeted
Lean AMM, the 0% protocol fee dex built in lean, is now tracked on Defi Llama.
defillama.com/protocol/dexs/…
MidTermDev retweeted
I am a 6'6 with top .1% genes brother i dont need money nor "looksmaxxing" to get women, i know you have an inflated ego now because you've finally found your tribe of other incels to look up to you, but i am nothing like you, im a self made multimillionaire who does not need to jestermaxx on the internet to make money, this twitter shit is for fun & to fuck around
MidTermDev retweeted
Lean Solana Dev Kit v0.1 is out.
Write Solana programs in Lean, and prove them.
lsk new hello
lsk build # Lean → sBPF
lsk test # LiteSVM
lsk prove # Lean's kernel checks it
lsk deploy
lsk verify # Solscan verified
What you get:
• Kit: proven building blocks for signer, owner and key checks, overflow-safe math, lamport moves, PDAs and token calls. Each comes with a theorem saying exactly what it does.
• A starter program with its proof and tests.
• lsk prove: your program's theorems are checked by Lean's kernel, and for programs within the automatic prover's reach, the compiled bytecode is proven to match your Lean code too. No hand proofs.
It's the same stack behind our AMM, which is proven down to the bytecode running on mainnet.
Early days: automatic bytecode proofs cover simple programs for now. Programs that call other programs are next.
github.com/MidTermDev/lean-s…
MidTermDev retweeted
Our AMM is now mathematically proven, all the way down to the bytecode running on Solana.
Audits check the source code. But the chain runs what the compiler outputs, and a compiler bug can slip past any audit.
So we proved the compiled program does exactly what its Lean source says:
• open pool
• open curve
• swap
• deposit
• withdraw
All five are covered by one theorem, checked by Lean's kernel. It relies on no shortcuts and no unproven steps.
The proof is for the exact build that's live on chain.
github.com/MidTermDev/lean-a…
MidTermDev retweeted
The Lean Solana client is now checked against the shared Agave and Firedancer conformance fixtures.
46,809 of 47,071 instruction fixtures produce the same result as Agave: the same success or failure, the same changed accounts, and the same compute units left. That includes every fixture for the system program, compute budget, precompiles, ZK proofs and loaders v1/v2/v4.
It's the same code that replays mainnet, and every memory access in it is proven safe by Lean's kernel.
The fixtures also caught three gaps in our model, now fixed:
• lamport overflow past 64 bits
• Agave's general rent formula
• little-endian alt_bn128 compression
None of them could change a mainnet block, but a trusted model should match Agave exactly.
The remaining 262 differences are listed in the README and are being worked right now.
github.com/MidTermDev/leanCl…
MidTermDev retweeted
A Solana client written in Lean.
160,000+ mainnet blocks in a row, every bank hash matching.
Every array access proven safe by Lean's kernel.
No runtime bounds checks.
And every optimization from here has to pass the proofs first.
MidTermDev retweeted
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
MidTermDev retweeted
We have submitted a dashboard to @DefiLlama for Lean AMM
github.com/DefiLlama/DefiLla…
MidTermDev retweeted
Live now: wall-clock ns per compute unit for every Solana program, measured by our Lean client executing mainnet, plus hot vs cold time and sorting.
leanclient.app/programs
Replying to @MidTermDev @LeanClient
Can it collect counters on what programs it spends the most time in? Hot and cold and just push them to your site. I can pull and have it optimize in a loop
MidTermDev retweeted
What started as an experiment in writing a Solana validator entirely in Lean has turned into a 31,000-line independent client, built with its own compiler.
Hundreds of thousands of blocks executed. Zero bank hash mismatches.
We're now executing heavy mainnet blocks in as little as 162ms on average in benchmarks, with votes reaching over 96% of validators.
There's still plenty to optimize, but it's pretty cool to see how far this experiment has come.
MidTermDev retweeted
Welcome to mainnet, Lean Client Validator #001
Please enjoy your stay. Fees will be directed to keeping vote account funded and increase the stake on this validator.
Future developments for Lean are underway 👀
Votes are hitting mainnet 🔥
explorer.solana.com/address/…
MidTermDev retweeted
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
MidTermDev retweeted
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.
MidTermDev retweeted
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…
MidTermDev retweeted
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
MidTermDev retweeted
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…
MidTermDev retweeted
B2HU7PEkoKmhkMhfZa5tFN3YJdwLeLq6Fg85saoo111
$lean client
60k mcap
Toly seems to like this devs project.
He's been giving suggestions on what to add and been interacting everyday.
The dev is in too.
Replying to @MidTermDev @Cupseyy
4chan
Some of the top memes of $4chan
@AlwaysMcEarly @boosteryting @daddyriskbets @MidTermDev @Ohtworetard

















