0
anchor idl fetch M2mx93ekt1fmXSVkTrUL9xVFHkmME8HTUi5Cyc5aF7K

But I get Error: Account not found, why is this? Surely the Program Account must have an IDL??

1 Answer 1

1

This method will return the IDL if and only if the IDL was previously uploaded to the blockchain using anchor idl init.

A lot of teams doesnt want to upload their IDL to the blockchain, because that means to "opensource" their program and preffer to work on a more centralized way (a lot of Markets on Solana do this).

1
  • 1
    Well. That sucks.
    – dinmavr
    Aug 19, 2022 at 11:04

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.