arch_program 0.6.4

A Rust library for building programs that run inside the Arch Virtual Machine. Provides core functionality for creating instructions, managing accounts, handling program errors, and interacting with the Arch runtime environment. Includes utilities for logging, transaction handling, and Bitcoin UTXO management.
Documentation
1
2
3
4
5
6
7
// This is the native loader.
// Used for invoking native programs; it doesn't have an account of its own,
// but native programs use this address in their owner's field.
crate::declare_id!("NativeLoader1111111111111111111111111111111");

/// Backwards-compatible alias for the native loader program ID.
pub const NATIVE_LOADER_ID: crate::pubkey::Pubkey = ID;