Is there a pattern in which account the IDL is stored in?
1 Answer
If there's an IDL published on-chain you can use fetchIdl
For example:
const IDL = await anchor.Program.fetchIdl(new PublicKey("...program ID here..."), provider);
If there's an IDL published on-chain you can use fetchIdl
For example:
const IDL = await anchor.Program.fetchIdl(new PublicKey("...program ID here..."), provider);