sBPF (Solana Bytecode Format)

Programming Model · Abyss

Solana's custom bytecode format derived from eBPF, used as the compilation target for all on-chain programs. Rust programs compiled with `cargo build-sbf` are transpiled to sBPF instructions executed by the Solana Virtual Machine (SVM). sBPF extends eBPF with Solana-specific syscalls for cross-program invocations, logging, and cryptographic operations. The format enforces a strict instruction set and memory model to ensure deterministic, metered execution within compute unit budgets.

Related terms