js-waku icon indicating copy to clipboard operation
js-waku copied to clipboard

Use DNS Discovery by default

Open D4nte opened this issue 2 years ago • 0 comments

Problem

DNS Discovery is a more decentralized and flexible strategy than using the (hardcoded) predefineded Status nodes. We expect node operators and platforms to use DNS Discovery (either Status' one or their own) until more dynamic discovery mechanisms are in place (such as peer exchange).

Definition of Done

  • [ ] Confirm that nwaku native websocket support is now stable
    • [ ] Use the fleet test suite: https://github.com/status-im/js-waku/pull/604
    • [ ] Try with web-chat, maintaining connection for 5min
    • [ ] Replace port in predefined node with the native one from nwaku instead of websockify and release.
  • [ ] Include a test that uses enr when Waku.create
  • [ ] Use DNS Discovery with the fleet test suite
  • [ ] Use DNS Discovery in the web-chat example
  • [ ] Use DNS Discovery as the default bootstrap method

D4nte avatar Feb 11 '22 01:02 D4nte