mirror of
https://github.com/logos-messaging/logos-messaging-rust-bindings.git
synced 2026-01-02 14:03:12 +00:00
Description
This is a chat example where multiple participants can talk within the same room.
What it does
- Instantiates one Waku node
- Starts the Waku node
- Registers the node to waku events (messages, connection change, topic health, etc.)
- Subscribes de node to the game_topic
- Retrieves previous chat messages at the beginning
How to run
From within the examples/toy-chat/ folder, run the following to start a chat using the given nick name.
e.g.:
cargo run "Alice"