mirror of
https://github.com/waku-org/waku-rust-bindings.git
synced 2025-02-24 12:28:08 +00:00
513 B
513 B
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"