cobox-schemas
This module exports a set of object factories for use with a hypercore. Factories build payloads for a cobox-log using JSON schemas for validation and Protocol Buffers for encoding.
This module also exports all currently used message schemas in CoBox as raw validators and encoders.
In order to use the protocol-buffers message encoders, you'll need to pre-compile them.
npm run compile
const Factory = const author = 'a94fd23d17443e336b798642db689492344c9a35dc37d93e529acd4a432c64c3'const PeerAbout GroupAbout = // Lets build a new peer/about message with a name...