Crates.io | bryte_descriptor_attribute |
lib.rs | bryte_descriptor_attribute |
version | 0.1.0-alpha.2 |
source | src |
created_at | 2023-11-21 01:41:47.541595 |
updated_at | 2023-12-13 03:01:35.230583 |
description | Bryte-Descriptor attribute macro for defining an event |
homepage | |
repository | |
max_upload_size | |
id | 1043597 |
size | 14,521 |
This library provides macros for account and event structs that generate "descriptor" structs. These descriptor structs hold the Borsh Schemas for your accounts or events. These schemas can be retrieved on-chain and used to deserialize account or event data.
This library supports both Solana programs and Anchor programs.
Please see the anchor-demo-program or bryte-descriptor-solana-demo for example usage.