crates
contains generated clients for keyshare, pep modules.
bin
provides an example of how to use the crates.
- Replace the files in the
proto/fairyring
directory. - Inside the
proto
directory, runbuf generate
. - In
fairblock-proto/src/prost/fairyring.keyshare.rs
add thegrpc
feature.
#[cfg(feature = "grpc")]
include!("fairyring.keyshare.tonic.rs");
- In
fairblock-proto/src/prost/fairyring.pep.rs
add thegrpc
feature.
#[cfg(feature = "grpc")]
include!("fairyring.pep.tonic.rs");
- Run the tests in
bin
to see if they pass.