Nostr DHT Simulation

This is a simulation of a Kademlia-based Distributed Hash Table for Nostr relay discovery.

  1. Click any node to select it as the querying node (it will be highlighted in red).
  2. Then, do one of the following:
    • Click another node to find the K-closest nodes to it.
    • Use the search box to find the K-closest nodes to an npub/pubkey.

The lookup path is shown with red lines. The final K-closest nodes are highlighted in blue for npub lookups.

Click a node to begin...

Initializing DHT...