solana-idl-foundation / solana-idl-spec

Specifying a Solana IDL Standard, inspired from the Anchor IDL Standard
Apache License 2.0
20 stars 2 forks source link

Store IDL on the program like security.txt #18

Open Henry-E opened 1 year ago

Henry-E commented 1 year ago

One way to make sure that every IDL is valid and not broken through manual editing, would be to generate it during compile time and include it inside the program somehow? There was some discussion that the approach security.txt takes is a bit awkward but maybe there's a similar but better way to do.