arch-token-metadata-elf 0.1.1

Prebuilt ELF binary for the Arch Token Metadata program
Documentation
  • Coverage
  • 33.33%
    1 out of 3 items documented0 out of 0 items with examples
  • Size
  • Source code size: 210.11 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.85 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 39s Average build duration of successful builds.
  • all releases: 33s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • levicook/arch-token-metadata
    1 1 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • levicook

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.