#solana #arch #sbf

no-std arch-token-metadata-elf

Prebuilt ELF binary for the Arch Token Metadata program

2 releases

0.1.1 Sep 4, 2025
0.1.0 Sep 4, 2025

#10 in #sbf

Download history 266/week @ 2025-09-03 15/week @ 2025-09-10 1/week @ 2025-09-17 8/week @ 2025-09-24

290 downloads per month
Used in arch-token-metadata-cli

MIT license

190KB
66 lines

Contains (ELF lib, 185KB) elf/arch_token_metadata.so

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.

Dependencies

~14MB
~228K SLoC