mirror of
https://github.com/waku-org/js-waku.git
synced 2025-01-12 05:24:43 +00:00
e6d3c2f595
Active relay peers are peer which are part of the gossip mesh. Which means that it's not just a peer we are connect to but a peer on subscribed to the same pubsub topic, with a good score, part of the mesh, etc. Mesh maintenance is done during the gossipsub hearbeat so it's the best time to review the count. A store peer is any peer we are connected to that support the store protocol, so it can be counted when a new peer is added to the store. This does not cater for store peers that disconnect, but we are not handling those just yet.
Examples
Here is the list of the code examples and the features they demonstrate:
- Web Chat App: Group chat, React/TypeScript, Relay, Store.
- Ethereum Private Message Web App: Private Messaging, React/TypeScript, Light Push, Signature with Web3, Asymmetric Encryption.
- Minimal ReactJS Waku Relay App:
Group chat,
React/JavaScript,
create-react-app
/react-scripts
5.0.0, Waku Relay Protobuf usingprotons
, No async/await syntax. - Minimal ReactJS Waku Store App: Waku Store, React/JavaScript, Protobuf using
protons
. - Pure Javascript Using Minified Library: Stop retrieving results from Waku Store on condition, Use minified bundle from Unpkg.com, JavaScript.
See https://docs.wakuconnect.dev/docs/examples/ for more examples.