truthlinked-axiom-sdk 0.1.2

TruthLinked Axiom Cell SDK — IR pipeline, regalloc, codegen, CellBuilder
Documentation

TruthLinked Axiom Cell SDK

Build Cells using the IR pipeline or CellBuilder directly. For high-level cell authoring, use the axiom-cc compiler with .cell source files.

Example (low-level)

use truthlinked_axiom_sdk::CellBuilder;

let bytecode = CellBuilder::new()
    .require_owner()
    .get_caller(1)
    .load_imm64(2, 1000)
    .sstore(1, 2)
    .halt()
    .build();