Giter Site home page Giter Site logo

Comments (5)

tobowers avatar tobowers commented on May 25, 2024

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

from go-libp2p-webrtc-direct.

backkem avatar backkem commented on May 25, 2024

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

from go-libp2p-webrtc-direct.

tobowers avatar tobowers commented on May 25, 2024

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

from go-libp2p-webrtc-direct.

tobowers avatar tobowers commented on May 25, 2024

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.

from go-libp2p-webrtc-direct.

backkem avatar backkem commented on May 25, 2024

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.

from go-libp2p-webrtc-direct.

Related Issues (19)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.