nimbus-eth1/wrappers
Ștefan Talpalaru f6121c10f0
various changes:
- 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
2019-08-02 18:59:47 +02:00
..
README.md libnimbus.a and statically linked wrapper examples 2019-08-02 18:13:50 +02:00
libnimbus.h various changes: 2019-08-02 18:59:47 +02:00
libnimbus.nim various changes: 2019-08-02 18:59:47 +02:00
wrapper_example.c various changes: 2019-08-02 18:59:47 +02:00
wrapper_example.go various changes: 2019-08-02 18:59:47 +02:00

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