f6121c10f0
- re-enable Nim's cache globally - add a new "nimcache" subdir for the libraries - make sure Go doesn't try to link libnimbus.a in the dynamically linked wrapper example - always delete the static archive before recreating it - rename wrapper.nim/.h to libnimbus.nim/.h - better hygiene in libnimbus.h (include guards and C++ support) - remove MainnetBootnodes copy, since we do include "config.nim" after all |
||
---|---|---|
.. | ||
README.md | ||
libnimbus.h | ||
libnimbus.nim | ||
wrapper_example.c | ||
wrapper_example.go |
README.md
This folder contains an experimental C wrapper for using parts of the Nimbus code from C/Go in the Status console client:
https://github.com/status-im/status-console-client/
It serves mainly as a proof-of-concept for now - there are several unresolved issues surrounding threading, inter-language communication, callbacks etc.
To build the wrappers and the example programs, run from the top level directory:
make wrappers
Now you can run the example programs:
build/C_wrapper_example
build/go_wrapper_example
To build statically linked versions:
make wrappers-static