plebbit / plebbit-js

A Javascript API to build applications using plebbit
GNU General Public License v2.0
39 stars 7 forks source link

implement multisubs #21

Open estebanabaroa opened 6 months ago

Rinse12 commented 6 months ago

Do we need to wait for P2P in browser to implement MultiSub or are we assuming that the caller of plebbit.createMultisub is connected to an ipfs node?

estebanabaroa commented 6 months ago

Do we need to wait for P2P in browser to implement MultiSub or are we assuming that the caller of plebbit.createMultisub is connected to an ipfs node?

with helia it's now possible to publish IPNS in the browser, I wrote an example of how https://github.com/estebanabaroa/custom-pubsub/blob/master/demo1.js

so I guess what we would do is, if the user has a IPFS client or RPC client, it uses those clients, if not it uses helia