Skip to content
This repository has been archived by the owner on May 16, 2024. It is now read-only.

Cerebellum-Network/ddc-schemas

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DDC Schemas

This repository contains the interface definitions of DDC protocols. The documentation is hosted at docs.cere.network.

Generating the documentation of the schema

The documentation is generated from the interface definitions in this repo. Refresh it with this command:

make docs

Find the result in build/docs/ and synchronize it with the source of docs.cere.network

Generating code

It is recommended to use code generated from the interface definitions.

See the example for JavaScript in the Makefile: make js

Or see a project-specific setup, for example, in the Go SDK.

Whatever you do, please refer to specific versions of this ddc-schemas repository (git tags).

Test vectors

Test values and their serialized forms are given in the test-vectors folder. These files were generated from test code of the respective SDKs. They can be used to test for regressions or compatibility between different components at different versions.