-
-
Notifications
You must be signed in to change notification settings - Fork 0
Kernel Package v0
grysz edited this page Jun 5, 2026
·
1 revision
kaspascript kernel package <contract.ks> emits one JSON object combining the
compiler artifact with KaspaScript kernel metadata.
{
"schema_version": "kaspascript.kernel.package.v0",
"package_target": "verified-tn12",
"source_snapshots": [],
"artifact": {},
"bytecode_hex": "...",
"bytecode_asm": "...",
"kernel": {},
"fee_estimate": {}
}The kernel object includes:
schema_versionblueprintreadinesscapabilitieswallet_previewsindexer_schemafee_policy
Readiness is serialized as lowercase v0 labels:
verifiedpreviewblocked
future-mainnet remains blocked until mainnet activation evidence exists for
the required features.
The package currently pins Rusty Kaspa source snapshots for:
v1.3.0-toc.5tn10-toc3
These are evidence metadata, not a replacement for node or consensus validation.
The repo golden-tests kernel package output for:
tests/contracts/escrow.kstests/contracts/vault.ks
Snapshots live in:
tests/golden/escrow.kernel.jsontests/golden/vault.kernel.json
Full schema reference:
https://github.com/gryszzz/Kaspa-Script/blob/main/docs/KERNEL_PACKAGE_SCHEMA.md