As the title states is there a crate or any mechanism to get an idl similar to what we get with anchor programs but for vanilla/bare-bones solana programs ?
2 Answers
Yes it is, but afaik there is not automated solution yet, although I believe @acheron was working on something in that vein.
A few of them are implemented and available already:
There is actually an #idl-all-the-things
channel in the Anchor Discord for that purpose.
The general idea of how to come up with it is to:
This repo might interest you. Using this you can generate IDLs for non-anchor-program.
-
a bit confused on how it works it seems it sometimes uses Shank but other wise it rewrites the instructions and adds comments, could you shed some light on how is it working ? Commented Jul 26, 2022 at 12:50
-
yes. please elaborate the answer here. this is effectively a "link-only" answer Commented Jul 26, 2022 at 18:11