mirror of
https://github.com/logos-messaging/logos-messaging-rust-bindings.git
synced 2026-01-02 22:13:07 +00:00
Description
This is a very simplistic example where two waku nodes are instantiated within the same Rust app.
What it does
- Instantiates two Waku nodes
- Each node registers an event callback (waku message event, connection change event, etc.)
- Each node starts
- Each node perform relay subscription
- "node1" publishes a waku message
- Both nodes are stopped
How to run
From within the examples/basic/ foder run:
cargo run