waku-org / js-waku

JavaScript implementation of Waku v2
https://js.waku.org
Apache License 2.0
162 stars 41 forks source link

chore: remove predefined list of nodes #2035

Closed danisharora099 closed 2 weeks ago

danisharora099 commented 4 weeks ago

This is a change request

Problem

We store multiaddrs for nodes from the deployed fleets hardcoded. This is unreliable, is our source of truth is the ENR Tree, and resolution of nodes should occur from the ENR Tree.

Proposed Solution

Remove the predfined list of nodes, and use the ENR Tree for resolution. DNS module can be used for the resolution into multiaddresses.