8 releases (4 breaking)

0.4.3 May 1, 2024
0.4.2 Jan 21, 2024
0.4.1 Nov 2, 2023
0.4.0 Oct 8, 2023
0.0.0 Aug 16, 2022

#25 in #near

Download history 834/week @ 2024-07-23 1852/week @ 2024-07-30 1545/week @ 2024-08-06 1823/week @ 2024-08-13 937/week @ 2024-08-20 1281/week @ 2024-08-27 1499/week @ 2024-09-03 1216/week @ 2024-09-10 896/week @ 2024-09-17 1105/week @ 2024-09-24 1169/week @ 2024-10-01 1033/week @ 2024-10-08 1491/week @ 2024-10-15 1353/week @ 2024-10-22 1639/week @ 2024-10-29 1071/week @ 2024-11-05

5,789 downloads per month
Used in 22 crates (9 directly)

MIT/Apache

37KB
767 lines

near-abi-rs

Rust library providing NEAR ABI models.

Github CI Build Crates.io version Download Reference Documentation

NEAR ABI | Reference Documentation | Contributing

Release notes

Release notes and unreleased changes can be found in the CHANGELOG

Overview

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.

ABI Metaschema

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.

Contributing

If you are interested in contributing, please look at the contributing guidelines.

License

Licensed under either of

at your option.

Dependencies

~2.2–3.5MB
~66K SLoC