metaplex-foundation / shank

Extracts IDL from Solana Rust contracts
https://docs.rs/crate/shank_macro/latest
116 stars 23 forks source link

[feat]: Add mapping to IDL metadata to parse accounts based upon an Enum prefix #36

Closed ngundotra closed 1 year ago

ngundotra commented 2 years ago

This would make it easier to deserialize accounts that lack Anchor discriminators

thlorenz commented 2 years ago

Could you please provide an example, I'm afraid I'm not too familiar with anchor to understand what exactly you mean.

ngundotra commented 1 year ago

Completed! Sorry for delay