Closed nuel77 closed 1 year ago
You have created only one libp2p node and floodsub doesn't emitEvent to himself by default(you can change that in options). I will close the issue for now, if it is still happening please post a reproduction example that we can run standalone.
Gossibsub error looks like related to bundling, you can open a separate issue with example for that on https://github.com/ChainSafe/js-libp2p-gossipsub
Hello, I am trying to chat with in the browser using lib2p i tried with the example listed here. but i was not able to recive any messages. i am not sure where i am doing wrong. my code is as follows.
if i try changing the floodsub to gossipsub
i am getting this error
So basically, both floodsub and gossipsub are not working for me for some reason. my package.json is attached below.
my end goal here is to connect to rust-node and communicate with that node using the browser. Is this possible using the current libp2p? also will the gossips emitted by the rust-node be available in the browser side?