ambula-labs / ambula

A fork from the substrate node template, implementing the Proof of Interaction consensus algorithm.
The Unlicense
1 stars 0 forks source link

Use the signing RPC client #27

Closed LcsTen closed 1 year ago

LcsTen commented 1 year ago

jsonrpsee provides both the RPC server and the RPC client. We should see how it can be used in the "mining" loop, as it is necessary to actually sign the incoming messages. See https://docs.rs/jsonrpsee-proc-macros/0.18.1/jsonrpsee_proc_macros/attr.rpc.html for an example of usage.