Make KDHT / node discovery

Hi,
We have a problem with node discovery in go-libp2p
We need a p2p network, any new peers join to our network make a connection with bootstrap node then find other peers and update peerstores of them.
So we can send our data (for example chat messages) with node’s multiple address.

We can’t find any example or implementation for node discovery in go-libp2p.
Can any body help us?

1 Like

Check out this example go-libp2p/chat.go at master · libp2p/go-libp2p · GitHub