Skip to content

testing out libp2p pubsub in the browser

Notifications You must be signed in to change notification settings

bradwbradw/libp2p-pubsub

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

libp2p-pubsub

testing out libp2p pubsub in the browser

libp2p/js-libp2p#1865

Structure

built using create-react-app

libp2p deps are pulled in by helia

edited/added app files:

  • relay.js
  • src/index.tsx
  • src/relay-peerid.js

Topology

circuit-relayv2 node connecting browser clients

Usage

  1. start relay server
# shell 1
$ npm run relay
  1. start dev server
# shell 2
$ npm run start

Observed vs Expected Behavior

clients do not discover eachother unable to add pubsub peers to mesh, even after manually connecting clients using relay multiaddrs

About

testing out libp2p pubsub in the browser

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 66.1%
  • HTML 16.1%
  • JavaScript 14.4%
  • CSS 3.4%