https://github.com/axone-protocol/axone-contract-schema
🚀 Client libraries (for different languages) simplifying Axone chain interactions.
https://github.com/axone-protocol/axone-contract-schema
golang schema smart-contracts typescript
Last synced: 26 days ago
JSON representation
🚀 Client libraries (for different languages) simplifying Axone chain interactions.
- Host: GitHub
- URL: https://github.com/axone-protocol/axone-contract-schema
- Owner: axone-protocol
- License: bsd-3-clause
- Created: 2023-08-25T12:59:18.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-03-18T11:00:18.000Z (about 1 month ago)
- Last Synced: 2025-03-21T08:37:47.415Z (about 1 month ago)
- Topics: golang, schema, smart-contracts, typescript
- Language: Go
- Homepage:
- Size: 626 KB
- Stars: 5
- Watchers: 2
- Forks: 1
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-ccamel - axone-protocol/axone-contract-schema - 🚀 Client libraries (for different languages) simplifying Axone chain interactions. (Go)
README
# Contract schemas
> Generated types for [AXONE contracts schemas](https://github.com/axone-protocol/contracts).
[](https://github.com/axone-protocol/axone-contract-schema/releases)
[](https://github.com/axone-protocol/axone-contract-schema/actions/workflows/build.yml)
[](https://github.com/axone-protocol/axone-contract-schema/actions/workflows/lint.yml)
[](https://github.com/axone-protocol/axone-contract-schema/actions/workflows/test.yml)
[](https://conventionalcommits.org)
[](https://github.com/semantic-release/semantic-release)
[](https://github.com/axone-protocol/.github/blob/main/CODE_OF_CONDUCT.md)
[](https://opensource.org/licenses/BSD-3-Clause)## Purpose
This repository contains [AXONE contract schemas](https://github.com/axone-protocol/contracts) and enables the generation of JSON Schema types in multiple programming languages, including:
- TypeScript ([ts](ts/))
## Usage
### Requirements
- [mage](https://magefile.org/) 1.15+
- [Go](https://golang.org/) 1.22+### Available commands
```bash
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:
```bash
mage schema:generate v5.0.0
```Build targeted language schema:
```bash
mage build:ts axone-objectarium
```## You want to get involved? 😍
Please check out AXONE health files :
- [Contributing](https://github.com/axone-protocol/.github/blob/main/CONTRIBUTING.md)
- [Code of conduct](https://github.com/axone-protocol/.github/blob/main/CODE_OF_CONDUCT.md)