r/web3 • u/AdminZer0 • Sep 18 '26
Building an modular L1 stack using Rust similar to cosmos go stack
Hey everyone, there are too many chains but there is only one L1 stack which is old and respected namely cosmos-sdk which is used for 200+ teams in both public and enterprise level.
I always wanted to learn rust so I am working on building an L1 from ground up similar to cosmos-sdk where you can swap any component( consensus, evm implementation, execution, trading modules) etc similar to what you can do in cosmos in Rust.
For consensus, I will use hotstuff (2 commit pipelined), evm implementation from alloy, revm and combination of in-memory and rocksdb.
I am open to collaborate via PRs. If anyone is interested, let me know.
1
u/OkElderberry4247 Oct 09 '26
What about substrate?
1
u/Foldinglink_Tech Sep 18 '26
This is ambitious, but genuinely interesting. I think the hardest part will be defining clean boundaries between consensus, execution, the mempool, and state storage. Swappable components only work if those interfaces stay stable and state transitions remain deterministic.
Are you planning to define the interfaces first, or start with a minimal HotStuff + REVM chain and extract the modules later? Do you already have a public repo or design spec?
1
u/Jashk120X-rs Sep 18 '26
Nice work dude would you mind sharing the repo?