What if your AI agent node could discover its entire peer network without ever relying on a central server? That's exactly what Soulprint v0.4.2 delivers with PeerRegistry — a smart contract on Base Sepolia that acts as a decentralized phonebook for validator nodes.
What Is PeerRegistry?
PeerRegistry is a Solidity smart contract deployed on Base Sepolia at 0x452fb66159dFCfC13f2fD9627aA4c56886BfB15b. It stores a mapping of AI agent nodes — their decentralized identifiers (DIDs), libp2p peer IDs, multiaddrs, and trust scores — fully on-chain and publicly readable by anyone.
Think of it as a blockchain-native version of a DNS directory, but for a peer-to-peer network of AI agents.
How It Works
-
Node starts → reads
getAllPeers()from the PeerRegistry contract - Discovers peers → uses their multiaddrs as bootstrap points
-
Registers self → calls
registerPeer()on-chain with its own DID + multiaddr - Stays discoverable → any future node that joins will find it via the contract
No central bootstrap server. No hardcoded IPs. Just Ethereum state.
Why It Matters
- No central point of failure — blockchain is the bootstrap
- Censorship-resistant — nobody can remove your node without your private key
- Verifiable — every registration is an on-chain transaction
See It in Action
npx soulprint-network
curl http://localhost:4888/network/peers
Your node auto-registers on-chain within seconds of startup.
Full source: github.com/manuelariasfz/soulprint 🌐
Top comments (0)