Skip to content

Instantly share code, notes, and snippets.

@chmanie
Last active May 6, 2019 10:11
Show Gist options
  • Select an option

  • Save chmanie/ee03c643688cdc14f3570950945392aa to your computer and use it in GitHub Desktop.

Select an option

Save chmanie/ee03c643688cdc14f3570950945392aa to your computer and use it in GitHub Desktop.
libp2p discovery options

libp2p discovery options

Module name node support browser support go support works w/o rendezvous server true P2P[1] works w/o bootstrap

libp2p-mdns

X

O

X

X

X

X

libp2p-railing[2]

X

X

X[3]

X

X

O

libp2p-kad-dht

X[4]

X[4]

X

X

X

O

libp2p-webrtc-star

X

X

O

O

X

O[5]

libp2p-websocket-star

X

X

X

O

O

O[5]

Further reading


1. no tunnel required
2. this is essentially just bootstrapping, not discovery per se
3. via bootstrap config
4. disabled by default, see: libp2p/js-libp2p-kad-dht#86 and ipfs/js-ipfs#1982
5. you have to bootstrap the star itself
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment