mazzaroth-xdr

Crates.iomazzaroth-xdr
lib.rsmazzaroth-xdr
version0.8.2
sourcesrc
created_at2019-09-27 21:54:56.477682
updated_at2022-05-20 18:23:15.63449
descriptionXDR objects used by Mazzaroth
homepagehttps://github.com/kochavalabs/mazzaroth-xdr
repositoryhttps://github.com/kochavalabs/mazzaroth-xdr
max_upload_size
id168264
size8,908
(mazzaroth-dev)

documentation

README

Mazzaroth-XDR

CircleCI

Self Link

Mazzaroth-xdr is a library that defines the core XDR data structures used by Mazzaroth. This includes the definitions of the blockchain, its underlying data structures and the objects stored in the StateDB.

All objects are defined in the idl directory as .x files and the code for each language is generated.

We currently support code generation for 3 languages: javascript, rust and go. The generated code has the following dependencies:

The generated code is created with the help of xdr-codegen and should not be modified manually.

Generating Code

If any changes are made to the idl files the code can generated by running the npm build script after updating the xdr-codegen.

First clone or update xdr-codegen

git clone git@github.com:kochavalabs/xdr-codegen.git
cd xdr-codegen
git pull

Then run the npm build script to generate the code for all languages:

npm install
npm run build

License

MIT

Commit count: 489

cargo fmt