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
8
9
10
use borsh::{BorshDeserialize, BorshSerialize};
pub use titan_types_core::{RuneAmount, RuneId, SpacedRune};

#[derive(Debug, Clone, BorshSerialize, BorshDeserialize, PartialEq, Eq)]
pub struct RuneInfo {
    pub max_supply: u128,
    pub premine: u128,
    pub divisibility: u8,
    pub name: SpacedRune,
}