Skip to content
This repository has been archived by the owner on Nov 22, 2022. It is now read-only.

Add JS equivalent of libp2p-echo example #17

Open
backkem opened this issue Feb 25, 2019 · 5 comments
Open

Add JS equivalent of libp2p-echo example #17

backkem opened this issue Feb 25, 2019 · 5 comments
Labels
help wanted Seeking public contribution on this issue

Comments

@backkem
Copy link
Contributor

backkem commented Feb 25, 2019

Add JS equivalent of libp2p-echo example to show off compatibility.

@backkem backkem added the help wanted Seeking public contribution on this issue label Feb 27, 2019
@tobowers
Copy link
Contributor

Is there any example for adding the js to a libp2p node? I'm getting invalid multiaddr from bootstrap

@backkem
Copy link
Contributor Author

backkem commented Aug 21, 2019

Hi @tobowers, I'm not all to familiar with js-libp2p. Maybe @vasco-santos can help us out with setting up a compatibility test.

@tobowers
Copy link
Contributor

Would really love this - I'm seeing a lot of errors trying to get the two to talk.

@tobowers
Copy link
Contributor

fwiw - I don't think the current code works with libp2p, at least browser? However, getting rid of all the internal mux here and switching it around to use the transport.Upgrader has seemed to work.

@backkem
Copy link
Contributor Author

backkem commented Aug 22, 2019

There is a lower level integration test between the JavaScript and Go variant in examples/standalone. I'm not sure why it would not work when plugged into libp2p.

FYI, pion/webrtc supports compiling to WASM. One thing the 0x guys have been trying is to run go-libp2p both naively and in the browser using WASM. That way you only need one codebase. This effort isn't complete thought.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
help wanted Seeking public contribution on this issue
Projects
None yet
Development

No branches or pull requests

2 participants