Skip to main content

get_or_create_program_id

Function get_or_create_program_id 

Source
pub fn get_or_create_program_id(
    name: &str,
    target_path: impl AsRef<Path>,
) -> Pubkey
Expand description

Read the program keypair file or create a new one if it doesn’t exist.