docs: add simple README.md for all examples (#111)

Co-authored-by: richΛrd <info@richardramos.me>
This commit is contained in:
Ivan FB
2025-01-20 16:15:45 +01:00
committed by GitHub
co-authored by richΛrd
parent 75b5c4c4f8
commit 247f740f1d
3 changed files with 64 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
### Description
This is a very simplistic example where two waku nodes are instantiated within the same Rust app.
### What it does
1. Instantiates two Waku nodes
2. Each node registers an event callback (waku message event, connection change event, etc.)
3. Each node starts
4. Each node perform relay subscription
5. "node1" publishes a waku message
6. Both nodes are stopped
### How to run
From within the `examples/basic/` foder run:
```code
cargo run
```