If you used Libp2p and thought this is garbage;

1. you are definitely right.

2. Checkout Iroh guaranteed it will "just work"

disclosure, Iroh uses Pkarr to find nodes by their ID because they don't have a DHT themselves, but their holepunching is impeccable and they are artisans and mind their crafts very well.

nostr:note1g72frpre57ld5dcfxhlr4cpulqcl6dhkvjxr657ly843amek3m8spza2uk

Reply to this note

Please Login to reply.

Discussion

Just installed iroh. Looks allright.

How does it use #pkarr?

Iroh dev here.

The core of iroh is p2p QUIC with dial by node id and very good NAT hole punching, so you almost always get direct connections.

We need a global mechanism to publish some information (a relay URL and optional direct addresses) for an ed25519 public key.

We have multiple mechanisms, one of them pkarr.

So far it works really, really well. Both speed and reliability is comparable to DNS, but we don’t have to run infrastructure. It is just nice in terms of operations even if you don’t care about p2p for ideological reasons.

See https://docs.rs/iroh-net/latest/iroh_net/discovery/index.html