anchor
anchor copied to clipboard
Expose the CLI methods in crate for deserializing the IDL
Expose the CLI methods in crate for deserializing the IDL, using it to parse instructions and accounts within Rust
This one came from Noah G, and would love for him to shed some light on this @ngundotra
The Anchor CLI has code to deserialize account state that should be public methods so that way devs can reuse them.
Here's an example CLI explorer that uses anchor IDLs to deserialize data (https://github.com/ngundotra/solana-tx-parser-rust/blob/196ae0eabd085d228333312a046291d88a44bea9/src/main.rs#L230-L414).
All the highlighted code actually exists in anchor CLI (maybe with some slight modifications)
can i work on this as far as i understood we have to make the deserializing methods of anchor CLI public for devs to use in there code...?
can i work on this as far as i understood we have to make the deserializing methods of anchor CLI public for devs to use in there code...?
That's it!