-
-
Notifications
You must be signed in to change notification settings - Fork 0
CLI Quickstart
grysz edited this page Jun 5, 2026
·
1 revision
Run from the repository root.
cargo fmt --check
cargo test --workspace
cargo clippy --workspace --all-targets -- -D warningscargo run -p kaspascript-cli -- compile tests/contracts/escrow.ksThis writes:
tests/contracts/escrow.artifact.json
cargo run -p kaspascript-cli -- inspect tests/contracts/escrow.kscargo run -p kaspascript-cli -- verify tests/contracts/escrow.artifact.jsoncargo run -p kaspascript-cli -- kernel package tests/contracts/escrow.ks \
--target verified-tn12 \
--output /tmp/escrow.kernel.json \
--compute-grams 1000 \
--tx-bytes 400The package includes:
schema_versionpackage_target- source snapshots
- compiler artifact summary
- bytecode hex
- bytecode ASM
- kernel blueprint
- capability profile
- wallet previews
- indexer schema
- readiness report
- fee estimate
verified-tn12tn10-toccatatoccata-previewfuture-mainnet
Use verified-tn12 for the verified V1 subset. Use preview targets only when
you want explicit gated warnings for upgrade research.