⚠️This API and documentation is still under active development.
We have contemplated building ZoKrates as a static Rust library and linking it to our Golang binary. At this time, only some preliminary research has been done. Some high-level insights from that research are provided below.
The following approach is experimental and does not currently work. It is provided for reference for anyone who is interested in adding ZoKrates support to the API.
Linking a Static Rust Library with Golang Binary
This is an interesting article that describes how to approach building a static Rust library and link it to Golang binary.
The following Makefile was added to the ZoKrates repository on this fork: