axone-protocol / axone-contract-schema

🚀 Client libraries (for different languages) simplifying Axone chain interactions.
BSD 3-Clause "New" or "Revised" License
4 stars 1 forks source link
golang schema smart-contracts typescript

Contract schemas

Generated types for AXONE contracts schemas.

version build lint test conventional commits semantic-release contributor covenant License

Purpose

This repository contains AXONE contract schemas and enables the generation of JSON Schema types in multiple programming languages, including:

Usage

Requirements

Available commands

Targets:
  build:go           build go schema for the given contract schema.
  build:ts           build typescript schema for the given contract schema.
  bumpVersion:go     bumps the version of the go packages with the given version.
  bumpVersion:ts     bumps the version of the typescript packages with the given version.
  publish:ts         publishes the typescript packages for the given schema.
  schema:clean       remove temporary files.
  schema:download    download contracts schemas at a given ref.
  schema:generate    build and generate contracts json schemas at the given ref.
  schema:readme      generate contracts readme on all target.

Download and generate schema for a specific version:

mage schema:generate v5.0.0

Build targeted language schema:

mage build:ts axone-objectarium

You want to get involved? 😍

Please check out AXONE health files :