Closed dckc closed 3 years ago
for now (241742b), I re-exported RhoTypes
and CasperMessage
so I could do:
const { RHOCore, RhoTypes } = require('rchain-api');
const data = [true, 1, 'abc', null, [1, 2, 3]];
const rhoProto = RHOCore.fromJSData(data);
RhoTypes.Par.verify(rhoProto);
leaving gRPC and protobuf in the dust
I'm writing an example and it would be useful to do something like:
The protobufs, with typescript and flow type annotations, would be good to publish as a separate npm package.