programKeyToID
programKeyToID(
key
):ProgramIDNumber
Decodes program ID from a program key
Parameters
• key: `ag5zfmtoYW4tYWNhZGVteXI${string}CxIKU2NyYXRjaHBhZB${string}${string}`
Returns
Remarks
Program keys are (URL-safe) Base64 encoded strings that contain the program ID.
Credit to @L1quidH2O for the original implementation.