Ivan FB d94cb7c736
fix log libwaku (#3608)
* libwaku properly set a default log config
* waku_example.c set numShardsInNetwork to 257
2025-10-01 22:03:05 +02:00
..
2025-10-01 22:03:05 +02:00

App description

This is a very simple example that shows how to invoke libwaku functions from a C program.

Build

  1. Open terminal
  2. cd to nwaku root folder
  3. make cwaku_example -j8

This will create libwaku.so and cwaku_example binary within the build folder.

Run

  1. Open terminal
  2. cd to nwaku root folder
  3. export LD_LIBRARY_PATH=build
  4. ./build/cwaku_example --host=0.0.0.0 --port=60001

Use ./build/cwaku_example --help to see some other options.