mirror of
https://github.com/logos-messaging/logos-messaging-nim.git
synced 2026-06-26 11:29:28 +00:00
Squash of the kernel-wiring work (d86f0651..535fe2c9): - Don't exercise FFI of Brokers - Fix tests and examples to compile; verify product unchanged - bump nim-brokers to v3.1.3 - Events dropListeners changed to async - WIP + finalize KernelInterface <-> Waku wiring
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 cppwaku_example -j8
This will create liblogosdelivery.so and cppwaku_example binary within the build folder.
Run
- Open terminal
- cd to nwaku root folder
- export LD_LIBRARY_PATH=build
./build/cppwaku_example --host=0.0.0.0 --port=60001
Use ./build/cppwaku_example --help to see some other options.