arch-token-metadata-elf

Crates.ioarch-token-metadata-elf
lib.rsarch-token-metadata-elf
version0.1.1
created_at2025-09-04 15:31:48.544821+00
updated_at2025-09-04 17:57:44.116123+00
descriptionPrebuilt ELF binary for the Arch Token Metadata program
homepage
repositoryhttps://github.com/levicook/arch-token-metadata
max_upload_size
id1824395
size210,110
korg (levicook)

documentation

README

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 arch_token_metadata_elf::{ARCH_TOKEN_METADATA_ELF, PROGRAM_ID};

let elf_bytes: &[u8] = ARCH_TOKEN_METADATA_ELF;
let program_id: [u8; 32] = PROGRAM_ID;

Publishing notes:

  • Ensure elf/arch_token_metadata.so exists before publishing. In this workspace, build the program with: cargo build-sbf --manifest-path programs/arch-token-metadata/Cargo.toml and copy the output to sdks/arch-token-metadata-elf/elf/arch_token_metadata.so.
Commit count: 14

cargo fmt