-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add documentation / examples #11
Comments
Thanks for reaching out and apologies for the state of this implementation not being clear in the README. I updated the README to clarify this. This module has a candidate implementation in a PR, but it still needs to be tested and finished. This will be picked up again once it is a priority per protocol/web3-dev-team#67 |
For now, I would recommend you rely on a pubsub mechanism for your needs. You can see a setup for this in https://github.com/libp2p/js-libp2p/tree/master/examples/discovery-mechanisms#3-pubsub-based-peer-discovery |
Thanks for the quick reply! Just to clarify, the rendezvous node I need to connect to follows the Rendezvous Spec and is written in Rust. I don't think I can use the detection mechanism you quoted above. Is that correct? |
Oh, you want a rendezvous client, and not this (this module is a Rendezvous Server). That is/was kind of blocked on not being a priority: libp2p/js-libp2p#856 But, with other languages implementing the Server, it will be easy to get it in without having the JS Server ready |
In the meantime, you can try to get libp2p#856 updated with master and try to get it running. Note: There is also a WIP example that showcases how it would work: libp2p/js-libp2p#862 |
Sorry, for bothering you again but I'm unable to install the branch via npm because I get typescript errors.
|
I would like to to use your library to connect to a rendezvous point and retrieve peers from a namespace. Can you give me simple example on how I would be able to do that?
The text was updated successfully, but these errors were encountered: