All Questions
1 question
2
votes
1
answer
435
views
How to deserialized Anchor accounts in Rust
In JS/TS I can decode an account from bytes using the coder:
const program = new Program(IDL, new PublicKey(""), anchorProvider)
const decoded = program.coder.accounts.decode("...