Waku Web Chat POC
Go to file
Oskar Thoren 3149e41845
Update README
2020-09-21 12:58:53 +08:00
browser Add hacky patches for nim-waku interop 2020-09-21 12:57:00 +08:00
nodejs Add hacky patches for nim-waku interop 2020-09-21 12:57:00 +08:00
patches Add hacky patches for nim-waku interop 2020-09-21 12:57:00 +08:00
.gitignore Update README 2020-09-21 12:37:52 +08:00
README.md Update README 2020-09-21 12:58:53 +08:00

README.md

Waku Web Chat Example

This is just a POC to showcase Waku usage from the browser.

Shamelessly based on https://github.com/libp2p/js-libp2p-examples/

Install

(cd browser && npm install)
(cd nodejs && npm install)

Run

Run bootstrap node:

cd nodejs/bootstrap
node index.js

Run nodejs node:

cd nodejs/src
node index.js

Run browser node:

cd nodejs
npm start 

You may start multiple browser or nodejs nodes but only one bootstrap node.

Patches

See patches folder for current hacks to get basic interop with nim-waku.

If there are problems applying them, comment out postinstall in package.json.