I'd like to propose the following type definition for the metadata field of the IDL:
/**
* Metadata for IDL origination and program identification
*/
export type IdlMetadata = {
origin?: string;
deployments?: IdlMetadataDeployments[];
};
/**
* Information related to where the relevant program is
*/
export type IdlMetadataDeployments = {
chainId: string;
address: string;
slot?: number;
};
Metadata should tell me where to find the program, and at which slot does this IDL begin accurately describing the program.
i think this is good. this is potentially where the security_txt data from neodyme could be useful as well...or at the very least some form of contact information for the authority.
I'd like to propose the following type definition for the
metadata field
of the IDL:Metadata should tell me where to find the program, and at which slot does this IDL begin accurately describing the program.
Looking for feedback, suggestions & additions