mirror of
https://github.com/logos-messaging/logos-messaging-go-bindings.git
synced 2026-01-16 21:03:05 +00:00
git-subtree-dir: third-party/nwaku git-subtree-split: d94cb7c73631ffd4b934839ba58bc622d331a135
App description
This is a very simple example that shows how to invoke libwaku functions from a C program.
Build
- Open terminal
- cd to nwaku root folder
- make cwaku_example -j8
This will create libwaku.so and cwaku_example binary within the build folder.
Run
- Open terminal
- cd to nwaku root folder
- export LD_LIBRARY_PATH=build
./build/cwaku_example --host=0.0.0.0 --port=60001
Use ./build/cwaku_example --help to see some other options.