GithubHelp home page GithubHelp logo

Comments (3)

haydenyoung avatar haydenyoung commented on May 28, 2024 1

Yes, your assumption is correct. You will need a relay node to aid with address discovery on the browser node, basically saying, "This is the address which other nodes can connect to".

We are in the process of providing more extensive examples but there are currently time and resource constraints. In the meantime, I recommend looking at the unit tests for examples of how to connect browser nodes. In particular, check out the relay and dialling code under test/utils.

from examples.

shideneyu avatar shideneyu commented on May 28, 2024

I see. This link surely helps indeed. It's even more important to have exemple since many libp2p libraries are not available in a browser context (mdns...), making the whole thing difficult to test and setup, unless having to manually scavenge for hours on the internet.

I think I'm almost up in my understanding. Sure, we will be waiting for the update of this cool repo, thanks

from examples.

haydenyoung avatar haydenyoung commented on May 28, 2024

I also encourage you to join the helia and libp2p communities because it will a) allow you to be in direct contact with the developers who are probably best positioned to help with p2p best practices and b) bring both the ipfs and orbitdb communities closer together, hopefully resulting in some "cross-pollination" of ideas.

We have a blog post here talking about the best methods for reaching out to the IPFS developers.

from examples.

Related Issues (2)

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.