Open KrishnaPG opened 5 years ago
There's no API for it, but it should be straightforward to write one.
Since hbbft
only implements the abstract protocol and is meant to be used as a library, the best way to do it might be via FFI: You could write (in Rust) a wrapper that exposes a C-compatible API, which can then be used with any language's FFI features.
But writing a small Rust application around it that communicates via REST or gRPC with other components could work, too.
Wondering how to make this work with other languages. Is there an API to consume this library from other languages, such as JS? Something like REST/HTTP or Websocket messaging / gRPC?