Skip to content
grysz edited this page Jun 5, 2026 · 2 revisions

KaspaScript Wiki

KaspaScript is a Rust compiler workspace and Kaspa-native programmability kernel for deterministic contract artifacts.

The project is focused on honest, source-gated Kaspa contract tooling: source becomes typed IR, IR becomes deterministic Kaspa txscript bytes, and the kernel package adds wallet, indexer, fee, capability, and readiness metadata.

Start Here

Current Project Shape

KaspaScript currently provides:

  • verified V1 contract compilation for the TN12 target
  • target gates for verified-tn12, tn10-toccata, toccata-preview, and future-mainnet
  • deterministic artifact JSON with bytecode, source hash, target, KIP requirements, warnings, contracts, and spend paths
  • kaspascript kernel package <contract.ks> for bytecode plus kernel metadata
  • kernel package v0 golden snapshots for escrow.ks and vault.ks
  • capability profiles for wallets, SDKs, indexers, and agents
  • wallet previews, covenant lineage indexer schema, fee estimates, source snapshots, and readiness reports

Important Boundary

KaspaScript is smart-contract-like and Kaspa-shaped, but it is not an Ethereum-style account VM. The kernel models contracts as UTXO state machines: state is consumed, a spend transition is validated, and successor outputs can preserve lineage.

Mainnet activation is not claimed. Future mainnet support remains blocked until primary sources verify the final activation release, schedule, crate/tag compatibility, wallet/indexer support posture, and fee behavior.

Clone this wiki locally