You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
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?
The text was updated successfully, but these errors were encountered: