arch_token_metadata_elf
Prebuilt ELF binary for the Arch Token Metadata on-chain program.
- This crate embeds the compiled program binary at compile time using
include_bytes!. - The build script prefers a packaged
elf/arch_token_metadata.so(included in the crate), and falls back to a workspace-built artifact during local development.
Usage:
use ;
let elf_bytes: & = ARCH_TOKEN_METADATA_ELF;
let program_id: = PROGRAM_ID;
Publishing notes:
- Ensure
elf/arch_token_metadata.soexists before publishing. In this workspace, build the program with:cargo build-sbf --manifest-path programs/arch-token-metadata/Cargo.tomland copy the output tosdks/arch-token-metadata-elf/elf/arch_token_metadata.so.