MidTermDev (@MidTermDev) header
MidTermDev (@MidTermDev) profile picture

Founder @LeanClient

Joined November 2024
Photo by MidTermDev (@MidTermDev)Photo by MidTermDev (@MidTermDev)Photo by MidTermDev (@MidTermDev)Photo by MidTermDev (@MidTermDev)Photo by MidTermDev (@MidTermDev)Photo by MidTermDev (@MidTermDev)Photo by MidTermDev (@MidTermDev)Photo by MidTermDev (@MidTermDev)Photo by MidTermDev (@MidTermDev)Photo by MidTermDev (@MidTermDev)
MidTermDev retweeted
Lean AMM, the 0% protocol fee dex built in lean, is now tracked on Defi Llama. defillama.com/protocol/dexs/…
11
19
3
81
2,946
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
1
1
14
743
MidTermDev retweeted
Lean proofs, is basically how I measure code out put now
7
12
1
64
6,960
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…
4
17
6
75
6,381
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…
7
12
2
60
3,285
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…
7
13
4
65
14,811
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.
10
17
3
95
17,310
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
15
15
8
75
10,344
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
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
6
9
2
62
4,178
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.
9
11
5
101
33,258
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 👀
2
8
38
3,120
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
8
10
6
71
16,069
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.
15
12
3
69
14,945
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…
6
6
2
39
4,515
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
16
9
7
83
14,757
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…
5
9
2
62
17,088
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.
14
5
1
50
17,893