This repository was archived by the owner on Feb 12, 2024. It is now read-only.
This repository was archived by the owner on Feb 12, 2024. It is now read-only.
Add delegated routing to js-ipfs browser #2155
Closed
Description
This issue is a child of Connectivity Magic #1459, and is intended to track the completion of the Delegated Routing portion of that.
Until browsers have the support needed to handle DHT queries quickly (direct dialing capabilities), delegated peer and content routing will be an important part of ensuring nodes are able to find peers and content.
js-libp2p already has support for custom content and peer routing modules. There are currently two modules that can leverage the IPFS api to achieve both. An example of this is at https://github.com/libp2p/js-libp2p/tree/v0.25.3/examples/delegated-routing.
TODOs
These are the necessary steps to adding delegated routing support to js-ipfs in the browser:
- Deploy go-ipfs nodes that have support for the needed delegated routing endpoints. Context at gateway: make API commands configurable kubo#5565
- Add delegated content routing module to js-ipfs, libp2p browser config
- Add delegated peer routing module to js-ipfs, libp2p browser config
Refs: