Open alphafitz11 opened 4 months ago
Hey @alphafitz11, thanks for calling this out. Right now Core isn't supported as an explicit account in the Accounts structure. This is because of the way it's composed of a set of base data and a collection of plugins, with most users only needing to read a subset. However integrating this into the Anchor Accounts is something we're actively working on. Right now the recommended way to work with Core in Anchor is to treat it as an UncheckedAccount and deserialize it within the instruction.
Anchor 0.30.0 require CoreAsset and CoreCollection to implement the Discriminator trait to build IDL. When using anchor 0.30.0, compiling IDL will encounter the following errors: