// notable accomplishment · formal verification at the infra layer · devcon 8
leanp2p
Bringing libp2p to Lean 4: towards verified networking for Ethereum.
A Lean 4 implementation of libp2p, beginning with Ethereum consensus-layer networking — shared on stage at the Resilient Networking Hub during the Devcon 8 workshop “Building Resilient Ethereum”.
// team
Community-developed, in the open
Manu Gupta
Specification and Adoption Lead
Technical Lead and Maintainer at libp2p with about 20 years of open-source engineering across distributed systems, networking and protocol development; contributor and maintainer across libp2p, IPLD and Multiformats in Go, Rust, JavaScript, Python and .NET. Leads specification development, technical coordination, adoption planning and engagement with consensus-client teams.
Johanna Moran
Strategy and Ecosystem Lead
Strategy Lead at libp2p, coordinating ecosystem initiatives, protocol development and collaboration across open-source networking communities. Supports strategic direction, community coordination, adoption planning and stakeholder engagement.
Leo Lara
Formal Verification and Ethereum Consensus
Co-founder at Invisible Garden and EthPadThai and a former Ethereum Protocol Engineer working on formally verified Ethereum consensus clients. Aligns Leanp2p specifications with the needs of consensus-client implementations.
Affiliations include NSUT IIF, Toju.network on Base, libp2p and Ethereum ecosystem projects. No additional funding specifically allocated to leanp2p is claimed.
// resources
Repository and documentation
- github.com/etheorem/leanp2p
- ARCHITECTURE.md ↗
Package layout, interfaces, protocol contracts, invariants, verification strategy and consensus priorities.
- PLAN.md ↗
Work units, dependency graph and implementation order.
- PRINCIPLES.md ↗
Engineering discipline and implementation principles.
- CONTRIBUTING.md ↗
Contribution workflow, toolchain and code style.
- SECURITY.md ↗
Vulnerability disclosure policy.
// long-term vision
Verified networking
- Extending formal specification coverage to additional libp2p protocols
- Improving machine-checked guarantees around protocol state transitions
- Establishing reusable conformance frameworks across language implementations
- Supporting stronger security assurance for distributed systems
- Making formal methods more accessible to protocol implementers
- Supporting verified networking for decentralized applications and emerging agent infrastructure
An exciting intersection of Lean 4, formal methods and peer-to-peer networking.