Skip to main content

fetch_program_elf

Function fetch_program_elf 

Source
pub fn fetch_program_elf(
    program_id: &str,
    rpc_url: &str,
    use_cache: bool,
) -> Result<Vec<u8>>
Expand description

Fetch the raw ELF bytes for program_id, caching under ~/.cache/univdreams/solana/. With use_cache = false, the cached copy is ignored and overwritten.