DEV Community

Manuel Felipe Arias Pineda
Manuel Felipe Arias Pineda

Posted on

Soulprint v0.6.0: We Removed libp2p and the Network Got Better

Soulprint v0.6.0: We Removed libp2p and the Network Got Better

Today we released soulprint-network v0.6.0: we removed libp2p entirely. No DHT. No mDNS. Just the blockchain.

The Old Architecture (v0.5.x)

13 libp2p packages. Two peer discovery systems. One extra TCP port. Docker builds taking 3-4 minutes.

The New Architecture (v0.6.0)

Zero libp2p packages. One port. Docker build under 45 seconds.

Every node registers its HTTP endpoint in PeerRegistry.sol on Base Sepolia. Any node calls getAllPeers() and gets the full network with no bootstrap, no DHT, no mDNS.

Why Blockchain Beats P2P for Peer Discovery

libp2p is great for IPFS-style content-addressed networks. Soulprint is an identity network with a small set of validators. A smart contract is a better peer directory than a DHT: immutable (no Sybil bootstrap attacks), globally accessible (works across NAT and firewalls), trustless (cryptographic proof of registration), and 13 packages lighter.

The Numbers

Metric v0.5.1 v0.6.0
libp2p packages 13 0
Docker build time ~3-4 min ~45 sec
TCP ports 2 1
npm package size ~180KB ~72KB

What We Kept

Everything that matters: ZK proof verification, anti-Sybil nullifiers, bot reputation attestations, HTTP gossip (AES-256-GCM), state sync, and all credential validators (email, phone, GitHub, Registraduria Colombia).

Upgrade

npm install soulprint-network@0.6.0
Enter fullscreen mode Exit fullscreen mode

Top comments (0)