| Crates.io | avalanche-types |
| lib.rs | avalanche-types |
| version | 0.1.5 |
| created_at | 2022-04-12 22:51:57.932571+00 |
| updated_at | 2024-02-27 16:52:58.603715+00 |
| description | Avalanche primitive types in Rust |
| homepage | https://avax.network |
| repository | https://github.com/ava-labs/avalanche-rs/tree/main/crates/avalanche-types |
| max_upload_size | |
| id | 566714 |
| size | 3,578,256 |
The avalanche-types crate implements and is the canonical representation of Avalanche primitive types in Rust. Avalanche types are separated by modules and are all under the src directory.
This crate also provides an SDK library for developing subnets in Rust. For the SDK functionality, see src/subnet which contains everything required to build a subnet VM in Rust.
The following VMs were built with the SDK:
Examples can be found in examples and are a good first step to getting an understanding of general usage.
This project uses the latest stable Rust toolchain.
First please try find the answer to your question in the code documentation. If more clarification is required, try opening an issue with the question.
src/ids)src/platformvm/txs)src/key/cert)src/key/secp256k1)src/message)src/subnet/rpc)src/subnet_evm)src/proto)/src/avalanchego)The basic types available in this crate are used in other Avalanche Rust projects (e.g., distributed load tester blizzard, avalanche-ops).