Crates.io | near-abi |
lib.rs | near-abi |
version | 0.4.3 |
source | src |
created_at | 2022-08-16 08:32:55.584323 |
updated_at | 2024-05-01 06:33:13.456855 |
description | NEAR smart contract ABI primitives |
homepage | |
repository | https://github.com/near/near-abi-rs |
max_upload_size | |
id | 646509 |
size | 43,795 |
near-abi-rs
Rust library providing NEAR ABI models.
Release notes and unreleased changes can be found in the CHANGELOG
❗ Warning: ABI is still in early stages of development so expect breaking changes to this library until we reach 1.0
This library is meant to serve as an unopinionated reference for Rust models of the NEAR ABI.
This repo also contains meta JSON Schemas of ABI. These schemas can be found in the metaschema
folder: near-abi-${version}-schema.json
for a specific ABI schema version or near-abi-current-schema.json
for what is currently in the main
branch of the repository.
Metaschemas describe the properties of ABI schema format and allow anyone to validate whether a JSON file is a valid NEAR ABI. For example, one could use an online validator like https://www.jsonschemavalidator.net/ or a library such as ajv.
If you are interested in contributing, please look at the contributing guidelines.
Licensed under either of
at your option.